HSL(55, 40%, 67%)
Yellow — Yellow color
Adjust Color
Color Information
Color Name
Yellow
Color Family
Yellow
Warm / Cool
🔴 Warm
Temperature
2700K
CSS Class
bg-[hsl(55,40%,67%)]
Color Conversions
| Format | Value | CSS Usage | |
|---|---|---|---|
| HSL | hsl(55, 40%, 67%) | color: hsl(55, 40%, 67%) | |
| HEX | #CDC789 | color: #CDC789 | |
| RGB | rgb(205, 199, 137) | color: rgb(205, 199, 137) | |
| CMYK | cmyk(0%, 3%, 33%, 20%) | — | |
| HSV | hsv(55, 33%, 80%) | — | |
| HWB | hwb(55 54% 20%) | color: hwb(55 54% 20%) | |
| OKLCH | oklch(0.8199 0.0813 103.33) | color: oklch(0.8199 0.0813 103.33) | |
| Lab | lab(79.4 -7.29 31.85) | color: lab(79.4 -7.29 31.85) | |
| LCH | lch(79.4 32.67 102.89) | color: lch(79.4 32.67 102.89) |
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)
#CACA98 — rgb(202, 202, 152)
Deuteranopia (Green-blind)
#CBCB9C — rgb(203, 203, 156)
Tritanopia (Blue-blind)
#CDA4A6 — rgb(205, 164, 166)
Tints & Shades
CSS Code Snippets
background
background-color: hsl(55, 40%, 67%);
text
color: hsl(55, 40%, 67%);
border
border: 2px solid hsl(55, 40%, 67%);
gradient light
background: linear-gradient(to right, hsl(55, 40%, 87%), hsl(55, 40%, 67%));
gradient dark
background: linear-gradient(to right, hsl(55, 40%, 67%), hsl(55, 40%, 47%))
hex
background-color: #CDC789;
tailwind
bg-[hsl(55,40%,67%)]
box shadow
box-shadow: 0 4px 6px -1px hsl(55, 40%, 67%, 0.4);
css variable
--color-primary: hsl(55, 40%, 67%);
Related Colors
Use Cases for Yellow
Frequently Asked Questions
What are all the color codes for HSL(55, 40%, 67%)?
HEX: #CDC789 | RGB: rgb(205, 199, 137) | CMYK: 0%, 3%, 33%, 20% | HSV: 55°, 33%, 80%. Copy any format from the conversion table above.
What colors go well with #CDC789?
The complementary color is HSL(235, 40%, 67%). 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%, 67%) in CSS?
As HSL: color: hsl(55, 40%, 67%); — As HEX: color: #CDC789; — As RGB: color: rgb(205, 199, 137); — Tailwind CSS: bg-[hsl(55,40%,67%)] — CSS variable: --color-primary: hsl(55, 40%, 67%);