HSL(51, 94%, 15%)
Yellow — Yellow color
Adjust Color
Color Information
Color Name
Yellow
Color Family
Yellow
Warm / Cool
🔴 Warm
Temperature
2700K
CSS Class
bg-[hsl(51,94%,15%)]
Color Conversions
| Format | Value | CSS Usage | |
|---|---|---|---|
| HSL | hsl(51, 94%, 15%) | color: hsl(51, 94%, 15%) | |
| HEX | #4A3F02 | color: #4A3F02 | |
| RGB | rgb(74, 63, 2) | color: rgb(74, 63, 2) | |
| CMYK | cmyk(0%, 15%, 97%, 71%) | — | |
| HSV | hsv(51, 97%, 29%) | — | |
| HWB | hwb(51 1% 71%) | color: hwb(51 1% 71%) | |
| OKLCH | oklch(0.3681 0.0747 97.75) | color: oklch(0.3681 0.0747 97.75) | |
| Lab | lab(26.78 -2.01 34.98) | color: lab(26.78 -2.01 34.98) | |
| LCH | lch(26.78 35.04 93.29) | color: lch(26.78 35.04 93.29) |
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)
#454511 — rgb(69, 69, 17)
Deuteranopia (Green-blind)
#464714 — rgb(70, 71, 20)
Tritanopia (Blue-blind)
#491C1F — rgb(73, 28, 31)
Tints & Shades
CSS Code Snippets
background
background-color: hsl(51, 94%, 15%);
text
color: hsl(51, 94%, 15%);
border
border: 2px solid hsl(51, 94%, 15%);
gradient light
background: linear-gradient(to right, hsl(51, 94%, 35%), hsl(51, 94%, 15%));
gradient dark
background: linear-gradient(to right, hsl(51, 94%, 15%), hsl(51, 94%, 0%))
hex
background-color: #4A3F02;
tailwind
bg-[hsl(51,94%,15%)]
box shadow
box-shadow: 0 4px 6px -1px hsl(51, 94%, 15%, 0.4);
css variable
--color-primary: hsl(51, 94%, 15%);
Related Colors
Use Cases for Yellow
Frequently Asked Questions
What are all the color codes for HSL(51, 94%, 15%)?
HEX: #4A3F02 | RGB: rgb(74, 63, 2) | CMYK: 0%, 15%, 97%, 71% | HSV: 51°, 97%, 29%. Copy any format from the conversion table above.
What colors go well with #4A3F02?
The complementary color is HSL(231, 94%, 15%). For a triadic harmony, use hues 51°, 171°, and 291°. For analogous combinations, try hues 21° and 81°. See the Color Harmony section above for complete palettes with previews.
How do I use HSL(51, 94%, 15%) in CSS?
As HSL: color: hsl(51, 94%, 15%); — As HEX: color: #4A3F02; — As RGB: color: rgb(74, 63, 2); — Tailwind CSS: bg-[hsl(51,94%,15%)] — CSS variable: --color-primary: hsl(51, 94%, 15%);