#255E20#255E20
#255E20 is a dark, moderate green. Relative luminance 0.085; OKLCH L 42.9% C 0.111 H 142.0°. Best body text is #FFFFFF at 7.78:1 contrast (WCAG AA passes).
Color values
| HEX | #255E20 |
|---|---|
| RGB | rgb(37, 94, 32) |
| HSL | hsl(115, 49%, 25%) |
| HSV | hsv(115, 66%, 37%) |
| CMYK | cmyk(60.6%, 0%, 66%, 63.1%) |
| CIE-LAB | lab(35.01, -32.19, 29.32) |
| CIE-LCH | lch(35.01, 43.54, 137.67°) |
| OKLab | oklab(42.9% -0.0878 0.0685) |
| OKLCH | oklch(42.9% 0.111 142) |
| XYZ | xyz(5.0261, 8.5026, 2.7425) |
| Luminance | 0.0850 (WCAG relative) |
| Temperature | neutral |
| Family | green |
Closest named colors
Forest Green
#2D5A27
ΔE00 2.67
Deep Green
#02590F
ΔE00 3.39
Forest
#0B5509
ΔE00 4.00
Pine
#2B5D34
ΔE00 4.92
Darkgreen
#006400
ΔE00 5.16
Navy Green
#35530A
ΔE00 6.51
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#255E20 #59205E
analogous
#445E20 #255E20 #205E3A
triadic
#255E20 #20255E #5E2025
tetradic
#255E20 #20445E #59205E #5E3A20
square
#255E20 #20445E #59205E #5E3A20
split-complementary
#255E20 #3A205E #5E2044
monochromatic
#091708 #133010 #255E20 #378C30 #49B93F
Accessibility & contrast
On white
7.78
#255E20 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.70
#255E20 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #255E20
7.78:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##255E20 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##255E20 | 1.00 | 7.78 | 2.70 | 7.78 |
| #FFFFFF | 7.78 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.70 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 7.78 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#605519
Deuteranopia (green-blind)
#595025
Tritanopia (blue-blind)
#1D5B51
Achromatopsia (no color)
#525252
Design tokens & code
CSS
--color: #255e20; /* rgb */ color: rgb(37, 94, 32); /* oklch */ color: oklch(42.9% 0.111 142.0);
Tailwind
colors: {
custom: {
50: '#668c5e',
500: '#255e20',
950: '#000000',
},
}SCSS
$custom: #255e20; $custom-light: #668c5e; $custom-dark: #000000;
JSON
{
"hex": "#255e20",
"rgb": {
"r": 37,
"g": 94,
"b": 32
},
"hsl": {
"h": 115.161,
"s": 49.206,
"l": 24.706
},
"oklch": {
"l": 0.42896,
"c": 0.11133,
"h": 142
},
"luminance": 0.08503
}Semantic roles & 50–950 ramp
primary
#255E20
secondary
#8C4792
accent
#4FD9CE
background
#F6F8F5
surface
#EBF0E9
border
#C6CBC5
text
#060C04
muted
#7A7D79