#288C1F#288C1F
#288C1F is a mid, vivid green. Relative luminance 0.193; OKLCH L 56.2% C 0.170 H 141.9°. Best body text is #000000 at 4.86:1 contrast (WCAG AA passes).
Color values
| HEX | #288C1F |
|---|---|
| RGB | rgb(40, 140, 31) |
| HSL | hsl(115, 64%, 34%) |
| HSV | hsv(115, 78%, 55%) |
| CMYK | cmyk(71.4%, 0%, 77.9%, 45.1%) |
| CIE-LAB | lab(51.04, -49.06, 46.60) |
| CIE-LCH | lch(51.04, 67.67, 136.47°) |
| OKLab | oklab(56.18% -0.1337 0.1047) |
| OKLCH | oklch(56.18% 0.17 141.9) |
| XYZ | xyz(10.4999, 19.3051, 4.4690) |
| Luminance | 0.1931 (WCAG relative) |
| Temperature | neutral |
| Family | green |
Closest named colors
Forestgreen (CSS)
#228B22
ΔE00 0.80
Emerald Green
#028F1E
ΔE00 1.76
True Green
#089404
ΔE00 3.40
Irish Green
#019529
ΔE00 3.48
Kelley Green
#009337
ΔE00 4.27
Green
#008000
ΔE00 4.90
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#288C1F #831F8C
analogous
#5E8C1F #288C1F #1F8C4C
triadic
#288C1F #1F288C #8C1F28
tetradic
#288C1F #1F5E8C #831F8C #8C4C1F
square
#288C1F #1F5E8C #831F8C #8C4C1F
split-complementary
#288C1F #4C1F8C #8C1F5E
monochromatic
#0B2809 #1A5A14 #288C1F #36BE2A #59D84E
Accessibility & contrast
On white
4.32
#288C1F on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
4.86
#288C1F on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #288C1F
4.86:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##288C1F | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##288C1F | 1.00 | 4.32 | 4.86 | 4.86 |
| #FFFFFF | 4.32 | 1.00 | 21.00 | 21.00 |
| #000000 | 4.86 | 21.00 | 1.00 | 1.00 |
| ##000000 | 4.86 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#8F7E06
Deuteranopia (green-blind)
#84772B
Tritanopia (blue-blind)
#0D8877
Achromatopsia (no color)
#7A7A7A
Design tokens & code
CSS
--color: #288c1f; /* rgb */ color: rgb(40, 140, 31); /* oklch */ color: oklch(56.2% 0.170 141.9);
Tailwind
colors: {
custom: {
50: '#72af63',
500: '#288c1f',
950: '#000000',
},
}SCSS
$custom: #288c1f; $custom-light: #72af63; $custom-dark: #000000;
JSON
{
"hex": "#288c1f",
"rgb": {
"r": 40,
"g": 140,
"b": 31
},
"hsl": {
"h": 115.046,
"s": 63.743,
"l": 33.529
},
"oklch": {
"l": 0.56184,
"c": 0.16977,
"h": 141.9
},
"luminance": 0.19306
}Semantic roles & 50–950 ramp
primary
#288C1F
secondary
#B14CBB
accent
#41E7D9
background
#F7FAF6
surface
#EDF5EB
border
#C8CFC6
text
#091006
muted
#7B7F7A