HSL(62, 28%, 16%)
Yellow — Yellow color
Adjust Color
Color Information
Color Name
Yellow
Color Family
Yellow
Warm / Cool
🔵 Cool
Temperature
3500K
CSS Class
bg-[hsl(62,28%,16%)]
Color Conversions
| Format | Value | CSS Usage | |
|---|---|---|---|
| HSL | hsl(62, 28%, 16%) | color: hsl(62, 28%, 16%) | |
| HEX | #33341D | color: #33341D | |
| RGB | rgb(51, 52, 29) | color: rgb(51, 52, 29) | |
| CMYK | cmyk(2%, 0%, 44%, 80%) | — | |
| HSV | hsv(63, 44%, 20%) | — | |
| HWB | hwb(63 11% 80%) | color: hwb(63 11% 80%) | |
| OKLCH | oklch(0.3174 0.0377 110.5) | color: oklch(0.3174 0.0377 110.5) | |
| Lab | lab(21.01 -4.84 14.41) | color: lab(21.01 -4.84 14.41) | |
| LCH | lch(21.01 15.2 108.57) | color: lch(21.01 15.2 108.57) |
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)
#333323 — rgb(51, 51, 35)
Deuteranopia (Green-blind)
#333324 — rgb(51, 51, 36)
Tritanopia (Blue-blind)
#332728 — rgb(51, 39, 40)
Tints & Shades
CSS Code Snippets
background
background-color: hsl(62, 28%, 16%);
text
color: hsl(62, 28%, 16%);
border
border: 2px solid hsl(62, 28%, 16%);
gradient light
background: linear-gradient(to right, hsl(62, 28%, 36%), hsl(62, 28%, 16%));
gradient dark
background: linear-gradient(to right, hsl(62, 28%, 16%), hsl(62, 28%, 0%))
hex
background-color: #33341D;
tailwind
bg-[hsl(62,28%,16%)]
box shadow
box-shadow: 0 4px 6px -1px hsl(62, 28%, 16%, 0.4);
css variable
--color-primary: hsl(62, 28%, 16%);
Related Colors
Use Cases for Yellow
Frequently Asked Questions
What are all the color codes for HSL(62, 28%, 16%)?
HEX: #33341D | RGB: rgb(51, 52, 29) | CMYK: 2%, 0%, 44%, 80% | HSV: 63°, 44%, 20%. Copy any format from the conversion table above.
What colors go well with #33341D?
The complementary color is HSL(242, 28%, 16%). For a triadic harmony, use hues 62°, 182°, and 302°. For analogous combinations, try hues 32° and 92°. See the Color Harmony section above for complete palettes with previews.
How do I use HSL(62, 28%, 16%) in CSS?
As HSL: color: hsl(62, 28%, 16%); — As HEX: color: #33341D; — As RGB: color: rgb(51, 52, 29); — Tailwind CSS: bg-[hsl(62,28%,16%)] — CSS variable: --color-primary: hsl(62, 28%, 16%);