HSL(27, 40%, 49%)
Orange — Orange color
Adjust Color
Color Information
Color Name
Orange
Color Family
Orange
Warm / Cool
🔴 Warm
Temperature
2000K
CSS Class
bg-[hsl(27,40%,49%)]
Color Conversions
| Format | Value | CSS Usage | |
|---|---|---|---|
| HSL | hsl(27, 40%, 49%) | color: hsl(27, 40%, 49%) | |
| HEX | #AF784B | color: #AF784B | |
| RGB | rgb(175, 120, 75) | color: rgb(175, 120, 75) | |
| CMYK | cmyk(0%, 31%, 57%, 31%) | — | |
| HSV | hsv(27, 57%, 69%) | — | |
| HWB | hwb(27 30% 31%) | color: hwb(27 30% 31%) | |
| OKLCH | oklch(0.6194 0.0919 59.23) | color: oklch(0.6194 0.0919 59.23) | |
| Lab | lab(55.13 16.59 33.15) | color: lab(55.13 16.59 33.15) | |
| LCH | lch(55.13 37.07 63.41) | color: lch(55.13 37.07 63.41) |
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)
#979756 — rgb(151, 151, 86)
Deuteranopia (Green-blind)
#9A9F59 — rgb(154, 159, 89)
Tritanopia (Blue-blind)
#AC5E60 — rgb(172, 94, 96)
Tints & Shades
CSS Code Snippets
background
background-color: hsl(27, 40%, 49%);
text
color: hsl(27, 40%, 49%);
border
border: 2px solid hsl(27, 40%, 49%);
gradient light
background: linear-gradient(to right, hsl(27, 40%, 69%), hsl(27, 40%, 49%));
gradient dark
background: linear-gradient(to right, hsl(27, 40%, 49%), hsl(27, 40%, 29%))
hex
background-color: #AF784B;
tailwind
bg-[hsl(27,40%,49%)]
box shadow
box-shadow: 0 4px 6px -1px hsl(27, 40%, 49%, 0.4);
css variable
--color-primary: hsl(27, 40%, 49%);
Related Colors
Use Cases for Orange
Frequently Asked Questions
What are all the color codes for HSL(27, 40%, 49%)?
HEX: #AF784B | RGB: rgb(175, 120, 75) | CMYK: 0%, 31%, 57%, 31% | HSV: 27°, 57%, 69%. Copy any format from the conversion table above.
What colors go well with #AF784B?
The complementary color is HSL(207, 40%, 49%). 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%, 49%) in CSS?
As HSL: color: hsl(27, 40%, 49%); — As HEX: color: #AF784B; — As RGB: color: rgb(175, 120, 75); — Tailwind CSS: bg-[hsl(27,40%,49%)] — CSS variable: --color-primary: hsl(27, 40%, 49%);