#288A28#288A28
#288A28 is a mid, vivid green. Relative luminance 0.188; OKLCH L 55.7% C 0.162 H 143.0°. Best body text is #000000 at 4.76:1 contrast (WCAG AA passes).
Color values
| HEX | #288A28 |
|---|---|
| RGB | rgb(40, 138, 40) |
| HSL | hsl(120, 55%, 35%) |
| HSV | hsv(120, 71%, 54%) |
| CMYK | cmyk(71%, 0%, 71%, 45.9%) |
| CIE-LAB | lab(50.43, -47.60, 42.50) |
| CIE-LCH | lch(50.43, 63.81, 138.24°) |
| OKLab | oklab(55.7% -0.1292 0.0973) |
| OKLCH | oklch(55.7% 0.162 143) |
| XYZ | xyz(10.3459, 18.7802, 5.0868) |
| Luminance | 0.1878 (WCAG relative) |
| Temperature | neutral |
| Family | green |
Closest named colors
Forestgreen (CSS)
#228B22
ΔE00 0.85
Emerald Green
#028F1E
ΔE00 2.37
Kelley Green
#009337
ΔE00 3.90
Irish Green
#019529
ΔE00 3.93
Tree Green
#2A7E19
ΔE00 4.41
True Green
#089404
ΔE00 4.67
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#288A28 #8A288A
analogous
#598A28 #288A28 #288A59
triadic
#288A28 #28288A #8A2828
tetradic
#288A28 #28598A #8A288A #8A5928
square
#288A28 #28598A #8A288A #8A5928
split-complementary
#288A28 #59288A #8A2859
monochromatic
#0C2B0C #1A5B1A #288A28 #36B936 #5DD05D
Accessibility & contrast
On white
4.42
#288A28 on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
4.76
#288A28 on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #288A28
4.76:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##288A28 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##288A28 | 1.00 | 4.42 | 4.76 | 4.76 |
| #FFFFFF | 4.42 | 1.00 | 21.00 | 21.00 |
| #000000 | 4.76 | 21.00 | 1.00 | 1.00 |
| ##000000 | 4.76 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#8D7D19
Deuteranopia (green-blind)
#827531
Tritanopia (blue-blind)
#0B8676
Achromatopsia (no color)
#787878
Design tokens & code
CSS
--color: #288a28; /* rgb */ color: rgb(40, 138, 40); /* oklch */ color: oklch(55.7% 0.162 143.0);
Tailwind
colors: {
custom: {
50: '#71ad67',
500: '#288a28',
950: '#000000',
},
}SCSS
$custom: #288a28; $custom-light: #71ad67; $custom-dark: #000000;
JSON
{
"hex": "#288a28",
"rgb": {
"r": 40,
"g": 138,
"b": 40
},
"hsl": {
"h": 120,
"s": 55.056,
"l": 34.902
},
"oklch": {
"l": 0.55696,
"c": 0.16178,
"h": 143
},
"luminance": 0.18781
}Semantic roles & 50–950 ramp
primary
#288A28
secondary
#B559B5
accent
#49DEDE
background
#F7FAF6
surface
#EDF4EB
border
#C8CEC6
text
#091006
muted
#7B7F7A