#287C3B#287C3B
#287C3B is a mid, vivid green. Relative luminance 0.152; OKLCH L 52.0% C 0.127 H 147.7°. Best body text is #FFFFFF at 5.20:1 contrast (WCAG AA passes).
Color values
| HEX | #287C3B |
|---|---|
| RGB | rgb(40, 124, 59) |
| HSL | hsl(134, 51%, 32%) |
| HSV | hsv(134, 68%, 49%) |
| CMYK | cmyk(67.7%, 0%, 52.4%, 51.4%) |
| CIE-LAB | lab(45.88, -39.92, 28.13) |
| CIE-LCH | lch(45.88, 48.84, 144.83°) |
| OKLab | oklab(52% -0.1077 0.0681) |
| OKLCH | oklch(52% 0.127 147.7) |
| XYZ | xyz(8.8715, 15.1813, 6.5996) |
| Luminance | 0.1518 (WCAG relative) |
| Temperature | neutral |
| Family | green |
Closest named colors
Darkish Green
#287C37
ΔE00 0.83
Jungle Green
#048243
ΔE00 3.06
Tree Green
#2A7E19
ΔE00 5.86
Sea Green
#2E8B57
ΔE00 6.75
Green
#008000
ΔE00 7.41
Forestgreen (CSS)
#228B22
ΔE00 7.57
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#287C3B #7C2869
analogous
#3F7C28 #287C3B #287C65
triadic
#287C3B #3B287C #7C3B28
tetradic
#287C3B #283F7C #7C2869 #7C6528
square
#287C3B #283F7C #7C2869 #7C6528
split-complementary
#287C3B #65287C #7C283F
monochromatic
#0A1F0F #194E25 #287C3B #37AA51 #56C870
Accessibility & contrast
On white
5.20
#287C3B on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
4.04
#287C3B on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #287C3B
5.20:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##287C3B | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##287C3B | 1.00 | 5.20 | 4.04 | 5.20 |
| #FFFFFF | 5.20 | 1.00 | 21.00 | 1.00 |
| #000000 | 4.04 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 5.20 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#7D7135
Deuteranopia (green-blind)
#736A40
Tritanopia (blue-blind)
#0B796D
Achromatopsia (no color)
#6D6D6D
Design tokens & code
CSS
--color: #287c3b; /* rgb */ color: rgb(40, 124, 59); /* oklch */ color: oklch(52.0% 0.127 147.7);
Tailwind
colors: {
custom: {
50: '#6da372',
500: '#287c3b',
950: '#000000',
},
}SCSS
$custom: #287c3b; $custom-light: #6da372; $custom-dark: #000000;
JSON
{
"hex": "#287c3b",
"rgb": {
"r": 40,
"g": 124,
"b": 59
},
"hsl": {
"h": 133.571,
"s": 51.22,
"l": 32.157
},
"oklch": {
"l": 0.52001,
"c": 0.12742,
"h": 147.7
},
"luminance": 0.15182
}Semantic roles & 50–950 ramp
primary
#287C3B
secondary
#AD5299
accent
#4DBBDB
background
#F6FAF7
surface
#ECF4ED
border
#C7CEC8
text
#080F08
muted
#7A7F7B