HSL(54, 75%, 23%)
Yellow — Yellow color
Adjust Color
Color Information
Color Name
Yellow
Color Family
Yellow
Warm / Cool
🔴 Warm
Temperature
2700K
CSS Class
bg-[hsl(54,75%,23%)]
Color Conversions
| Format | Value | CSS Usage | |
|---|---|---|---|
| HSL | hsl(54, 75%, 23%) | color: hsl(54, 75%, 23%) | |
| HEX | #675E0F | color: #675E0F | |
| RGB | rgb(103, 94, 15) | color: rgb(103, 94, 15) | |
| CMYK | cmyk(0%, 9%, 85%, 60%) | — | |
| HSV | hsv(54, 85%, 40%) | — | |
| HWB | hwb(54 6% 60%) | color: hwb(54 6% 60%) | |
| OKLCH | oklch(0.4762 0.0938 102.38) | color: oklch(0.4762 0.0938 102.38) | |
| Lab | lab(39.45 -5.5 42.4) | color: lab(39.45 -5.5 42.4) | |
| LCH | lch(39.45 42.76 97.39) | color: lch(39.45 42.76 97.39) |
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)
#636322 — rgb(99, 99, 34)
Deuteranopia (Green-blind)
#646427 — rgb(100, 100, 39)
Tritanopia (Blue-blind)
#673135 — rgb(103, 49, 53)
Tints & Shades
CSS Code Snippets
background
background-color: hsl(54, 75%, 23%);
text
color: hsl(54, 75%, 23%);
border
border: 2px solid hsl(54, 75%, 23%);
gradient light
background: linear-gradient(to right, hsl(54, 75%, 43%), hsl(54, 75%, 23%));
gradient dark
background: linear-gradient(to right, hsl(54, 75%, 23%), hsl(54, 75%, 3%))
hex
background-color: #675E0F;
tailwind
bg-[hsl(54,75%,23%)]
box shadow
box-shadow: 0 4px 6px -1px hsl(54, 75%, 23%, 0.4);
css variable
--color-primary: hsl(54, 75%, 23%);
Related Colors
Use Cases for Yellow
Frequently Asked Questions
What are all the color codes for HSL(54, 75%, 23%)?
HEX: #675E0F | RGB: rgb(103, 94, 15) | CMYK: 0%, 9%, 85%, 60% | HSV: 54°, 85%, 40%. Copy any format from the conversion table above.
What colors go well with #675E0F?
The complementary color is HSL(234, 75%, 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, 75%, 23%) in CSS?
As HSL: color: hsl(54, 75%, 23%); — As HEX: color: #675E0F; — As RGB: color: rgb(103, 94, 15); — Tailwind CSS: bg-[hsl(54,75%,23%)] — CSS variable: --color-primary: hsl(54, 75%, 23%);