HSL(82, 30%, 24%)
Green — Green color
Adjust Color
Color Information
Color Name
Green
Color Family
Green
Warm / Cool
🔵 Cool
Temperature
3500K
CSS Class
bg-[hsl(82,30%,24%)]
Color Conversions
| Format | Value | CSS Usage | |
|---|---|---|---|
| HSL | hsl(82, 30%, 24%) | color: hsl(82, 30%, 24%) | |
| HEX | #42502B | color: #42502B | |
| RGB | rgb(66, 80, 43) | color: rgb(66, 80, 43) | |
| CMYK | cmyk(18%, 0%, 46%, 69%) | — | |
| HSV | hsv(83, 46%, 31%) | — | |
| HWB | hwb(83 17% 69%) | color: hwb(83 17% 69%) | |
| OKLCH | oklch(0.409 0.0601 125.87) | color: oklch(0.409 0.0601 125.87) | |
| Lab | lab(31.97 -12.75 19.98) | color: lab(31.97 -12.75 19.98) | |
| LCH | lch(31.97 23.7 122.54) | color: lch(31.97 23.7 122.54) |
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)
#484834 — rgb(72, 72, 52)
Deuteranopia (Green-blind)
#474636 — rgb(71, 70, 54)
Tritanopia (Blue-blind)
#433B3D — rgb(67, 59, 61)
Tints & Shades
CSS Code Snippets
background
background-color: hsl(82, 30%, 24%);
text
color: hsl(82, 30%, 24%);
border
border: 2px solid hsl(82, 30%, 24%);
gradient light
background: linear-gradient(to right, hsl(82, 30%, 44%), hsl(82, 30%, 24%));
gradient dark
background: linear-gradient(to right, hsl(82, 30%, 24%), hsl(82, 30%, 4%))
hex
background-color: #42502B;
tailwind
bg-[hsl(82,30%,24%)]
box shadow
box-shadow: 0 4px 6px -1px hsl(82, 30%, 24%, 0.4);
css variable
--color-primary: hsl(82, 30%, 24%);
Related Colors
Use Cases for Green
Frequently Asked Questions
What are all the color codes for HSL(82, 30%, 24%)?
HEX: #42502B | RGB: rgb(66, 80, 43) | CMYK: 18%, 0%, 46%, 69% | HSV: 83°, 46%, 31%. Copy any format from the conversion table above.
What colors go well with #42502B?
The complementary color is HSL(262, 30%, 24%). For a triadic harmony, use hues 82°, 202°, and 322°. For analogous combinations, try hues 52° and 112°. See the Color Harmony section above for complete palettes with previews.
How do I use HSL(82, 30%, 24%) in CSS?
As HSL: color: hsl(82, 30%, 24%); — As HEX: color: #42502B; — As RGB: color: rgb(66, 80, 43); — Tailwind CSS: bg-[hsl(82,30%,24%)] — CSS variable: --color-primary: hsl(82, 30%, 24%);