HSL(46, 70%, 23%)
Yellow — Yellow color
Adjust Color
Color Information
Color Name
Yellow
Color Family
Yellow
Warm / Cool
🔴 Warm
Temperature
2700K
CSS Class
bg-[hsl(46,70%,23%)]
Color Conversions
| Format | Value | CSS Usage | |
|---|---|---|---|
| HSL | hsl(46, 70%, 23%) | color: hsl(46, 70%, 23%) | |
| HEX | #645112 | color: #645112 | |
| RGB | rgb(100, 81, 18) | color: rgb(100, 81, 18) | |
| CMYK | cmyk(0%, 19%, 82%, 61%) | — | |
| HSV | hsv(46, 82%, 39%) | — | |
| HWB | hwb(46 7% 61%) | color: hwb(46 7% 61%) | |
| OKLCH | oklch(0.4424 0.0818 91.14) | color: oklch(0.4424 0.0818 91.14) | |
| Lab | lab(35.28 0.87 37.44) | color: lab(35.28 0.87 37.44) | |
| LCH | lch(35.28 37.45 88.67) | color: lch(35.28 37.45 88.67) |
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)
#5C5C21 — rgb(92, 92, 33)
Deuteranopia (Green-blind)
#5D5E25 — rgb(93, 94, 37)
Tritanopia (Blue-blind)
#632D30 — rgb(99, 45, 48)
Tints & Shades
CSS Code Snippets
background
background-color: hsl(46, 70%, 23%);
text
color: hsl(46, 70%, 23%);
border
border: 2px solid hsl(46, 70%, 23%);
gradient light
background: linear-gradient(to right, hsl(46, 70%, 43%), hsl(46, 70%, 23%));
gradient dark
background: linear-gradient(to right, hsl(46, 70%, 23%), hsl(46, 70%, 3%))
hex
background-color: #645112;
tailwind
bg-[hsl(46,70%,23%)]
box shadow
box-shadow: 0 4px 6px -1px hsl(46, 70%, 23%, 0.4);
css variable
--color-primary: hsl(46, 70%, 23%);
Related Colors
Use Cases for Yellow
Frequently Asked Questions
What are all the color codes for HSL(46, 70%, 23%)?
HEX: #645112 | RGB: rgb(100, 81, 18) | CMYK: 0%, 19%, 82%, 61% | HSV: 46°, 82%, 39%. Copy any format from the conversion table above.
What colors go well with #645112?
The complementary color is HSL(226, 70%, 23%). For a triadic harmony, use hues 46°, 166°, and 286°. For analogous combinations, try hues 16° and 76°. See the Color Harmony section above for complete palettes with previews.
How do I use HSL(46, 70%, 23%) in CSS?
As HSL: color: hsl(46, 70%, 23%); — As HEX: color: #645112; — As RGB: color: rgb(100, 81, 18); — Tailwind CSS: bg-[hsl(46,70%,23%)] — CSS variable: --color-primary: hsl(46, 70%, 23%);