HSL(98, 24%, 16%)
Green — Green color
Adjust Color
Color Information
Color Name
Green
Color Family
Green
Warm / Cool
🔵 Cool
Temperature
5000K
CSS Class
bg-[hsl(98,24%,16%)]
Color Conversions
| Format | Value | CSS Usage | |
|---|---|---|---|
| HSL | hsl(98, 24%, 16%) | color: hsl(98, 24%, 16%) | |
| HEX | #26331F | color: #26331F | |
| RGB | rgb(38, 51, 31) | color: rgb(38, 51, 31) | |
| CMYK | cmyk(25%, 0%, 39%, 80%) | — | |
| HSV | hsv(99, 39%, 20%) | — | |
| HWB | hwb(99 12% 80%) | color: hwb(99 12% 80%) | |
| OKLCH | oklch(0.3029 0.0388 135.04) | color: oklch(0.3029 0.0388 135.04) | |
| Lab | lab(19.55 -10.09 10.97) | color: lab(19.55 -10.09 10.97) | |
| LCH | lch(19.55 14.9 132.61) | color: lch(19.55 14.9 132.61) |
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)
#2C2C24 — rgb(44, 44, 36)
Deuteranopia (Green-blind)
#2B2A25 — rgb(43, 42, 37)
Tritanopia (Blue-blind)
#272829 — rgb(39, 40, 41)
Tints & Shades
CSS Code Snippets
background
background-color: hsl(98, 24%, 16%);
text
color: hsl(98, 24%, 16%);
border
border: 2px solid hsl(98, 24%, 16%);
gradient light
background: linear-gradient(to right, hsl(98, 24%, 36%), hsl(98, 24%, 16%));
gradient dark
background: linear-gradient(to right, hsl(98, 24%, 16%), hsl(98, 24%, 0%))
hex
background-color: #26331F;
tailwind
bg-[hsl(98,24%,16%)]
box shadow
box-shadow: 0 4px 6px -1px hsl(98, 24%, 16%, 0.4);
css variable
--color-primary: hsl(98, 24%, 16%);
Related Colors
Use Cases for Green
Frequently Asked Questions
What are all the color codes for HSL(98, 24%, 16%)?
HEX: #26331F | RGB: rgb(38, 51, 31) | CMYK: 25%, 0%, 39%, 80% | HSV: 99°, 39%, 20%. Copy any format from the conversion table above.
What colors go well with #26331F?
The complementary color is HSL(278, 24%, 16%). For a triadic harmony, use hues 98°, 218°, and 338°. For analogous combinations, try hues 68° and 128°. See the Color Harmony section above for complete palettes with previews.
How do I use HSL(98, 24%, 16%) in CSS?
As HSL: color: hsl(98, 24%, 16%); — As HEX: color: #26331F; — As RGB: color: rgb(38, 51, 31); — Tailwind CSS: bg-[hsl(98,24%,16%)] — CSS variable: --color-primary: hsl(98, 24%, 16%);