#285E28#285E28
#285E28 is a dark, moderate green. Relative luminance 0.086; OKLCH L 43.1% C 0.102 H 143.5°. Best body text is #FFFFFF at 7.71:1 contrast (WCAG AA passes).
Color values
| HEX | #285E28 |
|---|---|
| RGB | rgb(40, 94, 40) |
| HSL | hsl(120, 40%, 26%) |
| HSV | hsv(120, 57%, 37%) |
| CMYK | cmyk(57.4%, 0%, 57.4%, 63.1%) |
| CIE-LAB | lab(35.22, -30.23, 25.38) |
| CIE-LCH | lch(35.22, 39.48, 139.98°) |
| OKLab | oklab(43.14% -0.0822 0.0607) |
| OKLCH | oklch(43.14% 0.102 143.5) |
| XYZ | xyz(5.2605, 8.6093, 3.3916) |
| Luminance | 0.0861 (WCAG relative) |
| Temperature | neutral |
| Family | green |
Closest named colors
Forest Green
#2D5A27
ΔE00 1.73
Pine
#2B5D34
ΔE00 3.25
Deep Green
#02590F
ΔE00 4.61
Hunter Green
#355E3B
ΔE00 5.11
Forest
#0B5509
ΔE00 5.19
Spruce
#0A5F38
ΔE00 5.57
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#285E28 #5E285E
analogous
#435E28 #285E28 #285E43
triadic
#285E28 #28285E #5E2828
tetradic
#285E28 #28435E #5E285E #5E4328
square
#285E28 #28435E #5E285E #5E4328
split-complementary
#285E28 #43285E #5E2843
monochromatic
#091509 #163316 #285E28 #3A893A #4DB34D
Accessibility & contrast
On white
7.71
#285E28 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.72
#285E28 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #285E28
7.71:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##285E28 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##285E28 | 1.00 | 7.71 | 2.72 | 7.71 |
| #FFFFFF | 7.71 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.72 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 7.71 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#605623
Deuteranopia (green-blind)
#59512C
Tritanopia (blue-blind)
#205B52
Achromatopsia (no color)
#535353
Design tokens & code
CSS
--color: #285e28; /* rgb */ color: rgb(40, 94, 40); /* oklch */ color: oklch(43.1% 0.102 143.5);
Tailwind
colors: {
custom: {
50: '#678c63',
500: '#285e28',
950: '#000000',
},
}SCSS
$custom: #285e28; $custom-light: #678c63; $custom-dark: #000000;
JSON
{
"hex": "#285e28",
"rgb": {
"r": 40,
"g": 94,
"b": 40
},
"hsl": {
"h": 120,
"s": 40.299,
"l": 26.275
},
"oklch": {
"l": 0.43135,
"c": 0.10218,
"h": 143.5
},
"luminance": 0.0861
}Semantic roles & 50–950 ramp
primary
#285E28
secondary
#915191
accent
#58D0D0
background
#F6F8F6
surface
#EBF0EB
border
#C6CBC6
text
#060C05
muted
#7A7D7A