HSL(55, 40%, 37%)
Yellow — Yellow color
Adjust Color
Color Information
Color Name
Yellow
Color Family
Yellow
Warm / Cool
🔴 Warm
Temperature
2700K
CSS Class
bg-[hsl(55,40%,37%)]
Color Conversions
| Format | Value | CSS Usage | |
|---|---|---|---|
| HSL | hsl(55, 40%, 37%) | color: hsl(55, 40%, 37%) | |
| HEX | #847E39 | color: #847E39 | |
| RGB | rgb(132, 126, 57) | color: rgb(132, 126, 57) | |
| CMYK | cmyk(0%, 5%, 57%, 48%) | — | |
| HSV | hsv(55, 57%, 52%) | — | |
| HWB | hwb(55 22% 48%) | color: hwb(55 22% 48%) | |
| OKLCH | oklch(0.5834 0.0909 104.3) | color: oklch(0.5834 0.0909 104.3) | |
| Lab | lab(51.98 -7.39 37.77) | color: lab(51.98 -7.39 37.77) | |
| LCH | lch(51.98 38.49 101.07) | color: lch(51.98 38.49 101.07) |
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)
#81814A — rgb(129, 129, 74)
Deuteranopia (Green-blind)
#82824E — rgb(130, 130, 78)
Tritanopia (Blue-blind)
#84575A — rgb(132, 87, 90)
Tints & Shades
CSS Code Snippets
background
background-color: hsl(55, 40%, 37%);
text
color: hsl(55, 40%, 37%);
border
border: 2px solid hsl(55, 40%, 37%);
gradient light
background: linear-gradient(to right, hsl(55, 40%, 57%), hsl(55, 40%, 37%));
gradient dark
background: linear-gradient(to right, hsl(55, 40%, 37%), hsl(55, 40%, 17%))
hex
background-color: #847E39;
tailwind
bg-[hsl(55,40%,37%)]
box shadow
box-shadow: 0 4px 6px -1px hsl(55, 40%, 37%, 0.4);
css variable
--color-primary: hsl(55, 40%, 37%);
Related Colors
Use Cases for Yellow
Frequently Asked Questions
What are all the color codes for HSL(55, 40%, 37%)?
HEX: #847E39 | RGB: rgb(132, 126, 57) | CMYK: 0%, 5%, 57%, 48% | HSV: 55°, 57%, 52%. Copy any format from the conversion table above.
What colors go well with #847E39?
The complementary color is HSL(235, 40%, 37%). For a triadic harmony, use hues 55°, 175°, and 295°. For analogous combinations, try hues 25° and 85°. See the Color Harmony section above for complete palettes with previews.
How do I use HSL(55, 40%, 37%) in CSS?
As HSL: color: hsl(55, 40%, 37%); — As HEX: color: #847E39; — As RGB: color: rgb(132, 126, 57); — Tailwind CSS: bg-[hsl(55,40%,37%)] — CSS variable: --color-primary: hsl(55, 40%, 37%);