#288A1E#288A1E
#288A1E is a mid, vivid green. Relative luminance 0.187; OKLCH L 55.6% C 0.168 H 141.8°. Best body text is #000000 at 4.74:1 contrast (WCAG AA passes).
Color values
| HEX | #288A1E |
|---|---|
| RGB | rgb(40, 138, 30) |
| HSL | hsl(114, 64%, 33%) |
| HSV | hsv(114, 78%, 54%) |
| CMYK | cmyk(71%, 0%, 78.3%, 45.9%) |
| CIE-LAB | lab(50.36, -48.44, 46.28) |
| CIE-LCH | lch(50.36, 67.00, 136.31°) |
| OKLab | oklab(55.62% -0.132 0.1039) |
| OKLCH | oklch(55.62% 0.168 141.8) |
| XYZ | xyz(10.1973, 18.7207, 4.3041) |
| Luminance | 0.1872 (WCAG relative) |
| Temperature | neutral |
| Family | green |
Closest named colors
Forestgreen (CSS)
#228B22
ΔE00 0.76
Emerald Green
#028F1E
ΔE00 2.21
True Green
#089404
ΔE00 3.97
Irish Green
#019529
ΔE00 4.10
Tree Green
#2A7E19
ΔE00 4.25
Green
#008000
ΔE00 4.26
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#288A1E #801E8A
analogous
#5E8A1E #288A1E #1E8A4A
triadic
#288A1E #1E288A #8A1E28
tetradic
#288A1E #1E5E8A #801E8A #8A4A1E
square
#288A1E #1E5E8A #801E8A #8A4A1E
split-complementary
#288A1E #4A1E8A #8A1E5E
monochromatic
#0B2508 #195813 #288A1E #37BC29 #58D84B
Accessibility & contrast
On white
4.43
#288A1E on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
4.74
#288A1E on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #288A1E
4.74:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##288A1E | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##288A1E | 1.00 | 4.43 | 4.74 | 4.74 |
| #FFFFFF | 4.43 | 1.00 | 21.00 | 21.00 |
| #000000 | 4.74 | 21.00 | 1.00 | 1.00 |
| ##000000 | 4.74 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#8D7D04
Deuteranopia (green-blind)
#82752A
Tritanopia (blue-blind)
#0F8676
Achromatopsia (no color)
#787878
Design tokens & code
CSS
--color: #288a1e; /* rgb */ color: rgb(40, 138, 30); /* oklch */ color: oklch(55.6% 0.168 141.8);
Tailwind
colors: {
custom: {
50: '#72ad62',
500: '#288a1e',
950: '#000000',
},
}SCSS
$custom: #288a1e; $custom-light: #72ad62; $custom-dark: #000000;
JSON
{
"hex": "#288a1e",
"rgb": {
"r": 40,
"g": 138,
"b": 30
},
"hsl": {
"h": 114.444,
"s": 64.286,
"l": 32.941
},
"oklch": {
"l": 0.55615,
"c": 0.168,
"h": 141.8
},
"luminance": 0.18722
}Semantic roles & 50–950 ramp
primary
#288A1E
secondary
#B04ABA
accent
#41E7D8
background
#F7FAF6
surface
#EDF4EB
border
#C8CEC6
text
#091006
muted
#7B7F7A