HSL(27, 40%, 54%)
Orange — Orange color
Adjust Color
Color Information
Color Name
Orange
Color Family
Orange
Warm / Cool
🔴 Warm
Temperature
2000K
CSS Class
bg-[hsl(27,40%,54%)]
Color Conversions
| Format | Value | CSS Usage | |
|---|---|---|---|
| HSL | hsl(27, 40%, 54%) | color: hsl(27, 40%, 54%) | |
| HEX | #B9855B | color: #B9855B | |
| RGB | rgb(185, 133, 91) | color: rgb(185, 133, 91) | |
| CMYK | cmyk(0%, 28%, 51%, 27%) | — | |
| HSV | hsv(27, 51%, 73%) | — | |
| HWB | hwb(27 36% 27%) | color: hwb(27 36% 27%) | |
| OKLCH | oklch(0.6586 0.0859 59.46) | color: oklch(0.6586 0.0859 59.46) | |
| Lab | lab(59.75 15 30.44) | color: lab(59.75 15 30.44) | |
| LCH | lch(59.75 33.94 63.77) | color: lch(59.75 33.94 63.77) |
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)
#A2A265 — rgb(162, 162, 101)
Deuteranopia (Green-blind)
#A6A968 — rgb(166, 169, 104)
Tritanopia (Blue-blind)
#B66D6F — rgb(182, 109, 111)
Tints & Shades
CSS Code Snippets
background
background-color: hsl(27, 40%, 54%);
text
color: hsl(27, 40%, 54%);
border
border: 2px solid hsl(27, 40%, 54%);
gradient light
background: linear-gradient(to right, hsl(27, 40%, 74%), hsl(27, 40%, 54%));
gradient dark
background: linear-gradient(to right, hsl(27, 40%, 54%), hsl(27, 40%, 34%))
hex
background-color: #B9855B;
tailwind
bg-[hsl(27,40%,54%)]
box shadow
box-shadow: 0 4px 6px -1px hsl(27, 40%, 54%, 0.4);
css variable
--color-primary: hsl(27, 40%, 54%);
Related Colors
Use Cases for Orange
Frequently Asked Questions
What are all the color codes for HSL(27, 40%, 54%)?
HEX: #B9855B | RGB: rgb(185, 133, 91) | CMYK: 0%, 28%, 51%, 27% | HSV: 27°, 51%, 73%. Copy any format from the conversion table above.
What colors go well with #B9855B?
The complementary color is HSL(207, 40%, 54%). For a triadic harmony, use hues 27°, 147°, and 267°. For analogous combinations, try hues 357° and 57°. See the Color Harmony section above for complete palettes with previews.
How do I use HSL(27, 40%, 54%) in CSS?
As HSL: color: hsl(27, 40%, 54%); — As HEX: color: #B9855B; — As RGB: color: rgb(185, 133, 91); — Tailwind CSS: bg-[hsl(27,40%,54%)] — CSS variable: --color-primary: hsl(27, 40%, 54%);