#288A1F#288A1F
#288A1F is a mid, vivid green. Relative luminance 0.187; OKLCH L 55.6% C 0.167 H 141.9°. Best body text is #000000 at 4.75:1 contrast (WCAG AA passes).
Color values
| HEX | #288A1F |
|---|---|
| RGB | rgb(40, 138, 31) |
| HSL | hsl(115, 63%, 33%) |
| HSV | hsv(115, 78%, 54%) |
| CMYK | cmyk(71%, 0%, 77.5%, 45.9%) |
| CIE-LAB | lab(50.37, -48.37, 45.93) |
| CIE-LCH | lch(50.37, 66.71, 136.48°) |
| OKLab | oklab(55.62% -0.1318 0.1033) |
| OKLCH | oklch(55.62% 0.167 141.9) |
| XYZ | xyz(10.2103, 18.7259, 4.3724) |
| Luminance | 0.1873 (WCAG relative) |
| Temperature | neutral |
| Family | green |
Closest named colors
Forestgreen (CSS)
#228B22
ΔE00 0.68
Emerald Green
#028F1E
ΔE00 2.19
True Green
#089404
ΔE00 4.02
Irish Green
#019529
ΔE00 4.07
Tree Green
#2A7E19
ΔE00 4.25
Green
#008000
ΔE00 4.29
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#288A1F #811F8A
analogous
#5D8A1F #288A1F #1F8A4B
triadic
#288A1F #1F288A #8A1F28
tetradic
#288A1F #1F5D8A #811F8A #8A4B1F
square
#288A1F #1F5D8A #811F8A #8A4B1F
split-complementary
#288A1F #4B1F8A #8A1F5D
monochromatic
#0B2609 #1A5814 #288A1F #36BC2A #58D74C
Accessibility & contrast
On white
4.43
#288A1F on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
4.75
#288A1F on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #288A1F
4.75:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##288A1F | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##288A1F | 1.00 | 4.43 | 4.75 | 4.75 |
| #FFFFFF | 4.43 | 1.00 | 21.00 | 21.00 |
| #000000 | 4.75 | 21.00 | 1.00 | 1.00 |
| ##000000 | 4.75 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#8D7D07
Deuteranopia (green-blind)
#82752B
Tritanopia (blue-blind)
#0F8676
Achromatopsia (no color)
#787878
Design tokens & code
CSS
--color: #288a1f; /* rgb */ color: rgb(40, 138, 31); /* oklch */ color: oklch(55.6% 0.167 141.9);
Tailwind
colors: {
custom: {
50: '#71ad63',
500: '#288a1f',
950: '#000000',
},
}SCSS
$custom: #288a1f; $custom-light: #71ad63; $custom-dark: #000000;
JSON
{
"hex": "#288a1f",
"rgb": {
"r": 40,
"g": 138,
"b": 31
},
"hsl": {
"h": 114.953,
"s": 63.314,
"l": 33.137
},
"oklch": {
"l": 0.55622,
"c": 0.16744,
"h": 141.9
},
"luminance": 0.18727
}Semantic roles & 50–950 ramp
primary
#288A1F
secondary
#B04BBA
accent
#41E6D8
background
#F7FAF6
surface
#EDF4EB
border
#C8CEC6
text
#091006
muted
#7B7F7A