HSL(121, 52%, 31%)
Green — Green color
Adjust Color
Color Information
Color Name
Green
Color Family
Green
Warm / Cool
🔵 Cool
Temperature
5000K
CSS Class
bg-[hsl(121,52%,31%)]
Color Conversions
| Format | Value | CSS Usage | |
|---|---|---|---|
| HSL | hsl(121, 52%, 31%) | color: hsl(121, 52%, 31%) | |
| HEX | #267827 | color: #267827 | |
| RGB | rgb(38, 120, 39) | color: rgb(38, 120, 39) | |
| CMYK | cmyk(68%, 0%, 68%, 53%) | — | |
| HSV | hsv(121, 68%, 47%) | — | |
| HWB | hwb(121 15% 53%) | color: hwb(121 15% 53%) | |
| OKLCH | oklch(0.5054 0.1406 143.31) | color: oklch(0.5054 0.1406 143.31) | |
| Lab | lab(44.22 -41.53 36.23) | color: lab(44.22 -41.53 36.23) | |
| LCH | lch(44.22 55.11 138.9) | color: lch(44.22 55.11 138.9) |
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)
#4A4A3B — rgb(74, 74, 59)
Deuteranopia (Green-blind)
#453F3F — rgb(69, 63, 63)
Tritanopia (Blue-blind)
#2A4A4D — rgb(42, 74, 77)
Tints & Shades
CSS Code Snippets
background
background-color: hsl(121, 52%, 31%);
text
color: hsl(121, 52%, 31%);
border
border: 2px solid hsl(121, 52%, 31%);
gradient light
background: linear-gradient(to right, hsl(121, 52%, 51%), hsl(121, 52%, 31%));
gradient dark
background: linear-gradient(to right, hsl(121, 52%, 31%), hsl(121, 52%, 11%))
hex
background-color: #267827;
tailwind
bg-[hsl(121,52%,31%)]
box shadow
box-shadow: 0 4px 6px -1px hsl(121, 52%, 31%, 0.4);
css variable
--color-primary: hsl(121, 52%, 31%);
Related Colors
Use Cases for Green
Frequently Asked Questions
What are all the color codes for HSL(121, 52%, 31%)?
HEX: #267827 | RGB: rgb(38, 120, 39) | CMYK: 68%, 0%, 68%, 53% | HSV: 121°, 68%, 47%. Copy any format from the conversion table above.
What colors go well with #267827?
The complementary color is HSL(301, 52%, 31%). For a triadic harmony, use hues 121°, 241°, and 1°. For analogous combinations, try hues 91° and 151°. See the Color Harmony section above for complete palettes with previews.
How do I use HSL(121, 52%, 31%) in CSS?
As HSL: color: hsl(121, 52%, 31%); — As HEX: color: #267827; — As RGB: color: rgb(38, 120, 39); — Tailwind CSS: bg-[hsl(121,52%,31%)] — CSS variable: --color-primary: hsl(121, 52%, 31%);