HSL(46, 60%, 25%)
Yellow — Yellow color
Adjust Color
Color Information
Color Name
Yellow
Color Family
Yellow
Warm / Cool
🔴 Warm
Temperature
2700K
CSS Class
bg-[hsl(46,60%,25%)]
Color Conversions
| Format | Value | CSS Usage | |
|---|---|---|---|
| HSL | hsl(46, 60%, 25%) | color: hsl(46, 60%, 25%) | |
| HEX | #66541A | color: #66541A | |
| RGB | rgb(102, 84, 26) | color: rgb(102, 84, 26) | |
| CMYK | cmyk(0%, 18%, 75%, 60%) | — | |
| HSV | hsv(46, 75%, 40%) | — | |
| HWB | hwb(46 10% 60%) | color: hwb(46 10% 60%) | |
| OKLCH | oklch(0.4523 0.0787 91.39) | color: oklch(0.4523 0.0787 91.39) | |
| Lab | lab(36.44 0.46 35.17) | color: lab(36.44 0.46 35.17) | |
| LCH | lch(36.44 35.17 89.25) | color: lch(36.44 35.17 89.25) |
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)
#5E5E28 — rgb(94, 94, 40)
Deuteranopia (Green-blind)
#5F612B — rgb(95, 97, 43)
Tritanopia (Blue-blind)
#653336 — rgb(101, 51, 54)
Tints & Shades
CSS Code Snippets
background
background-color: hsl(46, 60%, 25%);
text
color: hsl(46, 60%, 25%);
border
border: 2px solid hsl(46, 60%, 25%);
gradient light
background: linear-gradient(to right, hsl(46, 60%, 45%), hsl(46, 60%, 25%));
gradient dark
background: linear-gradient(to right, hsl(46, 60%, 25%), hsl(46, 60%, 5%))
hex
background-color: #66541A;
tailwind
bg-[hsl(46,60%,25%)]
box shadow
box-shadow: 0 4px 6px -1px hsl(46, 60%, 25%, 0.4);
css variable
--color-primary: hsl(46, 60%, 25%);
Related Colors
Use Cases for Yellow
Frequently Asked Questions
What are all the color codes for HSL(46, 60%, 25%)?
HEX: #66541A | RGB: rgb(102, 84, 26) | CMYK: 0%, 18%, 75%, 60% | HSV: 46°, 75%, 40%. Copy any format from the conversion table above.
What colors go well with #66541A?
The complementary color is HSL(226, 60%, 25%). 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, 60%, 25%) in CSS?
As HSL: color: hsl(46, 60%, 25%); — As HEX: color: #66541A; — As RGB: color: rgb(102, 84, 26); — Tailwind CSS: bg-[hsl(46,60%,25%)] — CSS variable: --color-primary: hsl(46, 60%, 25%);