HSL(57, 86%, 38%)
Yellow — Yellow color
Adjust Color
Color Information
Color Name
Yellow
Color Family
Yellow
Warm / Cool
🔴 Warm
Temperature
2700K
CSS Class
bg-[hsl(57,86%,38%)]
Color Conversions
| Format | Value | CSS Usage | |
|---|---|---|---|
| HSL | hsl(57, 86%, 38%) | color: hsl(57, 86%, 38%) | |
| HEX | #B4AC0E | color: #B4AC0E | |
| RGB | rgb(180, 172, 14) | color: rgb(180, 172, 14) | |
| CMYK | cmyk(0%, 4%, 92%, 29%) | — | |
| HSV | hsv(57, 92%, 71%) | — | |
| HWB | hwb(57 6% 29%) | color: hwb(57 6% 29%) | |
| OKLCH | oklch(0.7279 0.1529 106.22) | color: oklch(0.7279 0.1529 106.22) | |
| Lab | lab(68.93 -12.33 69.41) | color: lab(68.93 -12.33 69.41) | |
| LCH | lch(68.93 70.5 100.07) | color: lch(68.93 70.5 100.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)
#B1B034 — rgb(177, 176, 52)
Deuteranopia (Green-blind)
#B1B23D — rgb(177, 178, 61)
Tritanopia (Blue-blind)
#B45259 — rgb(180, 82, 89)
Tints & Shades
CSS Code Snippets
background
background-color: hsl(57, 86%, 38%);
text
color: hsl(57, 86%, 38%);
border
border: 2px solid hsl(57, 86%, 38%);
gradient light
background: linear-gradient(to right, hsl(57, 86%, 58%), hsl(57, 86%, 38%));
gradient dark
background: linear-gradient(to right, hsl(57, 86%, 38%), hsl(57, 86%, 18%))
hex
background-color: #B4AC0E;
tailwind
bg-[hsl(57,86%,38%)]
box shadow
box-shadow: 0 4px 6px -1px hsl(57, 86%, 38%, 0.4);
css variable
--color-primary: hsl(57, 86%, 38%);
Related Colors
Use Cases for Yellow
Frequently Asked Questions
What are all the color codes for HSL(57, 86%, 38%)?
HEX: #B4AC0E | RGB: rgb(180, 172, 14) | CMYK: 0%, 4%, 92%, 29% | HSV: 57°, 92%, 71%. Copy any format from the conversion table above.
What colors go well with #B4AC0E?
The complementary color is HSL(237, 86%, 38%). 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, 86%, 38%) in CSS?
As HSL: color: hsl(57, 86%, 38%); — As HEX: color: #B4AC0E; — As RGB: color: rgb(180, 172, 14); — Tailwind CSS: bg-[hsl(57,86%,38%)] — CSS variable: --color-primary: hsl(57, 86%, 38%);