HSL(52, 34%, 67%)
Yellow — Yellow color
Adjust Color
Color Information
Color Name
Yellow
Color Family
Yellow
Warm / Cool
🔴 Warm
Temperature
2700K
CSS Class
bg-[hsl(52,34%,67%)]
Color Conversions
| Format | Value | CSS Usage | |
|---|---|---|---|
| HSL | hsl(52, 34%, 67%) | color: hsl(52, 34%, 67%) | |
| HEX | #C7C08E | color: #C7C08E | |
| RGB | rgb(199, 192, 142) | color: rgb(199, 192, 142) | |
| CMYK | cmyk(0%, 4%, 29%, 22%) | — | |
| HSV | hsv(53, 29%, 78%) | — | |
| HWB | hwb(53 55% 22%) | color: hwb(53 55% 22%) | |
| OKLCH | oklch(0.8012 0.067 101.05) | color: oklch(0.8012 0.067 101.05) | |
| Lab | lab(77.16 -5.36 26.15) | color: lab(77.16 -5.36 26.15) | |
| LCH | lch(77.16 26.69 101.58) | color: lch(77.16 26.69 101.58) |
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)
#C4C49A — rgb(196, 196, 154)
Deuteranopia (Green-blind)
#C4C59D — rgb(196, 197, 157)
Tritanopia (Blue-blind)
#C7A4A6 — rgb(199, 164, 166)
Tints & Shades
CSS Code Snippets
background
background-color: hsl(52, 34%, 67%);
text
color: hsl(52, 34%, 67%);
border
border: 2px solid hsl(52, 34%, 67%);
gradient light
background: linear-gradient(to right, hsl(52, 34%, 87%), hsl(52, 34%, 67%));
gradient dark
background: linear-gradient(to right, hsl(52, 34%, 67%), hsl(52, 34%, 47%))
hex
background-color: #C7C08E;
tailwind
bg-[hsl(52,34%,67%)]
box shadow
box-shadow: 0 4px 6px -1px hsl(52, 34%, 67%, 0.4);
css variable
--color-primary: hsl(52, 34%, 67%);
Related Colors
Use Cases for Yellow
Frequently Asked Questions
What are all the color codes for HSL(52, 34%, 67%)?
HEX: #C7C08E | RGB: rgb(199, 192, 142) | CMYK: 0%, 4%, 29%, 22% | HSV: 53°, 29%, 78%. Copy any format from the conversion table above.
What colors go well with #C7C08E?
The complementary color is HSL(232, 34%, 67%). For a triadic harmony, use hues 52°, 172°, and 292°. For analogous combinations, try hues 22° and 82°. See the Color Harmony section above for complete palettes with previews.
How do I use HSL(52, 34%, 67%) in CSS?
As HSL: color: hsl(52, 34%, 67%); — As HEX: color: #C7C08E; — As RGB: color: rgb(199, 192, 142); — Tailwind CSS: bg-[hsl(52,34%,67%)] — CSS variable: --color-primary: hsl(52, 34%, 67%);