HSL(46, 16%, 25%)
Yellow — Yellow color
Adjust Color
Color Information
Color Name
Yellow
Color Family
Yellow
Warm / Cool
🔴 Warm
Temperature
N/A
CSS Class
bg-[hsl(46,16%,25%)]
Color Conversions
| Format | Value | CSS Usage | |
|---|---|---|---|
| HSL | hsl(46, 16%, 25%) | color: hsl(46, 16%, 25%) | |
| HEX | #4A4536 | color: #4A4536 | |
| RGB | rgb(74, 69, 54) | color: rgb(74, 69, 54) | |
| CMYK | cmyk(0%, 7%, 27%, 71%) | — | |
| HSV | hsv(45, 27%, 29%) | — | |
| HWB | hwb(45 21% 71%) | color: hwb(45 21% 71%) | |
| OKLCH | oklch(0.3908 0.0251 91.8) | color: oklch(0.3908 0.0251 91.8) | |
| Lab | lab(29.36 -0.74 9.85) | color: lab(29.36 -0.74 9.85) | |
| LCH | lch(29.36 9.88 94.3) | color: lch(29.36 9.88 94.3) |
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)
#48483A — rgb(72, 72, 58)
Deuteranopia (Green-blind)
#48493B — rgb(72, 73, 59)
Tritanopia (Blue-blind)
#4A3C3D — rgb(74, 60, 61)
Tints & Shades
CSS Code Snippets
background
background-color: hsl(46, 16%, 25%);
text
color: hsl(46, 16%, 25%);
border
border: 2px solid hsl(46, 16%, 25%);
gradient light
background: linear-gradient(to right, hsl(46, 16%, 45%), hsl(46, 16%, 25%));
gradient dark
background: linear-gradient(to right, hsl(46, 16%, 25%), hsl(46, 16%, 5%))
hex
background-color: #4A4536;
tailwind
bg-[hsl(46,16%,25%)]
box shadow
box-shadow: 0 4px 6px -1px hsl(46, 16%, 25%, 0.4);
css variable
--color-primary: hsl(46, 16%, 25%);
Related Colors
Use Cases for Yellow
Frequently Asked Questions
What are all the color codes for HSL(46, 16%, 25%)?
HEX: #4A4536 | RGB: rgb(74, 69, 54) | CMYK: 0%, 7%, 27%, 71% | HSV: 45°, 27%, 29%. Copy any format from the conversion table above.
What colors go well with #4A4536?
The complementary color is HSL(226, 16%, 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, 16%, 25%) in CSS?
As HSL: color: hsl(46, 16%, 25%); — As HEX: color: #4A4536; — As RGB: color: rgb(74, 69, 54); — Tailwind CSS: bg-[hsl(46,16%,25%)] — CSS variable: --color-primary: hsl(46, 16%, 25%);