#288E1F#288E1F
#288E1F is a mid, vivid green. Relative luminance 0.199; OKLCH L 56.7% C 0.172 H 142.0°. Best body text is #000000 at 4.98:1 contrast (WCAG AA passes).
Color values
| HEX | #288E1F |
|---|---|
| RGB | rgb(40, 142, 31) |
| HSL | hsl(115, 64%, 34%) |
| HSV | hsv(115, 78%, 56%) |
| CMYK | cmyk(71.8%, 0%, 78.2%, 44.3%) |
| CIE-LAB | lab(51.72, -49.75, 47.26) |
| CIE-LCH | lch(51.72, 68.62, 136.47°) |
| OKLab | oklab(56.75% -0.1355 0.1061) |
| OKLCH | oklch(56.75% 0.172 142) |
| XYZ | xyz(10.7948, 19.8949, 4.5673) |
| Luminance | 0.1990 (WCAG relative) |
| Temperature | neutral |
| Family | green |
Closest named colors
Forestgreen (CSS)
#228B22
ΔE00 1.36
Emerald Green
#028F1E
ΔE00 1.56
True Green
#089404
ΔE00 2.82
Irish Green
#019529
ΔE00 2.95
Kelley Green
#009337
ΔE00 4.03
Green
#008000
ΔE00 5.53
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#288E1F #851F8E
analogous
#608E1F #288E1F #1F8E4E
triadic
#288E1F #1F288E #8E1F28
tetradic
#288E1F #1F608E #851F8E #8E4E1F
square
#288E1F #1F608E #851F8E #8E4E1F
split-complementary
#288E1F #4E1F8E #8E1F60
monochromatic
#0C2A09 #1A5C14 #288E1F #36C02A #5AD94F
Accessibility & contrast
On white
4.22
#288E1F on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
4.98
#288E1F on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #288E1F
4.98:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##288E1F | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##288E1F | 1.00 | 4.22 | 4.98 | 4.98 |
| #FFFFFF | 4.22 | 1.00 | 21.00 | 21.00 |
| #000000 | 4.98 | 21.00 | 1.00 | 1.00 |
| ##000000 | 4.98 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#918004
Deuteranopia (green-blind)
#86782B
Tritanopia (blue-blind)
#0B8979
Achromatopsia (no color)
#7B7B7B
Design tokens & code
CSS
--color: #288e1f; /* rgb */ color: rgb(40, 142, 31); /* oklch */ color: oklch(56.7% 0.172 142.0);
Tailwind
colors: {
custom: {
50: '#72b063',
500: '#288e1f',
950: '#000000',
},
}SCSS
$custom: #288e1f; $custom-light: #72b063; $custom-dark: #000000;
JSON
{
"hex": "#288e1f",
"rgb": {
"r": 40,
"g": 142,
"b": 31
},
"hsl": {
"h": 115.135,
"s": 64.162,
"l": 33.922
},
"oklch": {
"l": 0.56745,
"c": 0.17209,
"h": 142
},
"luminance": 0.19896
}Semantic roles & 50–950 ramp
primary
#288E1F
secondary
#B34DBB
accent
#41E7DA
background
#F7FAF6
surface
#EDF5EB
border
#C8CFC6
text
#091106
muted
#7B807A