HSL(61, 30%, 70%)
Yellow — Yellow color
Adjust Color
Color Information
Color Name
Yellow
Color Family
Yellow
Warm / Cool
🔵 Cool
Temperature
3500K
CSS Class
bg-[hsl(61,30%,70%)]
Color Conversions
| Format | Value | CSS Usage | |
|---|---|---|---|
| HSL | hsl(61, 30%, 70%) | color: hsl(61, 30%, 70%) | |
| HEX | #C9C99C | color: #C9C99C | |
| RGB | rgb(201, 201, 156) | color: rgb(201, 201, 156) | |
| CMYK | cmyk(0%, 0%, 22%, 21%) | — | |
| HSV | hsv(60, 22%, 79%) | — | |
| HWB | hwb(60 62% 21%) | color: hwb(60 62% 21%) | |
| OKLCH | oklch(0.8245 0.0601 107.65) | color: oklch(0.8245 0.0601 107.65) | |
| Lab | lab(79.95 -7.34 22.57) | color: lab(79.95 -7.34 22.57) | |
| LCH | lch(79.95 23.73 108.02) | color: lch(79.95 23.73 108.02) |
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)
#C9C9A7 — rgb(201, 201, 167)
Deuteranopia (Green-blind)
#C9C9AA — rgb(201, 201, 170)
Tritanopia (Blue-blind)
#C9AFB1 — rgb(201, 175, 177)
Tints & Shades
CSS Code Snippets
background
background-color: hsl(61, 30%, 70%);
text
color: hsl(61, 30%, 70%);
border
border: 2px solid hsl(61, 30%, 70%);
gradient light
background: linear-gradient(to right, hsl(61, 30%, 90%), hsl(61, 30%, 70%));
gradient dark
background: linear-gradient(to right, hsl(61, 30%, 70%), hsl(61, 30%, 50%))
hex
background-color: #C9C99C;
tailwind
bg-[hsl(61,30%,70%)]
box shadow
box-shadow: 0 4px 6px -1px hsl(61, 30%, 70%, 0.4);
css variable
--color-primary: hsl(61, 30%, 70%);
Related Colors
Use Cases for Yellow
Frequently Asked Questions
What are all the color codes for HSL(61, 30%, 70%)?
HEX: #C9C99C | RGB: rgb(201, 201, 156) | CMYK: 0%, 0%, 22%, 21% | HSV: 60°, 22%, 79%. Copy any format from the conversion table above.
What colors go well with #C9C99C?
The complementary color is HSL(241, 30%, 70%). For a triadic harmony, use hues 61°, 181°, and 301°. For analogous combinations, try hues 31° and 91°. See the Color Harmony section above for complete palettes with previews.
How do I use HSL(61, 30%, 70%) in CSS?
As HSL: color: hsl(61, 30%, 70%); — As HEX: color: #C9C99C; — As RGB: color: rgb(201, 201, 156); — Tailwind CSS: bg-[hsl(61,30%,70%)] — CSS variable: --color-primary: hsl(61, 30%, 70%);