HSL(57, 54%, 47%)
Yellow — Yellow color
Adjust Color
Color Information
Color Name
Yellow
Color Family
Yellow
Warm / Cool
🔴 Warm
Temperature
2700K
CSS Class
bg-[hsl(57,54%,47%)]
Color Conversions
| Format | Value | CSS Usage | |
|---|---|---|---|
| HSL | hsl(57, 54%, 47%) | color: hsl(57, 54%, 47%) | |
| HEX | #B9B237 | color: #B9B237 | |
| RGB | rgb(185, 178, 55) | color: rgb(185, 178, 55) | |
| CMYK | cmyk(0%, 4%, 70%, 27%) | — | |
| HSV | hsv(57, 70%, 73%) | — | |
| HWB | hwb(57 22% 27%) | color: hwb(57 22% 27%) | |
| OKLCH | oklch(0.7474 0.1399 106.08) | color: oklch(0.7474 0.1399 106.08) | |
| Lab | lab(71.17 -11.9 60.43) | color: lab(71.17 -11.9 60.43) | |
| LCH | lch(71.17 61.59 101.14) | color: lch(71.17 61.59 101.14) |
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)
#B6B655 — rgb(182, 182, 85)
Deuteranopia (Green-blind)
#B6B75C — rgb(182, 183, 92)
Tritanopia (Blue-blind)
#B96C71 — rgb(185, 108, 113)
Tints & Shades
CSS Code Snippets
background
background-color: hsl(57, 54%, 47%);
text
color: hsl(57, 54%, 47%);
border
border: 2px solid hsl(57, 54%, 47%);
gradient light
background: linear-gradient(to right, hsl(57, 54%, 67%), hsl(57, 54%, 47%));
gradient dark
background: linear-gradient(to right, hsl(57, 54%, 47%), hsl(57, 54%, 27%))
hex
background-color: #B9B237;
tailwind
bg-[hsl(57,54%,47%)]
box shadow
box-shadow: 0 4px 6px -1px hsl(57, 54%, 47%, 0.4);
css variable
--color-primary: hsl(57, 54%, 47%);
Related Colors
Use Cases for Yellow
Frequently Asked Questions
What are all the color codes for HSL(57, 54%, 47%)?
HEX: #B9B237 | RGB: rgb(185, 178, 55) | CMYK: 0%, 4%, 70%, 27% | HSV: 57°, 70%, 73%. Copy any format from the conversion table above.
What colors go well with #B9B237?
The complementary color is HSL(237, 54%, 47%). For a triadic harmony, use hues 57°, 177°, and 297°. For analogous combinations, try hues 27° and 87°. See the Color Harmony section above for complete palettes with previews.
How do I use HSL(57, 54%, 47%) in CSS?
As HSL: color: hsl(57, 54%, 47%); — As HEX: color: #B9B237; — As RGB: color: rgb(185, 178, 55); — Tailwind CSS: bg-[hsl(57,54%,47%)] — CSS variable: --color-primary: hsl(57, 54%, 47%);