HSL(51, 44%, 62%)
Yellow — Yellow color
Adjust Color
Color Information
Color Name
Yellow
Color Family
Yellow
Warm / Cool
🔴 Warm
Temperature
2700K
CSS Class
bg-[hsl(51,44%,62%)]
Color Conversions
| Format | Value | CSS Usage | |
|---|---|---|---|
| HSL | hsl(51, 44%, 62%) | color: hsl(51, 44%, 62%) | |
| HEX | #C9BC73 | color: #C9BC73 | |
| RGB | rgb(201, 188, 115) | color: rgb(201, 188, 115) | |
| CMYK | cmyk(0%, 6%, 43%, 21%) | — | |
| HSV | hsv(51, 43%, 79%) | — | |
| HWB | hwb(51 45% 21%) | color: hwb(51 45% 21%) | |
| OKLCH | oklch(0.7897 0.0948 99.41) | color: oklch(0.7897 0.0948 99.41) | |
| Lab | lab(75.84 -5.67 38.52) | color: lab(75.84 -5.67 38.52) | |
| LCH | lch(75.84 38.94 98.37) | color: lch(75.84 38.94 98.37) |
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)
#C3C385 — rgb(195, 195, 133)
Deuteranopia (Green-blind)
#C4C589 — rgb(196, 197, 137)
Tritanopia (Blue-blind)
#C89396 — rgb(200, 147, 150)
Tints & Shades
CSS Code Snippets
background
background-color: hsl(51, 44%, 62%);
text
color: hsl(51, 44%, 62%);
border
border: 2px solid hsl(51, 44%, 62%);
gradient light
background: linear-gradient(to right, hsl(51, 44%, 82%), hsl(51, 44%, 62%));
gradient dark
background: linear-gradient(to right, hsl(51, 44%, 62%), hsl(51, 44%, 42%))
hex
background-color: #C9BC73;
tailwind
bg-[hsl(51,44%,62%)]
box shadow
box-shadow: 0 4px 6px -1px hsl(51, 44%, 62%, 0.4);
css variable
--color-primary: hsl(51, 44%, 62%);
Related Colors
Use Cases for Yellow
Frequently Asked Questions
What are all the color codes for HSL(51, 44%, 62%)?
HEX: #C9BC73 | RGB: rgb(201, 188, 115) | CMYK: 0%, 6%, 43%, 21% | HSV: 51°, 43%, 79%. Copy any format from the conversion table above.
What colors go well with #C9BC73?
The complementary color is HSL(231, 44%, 62%). For a triadic harmony, use hues 51°, 171°, and 291°. For analogous combinations, try hues 21° and 81°. See the Color Harmony section above for complete palettes with previews.
How do I use HSL(51, 44%, 62%) in CSS?
As HSL: color: hsl(51, 44%, 62%); — As HEX: color: #C9BC73; — As RGB: color: rgb(201, 188, 115); — Tailwind CSS: bg-[hsl(51,44%,62%)] — CSS variable: --color-primary: hsl(51, 44%, 62%);