#288B1F#288B1F
#288B1F is a mid, vivid green. Relative luminance 0.190; OKLCH L 55.9% C 0.169 H 141.9°. Best body text is #000000 at 4.80:1 contrast (WCAG AA passes).
Color values
| HEX | #288B1F |
|---|---|
| RGB | rgb(40, 139, 31) |
| HSL | hsl(115, 64%, 33%) |
| HSV | hsv(115, 78%, 55%) |
| CMYK | cmyk(71.2%, 0%, 77.7%, 45.5%) |
| CIE-LAB | lab(50.70, -48.72, 46.27) |
| CIE-LCH | lch(50.70, 67.19, 136.48°) |
| OKLab | oklab(55.9% -0.1327 0.104) |
| OKLCH | oklch(55.9% 0.169 141.9) |
| XYZ | xyz(10.3544, 19.0142, 4.4205) |
| Luminance | 0.1902 (WCAG relative) |
| Temperature | neutral |
| Family | green |
Closest named colors
Forestgreen (CSS)
#228B22
ΔE00 0.65
Emerald Green
#028F1E
ΔE00 1.96
True Green
#089404
ΔE00 3.71
Irish Green
#019529
ΔE00 3.77
Kelley Green
#009337
ΔE00 4.42
Green
#008000
ΔE00 4.59
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#288B1F #821F8B
analogous
#5E8B1F #288B1F #1F8B4C
triadic
#288B1F #1F288B #8B1F28
tetradic
#288B1F #1F5E8B #821F8B #8B4C1F
square
#288B1F #1F5E8B #821F8B #8B4C1F
split-complementary
#288B1F #4C1F8B #8B1F5E
monochromatic
#0B2709 #1A5914 #288B1F #36BD2A #59D74D
Accessibility & contrast
On white
4.37
#288B1F on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
4.80
#288B1F on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #288B1F
4.80:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##288B1F | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##288B1F | 1.00 | 4.37 | 4.80 | 4.80 |
| #FFFFFF | 4.37 | 1.00 | 21.00 | 21.00 |
| #000000 | 4.80 | 21.00 | 1.00 | 1.00 |
| ##000000 | 4.80 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#8E7D06
Deuteranopia (green-blind)
#83762B
Tritanopia (blue-blind)
#0E8776
Achromatopsia (no color)
#797979
Design tokens & code
CSS
--color: #288b1f; /* rgb */ color: rgb(40, 139, 31); /* oklch */ color: oklch(55.9% 0.169 141.9);
Tailwind
colors: {
custom: {
50: '#72ae63',
500: '#288b1f',
950: '#000000',
},
}SCSS
$custom: #288b1f; $custom-light: #72ae63; $custom-dark: #000000;
JSON
{
"hex": "#288b1f",
"rgb": {
"r": 40,
"g": 139,
"b": 31
},
"hsl": {
"h": 115,
"s": 63.529,
"l": 33.333
},
"oklch": {
"l": 0.55903,
"c": 0.16861,
"h": 141.9
},
"luminance": 0.19015
}Semantic roles & 50–950 ramp
primary
#288B1F
secondary
#B14CBA
accent
#41E7D9
background
#F7FAF6
surface
#EDF4EB
border
#C8CEC6
text
#091006
muted
#7B7F7A