HSL(48, 83%, 21%)
Yellow — Yellow color
Adjust Color
Color Information
Color Name
Yellow
Color Family
Yellow
Warm / Cool
🔴 Warm
Temperature
2700K
CSS Class
bg-[hsl(48,83%,21%)]
Color Conversions
| Format | Value | CSS Usage | |
|---|---|---|---|
| HSL | hsl(48, 83%, 21%) | color: hsl(48, 83%, 21%) | |
| HEX | #625009 | color: #625009 | |
| RGB | rgb(98, 80, 9) | color: rgb(98, 80, 9) | |
| CMYK | cmyk(0%, 18%, 91%, 62%) | — | |
| HSV | hsv(48, 91%, 38%) | — | |
| HWB | hwb(48 3% 62%) | color: hwb(48 3% 62%) | |
| OKLCH | oklch(0.4373 0.0855 93.01) | color: oklch(0.4373 0.0855 93.01) | |
| Lab | lab(34.71 0.14 40) | color: lab(34.71 0.14 40) | |
| LCH | lch(34.71 40 89.8) | color: lch(34.71 40 89.8) |
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)
#5A5A1A — rgb(90, 90, 26)
Deuteranopia (Green-blind)
#5B5D1E — rgb(91, 93, 30)
Tritanopia (Blue-blind)
#61282B — rgb(97, 40, 43)
Tints & Shades
CSS Code Snippets
background
background-color: hsl(48, 83%, 21%);
text
color: hsl(48, 83%, 21%);
border
border: 2px solid hsl(48, 83%, 21%);
gradient light
background: linear-gradient(to right, hsl(48, 83%, 41%), hsl(48, 83%, 21%));
gradient dark
background: linear-gradient(to right, hsl(48, 83%, 21%), hsl(48, 83%, 1%))
hex
background-color: #625009;
tailwind
bg-[hsl(48,83%,21%)]
box shadow
box-shadow: 0 4px 6px -1px hsl(48, 83%, 21%, 0.4);
css variable
--color-primary: hsl(48, 83%, 21%);
Related Colors
Use Cases for Yellow
Frequently Asked Questions
What are all the color codes for HSL(48, 83%, 21%)?
HEX: #625009 | RGB: rgb(98, 80, 9) | CMYK: 0%, 18%, 91%, 62% | HSV: 48°, 91%, 38%. Copy any format from the conversion table above.
What colors go well with #625009?
The complementary color is HSL(228, 83%, 21%). For a triadic harmony, use hues 48°, 168°, and 288°. For analogous combinations, try hues 18° and 78°. See the Color Harmony section above for complete palettes with previews.
How do I use HSL(48, 83%, 21%) in CSS?
As HSL: color: hsl(48, 83%, 21%); — As HEX: color: #625009; — As RGB: color: rgb(98, 80, 9); — Tailwind CSS: bg-[hsl(48,83%,21%)] — CSS variable: --color-primary: hsl(48, 83%, 21%);