HSL(54, 70%, 23%)
Yellow — Yellow color
Adjust Color
Color Information
Color Name
Yellow
Color Family
Yellow
Warm / Cool
🔴 Warm
Temperature
2700K
CSS Class
bg-[hsl(54,70%,23%)]
Color Conversions
| Format | Value | CSS Usage | |
|---|---|---|---|
| HSL | hsl(54, 70%, 23%) | color: hsl(54, 70%, 23%) | |
| HEX | #645B12 | color: #645B12 | |
| RGB | rgb(100, 91, 18) | color: rgb(100, 91, 18) | |
| CMYK | cmyk(0%, 9%, 82%, 61%) | — | |
| HSV | hsv(53, 82%, 39%) | — | |
| HWB | hwb(53 7% 61%) | color: hwb(53 7% 61%) | |
| OKLCH | oklch(0.466 0.0896 101.94) | color: oklch(0.466 0.0896 101.94) | |
| Lab | lab(38.26 -5.1 40.19) | color: lab(38.26 -5.1 40.19) | |
| LCH | lch(38.26 40.51 97.23) | color: lch(38.26 40.51 97.23) |
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)
#606024 — rgb(96, 96, 36)
Deuteranopia (Green-blind)
#616128 — rgb(97, 97, 40)
Tritanopia (Blue-blind)
#643235 — rgb(100, 50, 53)
Tints & Shades
CSS Code Snippets
background
background-color: hsl(54, 70%, 23%);
text
color: hsl(54, 70%, 23%);
border
border: 2px solid hsl(54, 70%, 23%);
gradient light
background: linear-gradient(to right, hsl(54, 70%, 43%), hsl(54, 70%, 23%));
gradient dark
background: linear-gradient(to right, hsl(54, 70%, 23%), hsl(54, 70%, 3%))
hex
background-color: #645B12;
tailwind
bg-[hsl(54,70%,23%)]
box shadow
box-shadow: 0 4px 6px -1px hsl(54, 70%, 23%, 0.4);
css variable
--color-primary: hsl(54, 70%, 23%);
Related Colors
Use Cases for Yellow
Frequently Asked Questions
What are all the color codes for HSL(54, 70%, 23%)?
HEX: #645B12 | RGB: rgb(100, 91, 18) | CMYK: 0%, 9%, 82%, 61% | HSV: 53°, 82%, 39%. Copy any format from the conversion table above.
What colors go well with #645B12?
The complementary color is HSL(234, 70%, 23%). For a triadic harmony, use hues 54°, 174°, and 294°. For analogous combinations, try hues 24° and 84°. See the Color Harmony section above for complete palettes with previews.
How do I use HSL(54, 70%, 23%) in CSS?
As HSL: color: hsl(54, 70%, 23%); — As HEX: color: #645B12; — As RGB: color: rgb(100, 91, 18); — Tailwind CSS: bg-[hsl(54,70%,23%)] — CSS variable: --color-primary: hsl(54, 70%, 23%);