HSL(51, 90%, 23%)
Yellow — Yellow color
Adjust Color
Color Information
Color Name
Yellow
Color Family
Yellow
Warm / Cool
🔴 Warm
Temperature
2700K
CSS Class
bg-[hsl(51,90%,23%)]
Color Conversions
| Format | Value | CSS Usage | |
|---|---|---|---|
| HSL | hsl(51, 90%, 23%) | color: hsl(51, 90%, 23%) | |
| HEX | #6F6006 | color: #6F6006 | |
| RGB | rgb(111, 96, 6) | color: rgb(111, 96, 6) | |
| CMYK | cmyk(0%, 14%, 95%, 56%) | — | |
| HSV | hsv(51, 95%, 44%) | — | |
| HWB | hwb(51 2% 56%) | color: hwb(51 2% 56%) | |
| OKLCH | oklch(0.4889 0.0989 98.24) | color: oklch(0.4889 0.0989 98.24) | |
| Lab | lab(40.83 -2.99 46.34) | color: lab(40.83 -2.99 46.34) | |
| LCH | lch(40.83 46.44 93.69) | color: lch(40.83 46.44 93.69) |
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: white
Color Blindness Simulation
Protanopia (Red-blind)
#69681C — rgb(105, 104, 28)
Deuteranopia (Green-blind)
#696B21 — rgb(105, 107, 33)
Tritanopia (Blue-blind)
#6E2D31 — rgb(110, 45, 49)
Tints & Shades
CSS Code Snippets
background
background-color: hsl(51, 90%, 23%);
text
color: hsl(51, 90%, 23%);
border
border: 2px solid hsl(51, 90%, 23%);
gradient light
background: linear-gradient(to right, hsl(51, 90%, 43%), hsl(51, 90%, 23%));
gradient dark
background: linear-gradient(to right, hsl(51, 90%, 23%), hsl(51, 90%, 3%))
hex
background-color: #6F6006;
tailwind
bg-[hsl(51,90%,23%)]
box shadow
box-shadow: 0 4px 6px -1px hsl(51, 90%, 23%, 0.4);
css variable
--color-primary: hsl(51, 90%, 23%);
Related Colors
Use Cases for Yellow
Frequently Asked Questions
What are all the color codes for HSL(51, 90%, 23%)?
HEX: #6F6006 | RGB: rgb(111, 96, 6) | CMYK: 0%, 14%, 95%, 56% | HSV: 51°, 95%, 44%. Copy any format from the conversion table above.
What colors go well with #6F6006?
The complementary color is HSL(231, 90%, 23%). 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, 90%, 23%) in CSS?
As HSL: color: hsl(51, 90%, 23%); — As HEX: color: #6F6006; — As RGB: color: rgb(111, 96, 6); — Tailwind CSS: bg-[hsl(51,90%,23%)] — CSS variable: --color-primary: hsl(51, 90%, 23%);