HSL(28, 40%, 54%)
Orange — Orange color
Adjust Color
Color Information
Color Name
Orange
Color Family
Orange
Warm / Cool
🔴 Warm
Temperature
2000K
CSS Class
bg-[hsl(28,40%,54%)]
Color Conversions
| Format | Value | CSS Usage | |
|---|---|---|---|
| HSL | hsl(28, 40%, 54%) | color: hsl(28, 40%, 54%) | |
| HEX | #B9875B | color: #B9875B | |
| RGB | rgb(185, 135, 91) | color: rgb(185, 135, 91) | |
| CMYK | cmyk(0%, 27%, 51%, 27%) | — | |
| HSV | hsv(28, 51%, 73%) | — | |
| HWB | hwb(28 36% 27%) | color: hwb(28 36% 27%) | |
| OKLCH | oklch(0.6625 0.0855 61.87) | color: oklch(0.6625 0.0855 61.87) | |
| Lab | lab(60.25 13.89 31.08) | color: lab(60.25 13.89 31.08) | |
| LCH | lch(60.25 34.04 65.92) | color: lch(60.25 34.04 65.92) |
Color Theory
Accessibility (WCAG)
White text on color
Black text on color
Colored text
Contrast Ratios
AA Normal (4.5:1)
AA Large (3:1)
AAA Normal (7:1)
Best text on this color: black
Color Blindness Simulation
Protanopia (Red-blind)
#A3A366 — rgb(163, 163, 102)
Deuteranopia (Green-blind)
#A6AA68 — rgb(166, 170, 104)
Tritanopia (Blue-blind)
#B76E70 — rgb(183, 110, 112)
Tints & Shades
CSS Code Snippets
background
background-color: hsl(28, 40%, 54%);
text
color: hsl(28, 40%, 54%);
border
border: 2px solid hsl(28, 40%, 54%);
gradient light
background: linear-gradient(to right, hsl(28, 40%, 74%), hsl(28, 40%, 54%));
gradient dark
background: linear-gradient(to right, hsl(28, 40%, 54%), hsl(28, 40%, 34%))
hex
background-color: #B9875B;
tailwind
bg-[hsl(28,40%,54%)]
box shadow
box-shadow: 0 4px 6px -1px hsl(28, 40%, 54%, 0.4);
css variable
--color-primary: hsl(28, 40%, 54%);
Related Colors
Use Cases for Orange
Frequently Asked Questions
What are all the color codes for HSL(28, 40%, 54%)?
HEX: #B9875B | RGB: rgb(185, 135, 91) | CMYK: 0%, 27%, 51%, 27% | HSV: 28°, 51%, 73%. Copy any format from the conversion table above.
What colors go well with #B9875B?
The complementary color is HSL(208, 40%, 54%). For a triadic harmony, use hues 28°, 148°, and 268°. For analogous combinations, try hues 358° and 58°. See the Color Harmony section above for complete palettes with previews.
How do I use HSL(28, 40%, 54%) in CSS?
As HSL: color: hsl(28, 40%, 54%); — As HEX: color: #B9875B; — As RGB: color: rgb(185, 135, 91); — Tailwind CSS: bg-[hsl(28,40%,54%)] — CSS variable: --color-primary: hsl(28, 40%, 54%);