HSL(57, 30%, 71%)
Yellow — Yellow color
Adjust Color
Color Information
Color Name
Yellow
Color Family
Yellow
Warm / Cool
🔴 Warm
Temperature
2700K
CSS Class
bg-[hsl(57,30%,71%)]
Color Conversions
| Format | Value | CSS Usage | |
|---|---|---|---|
| HSL | hsl(57, 30%, 71%) | color: hsl(57, 30%, 71%) | |
| HEX | #CBC99F | color: #CBC99F | |
| RGB | rgb(203, 201, 159) | color: rgb(203, 201, 159) | |
| CMYK | cmyk(0%, 1%, 22%, 20%) | — | |
| HSV | hsv(57, 22%, 80%) | — | |
| HWB | hwb(57 62% 20%) | color: hwb(57 62% 20%) | |
| OKLCH | oklch(0.8268 0.0562 105.3) | color: oklch(0.8268 0.0562 105.3) | |
| Lab | lab(80.16 -6.16 21.3) | color: lab(80.16 -6.16 21.3) | |
| LCH | lch(80.16 22.17 106.13) | color: lch(80.16 22.17 106.13) |
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)
#CACAA9 — rgb(202, 202, 169)
Deuteranopia (Green-blind)
#CACAAC — rgb(202, 202, 172)
Tritanopia (Blue-blind)
#CBB1B3 — rgb(203, 177, 179)
Tints & Shades
CSS Code Snippets
background
background-color: hsl(57, 30%, 71%);
text
color: hsl(57, 30%, 71%);
border
border: 2px solid hsl(57, 30%, 71%);
gradient light
background: linear-gradient(to right, hsl(57, 30%, 91%), hsl(57, 30%, 71%));
gradient dark
background: linear-gradient(to right, hsl(57, 30%, 71%), hsl(57, 30%, 51%))
hex
background-color: #CBC99F;
tailwind
bg-[hsl(57,30%,71%)]
box shadow
box-shadow: 0 4px 6px -1px hsl(57, 30%, 71%, 0.4);
css variable
--color-primary: hsl(57, 30%, 71%);
Related Colors
Use Cases for Yellow
Frequently Asked Questions
What are all the color codes for HSL(57, 30%, 71%)?
HEX: #CBC99F | RGB: rgb(203, 201, 159) | CMYK: 0%, 1%, 22%, 20% | HSV: 57°, 22%, 80%. Copy any format from the conversion table above.
What colors go well with #CBC99F?
The complementary color is HSL(237, 30%, 71%). 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, 30%, 71%) in CSS?
As HSL: color: hsl(57, 30%, 71%); — As HEX: color: #CBC99F; — As RGB: color: rgb(203, 201, 159); — Tailwind CSS: bg-[hsl(57,30%,71%)] — CSS variable: --color-primary: hsl(57, 30%, 71%);