HSL(61, 27%, 70%)
Yellow — Yellow color
Adjust Color
Color Information
Color Name
Yellow
Color Family
Yellow
Warm / Cool
🔵 Cool
Temperature
3500K
CSS Class
bg-[hsl(61,27%,70%)]
Color Conversions
| Format | Value | CSS Usage | |
|---|---|---|---|
| HSL | hsl(61, 27%, 70%) | color: hsl(61, 27%, 70%) | |
| HEX | #C6C79E | color: #C6C79E | |
| RGB | rgb(198, 199, 158) | color: rgb(198, 199, 158) | |
| CMYK | cmyk(1%, 0%, 21%, 22%) | — | |
| HSV | hsv(61, 21%, 78%) | — | |
| HWB | hwb(61 62% 22%) | color: hwb(61 62% 22%) | |
| OKLCH | oklch(0.8184 0.0551 108.71) | color: oklch(0.8184 0.0551 108.71) | |
| Lab | lab(79.23 -7.14 20.48) | color: lab(79.23 -7.14 20.48) | |
| LCH | lch(79.23 21.69 109.22) | color: lch(79.23 21.69 109.22) |
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)
#C6C6A8 — rgb(198, 198, 168)
Deuteranopia (Green-blind)
#C6C6AA — rgb(198, 198, 170)
Tritanopia (Blue-blind)
#C6B0B1 — rgb(198, 176, 177)
Tints & Shades
CSS Code Snippets
background
background-color: hsl(61, 27%, 70%);
text
color: hsl(61, 27%, 70%);
border
border: 2px solid hsl(61, 27%, 70%);
gradient light
background: linear-gradient(to right, hsl(61, 27%, 90%), hsl(61, 27%, 70%));
gradient dark
background: linear-gradient(to right, hsl(61, 27%, 70%), hsl(61, 27%, 50%))
hex
background-color: #C6C79E;
tailwind
bg-[hsl(61,27%,70%)]
box shadow
box-shadow: 0 4px 6px -1px hsl(61, 27%, 70%, 0.4);
css variable
--color-primary: hsl(61, 27%, 70%);
Related Colors
Use Cases for Yellow
Frequently Asked Questions
What are all the color codes for HSL(61, 27%, 70%)?
HEX: #C6C79E | RGB: rgb(198, 199, 158) | CMYK: 1%, 0%, 21%, 22% | HSV: 61°, 21%, 78%. Copy any format from the conversion table above.
What colors go well with #C6C79E?
The complementary color is HSL(241, 27%, 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, 27%, 70%) in CSS?
As HSL: color: hsl(61, 27%, 70%); — As HEX: color: #C6C79E; — As RGB: color: rgb(198, 199, 158); — Tailwind CSS: bg-[hsl(61,27%,70%)] — CSS variable: --color-primary: hsl(61, 27%, 70%);