#285E20#285E20
#285E20 is a dark, moderate green. Relative luminance 0.086; OKLCH L 43.0% C 0.110 H 141.2°. Best body text is #FFFFFF at 7.74:1 contrast (WCAG AA passes).
Color values
| HEX | #285E20 |
|---|---|
| RGB | rgb(40, 94, 32) |
| HSL | hsl(112, 49%, 25%) |
| HSV | hsv(112, 66%, 37%) |
| CMYK | cmyk(57.4%, 0%, 66%, 63.1%) |
| CIE-LAB | lab(35.12, -31.30, 29.48) |
| CIE-LCH | lch(35.12, 43.00, 136.72°) |
| OKLab | oklab(43.02% -0.0855 0.0688) |
| OKLCH | oklch(43.02% 0.11 141.2) |
| XYZ | xyz(5.1382, 8.5604, 2.7478) |
| Luminance | 0.0856 (WCAG relative) |
| Temperature | neutral |
| Family | green |
Closest named colors
Forest Green
#2D5A27
ΔE00 2.55
Deep Green
#02590F
ΔE00 3.67
Forest
#0B5509
ΔE00 4.16
Pine
#2B5D34
ΔE00 4.98
Darkgreen
#006400
ΔE00 5.28
Navy Green
#35530A
ΔE00 6.18
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#285E20 #56205E
analogous
#475E20 #285E20 #205E37
triadic
#285E20 #20285E #5E2028
tetradic
#285E20 #20475E #56205E #5E3720
square
#285E20 #20475E #56205E #5E3720
split-complementary
#285E20 #37205E #5E2047
monochromatic
#0A1708 #153010 #285E20 #3B8C30 #4FB93F
Accessibility & contrast
On white
7.74
#285E20 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.71
#285E20 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #285E20
7.74:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##285E20 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##285E20 | 1.00 | 7.74 | 2.71 | 7.74 |
| #FFFFFF | 7.74 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.71 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 7.74 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#605519
Deuteranopia (green-blind)
#595125
Tritanopia (blue-blind)
#215B51
Achromatopsia (no color)
#535353
Design tokens & code
CSS
--color: #285e20; /* rgb */ color: rgb(40, 94, 32); /* oklch */ color: oklch(43.0% 0.110 141.2);
Tailwind
colors: {
custom: {
50: '#688c5e',
500: '#285e20',
950: '#000000',
},
}SCSS
$custom: #285e20; $custom-light: #688c5e; $custom-dark: #000000;
JSON
{
"hex": "#285e20",
"rgb": {
"r": 40,
"g": 94,
"b": 32
},
"hsl": {
"h": 112.258,
"s": 49.206,
"l": 24.706
},
"oklch": {
"l": 0.43024,
"c": 0.10979,
"h": 141.2
},
"luminance": 0.08561
}Semantic roles & 50–950 ramp
primary
#285E20
secondary
#894792
accent
#4FD9C7
background
#F6F8F5
surface
#EBF0E9
border
#C6CBC5
text
#060C04
muted
#7A7D79