#288A1B#288A1B
#288A1B is a mid, vivid green. Relative luminance 0.187; OKLCH L 55.6% C 0.170 H 141.5°. Best body text is #000000 at 4.74:1 contrast (WCAG AA passes).
Color values
| HEX | #288A1B |
|---|---|
| RGB | rgb(40, 138, 27) |
| HSL | hsl(113, 67%, 32%) |
| HSV | hsv(113, 80%, 54%) |
| CMYK | cmyk(71%, 0%, 80.4%, 45.9%) |
| CIE-LAB | lab(50.34, -48.65, 47.28) |
| CIE-LCH | lch(50.34, 67.84, 135.82°) |
| OKLab | oklab(55.6% -0.1328 0.1055) |
| OKLCH | oklch(55.6% 0.17 141.5) |
| XYZ | xyz(10.1608, 18.7061, 4.1119) |
| Luminance | 0.1871 (WCAG relative) |
| Temperature | neutral |
| Family | green |
Closest named colors
Forestgreen (CSS)
#228B22
ΔE00 1.02
Emerald Green
#028F1E
ΔE00 2.28
True Green
#089404
ΔE00 3.84
Green
#008000
ΔE00 4.19
Irish Green
#019529
ΔE00 4.20
Tree Green
#2A7E19
ΔE00 4.27
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#288A1B #7D1B8A
analogous
#608A1B #288A1B #1B8A46
triadic
#288A1B #1B288A #8A1B28
tetradic
#288A1B #1B608A #7D1B8A #8A461B
square
#288A1B #1B608A #7D1B8A #8A461B
split-complementary
#288A1B #461B8A #8A1B60
monochromatic
#0A2407 #195711 #288A1B #37BD25 #56DB45
Accessibility & contrast
On white
4.43
#288A1B on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
4.74
#288A1B on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #288A1B
4.74:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##288A1B | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##288A1B | 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)
#8E7D00
Deuteranopia (green-blind)
#827528
Tritanopia (blue-blind)
#108675
Achromatopsia (no color)
#787878
Design tokens & code
CSS
--color: #288a1b; /* rgb */ color: rgb(40, 138, 27); /* oklch */ color: oklch(55.6% 0.170 141.5);
Tailwind
colors: {
custom: {
50: '#72ad61',
500: '#288a1b',
950: '#000000',
},
}SCSS
$custom: #288a1b; $custom-light: #72ad61; $custom-dark: #000000;
JSON
{
"hex": "#288a1b",
"rgb": {
"r": 40,
"g": 138,
"b": 27
},
"hsl": {
"h": 112.973,
"s": 67.273,
"l": 32.353
},
"oklch": {
"l": 0.55596,
"c": 0.16959,
"h": 141.5
},
"luminance": 0.18707
}Semantic roles & 50–950 ramp
primary
#288A1B
secondary
#AE45BC
accent
#3EEAD6
background
#F7FAF6
surface
#EDF4EB
border
#C8CEC6
text
#091005
muted
#7B7F7A