#287C3A#287C3A
#287C3A is a mid, vivid green. Relative luminance 0.152; OKLCH L 52.0% C 0.128 H 147.4°. Best body text is #FFFFFF at 5.21:1 contrast (WCAG AA passes).
Color values
| HEX | #287C3A |
|---|---|
| RGB | rgb(40, 124, 58) |
| HSL | hsl(133, 51%, 32%) |
| HSV | hsv(133, 68%, 49%) |
| CMYK | cmyk(67.7%, 0%, 53.2%, 51.4%) |
| CIE-LAB | lab(45.87, -40.08, 28.65) |
| CIE-LCH | lch(45.87, 49.27, 144.45°) |
| OKLab | oklab(51.99% -0.1082 0.0692) |
| OKLCH | oklch(51.99% 0.128 147.4) |
| XYZ | xyz(8.8458, 15.1710, 6.4643) |
| Luminance | 0.1517 (WCAG relative) |
| Temperature | neutral |
| Family | green |
Closest named colors
Darkish Green
#287C37
ΔE00 0.62
Jungle Green
#048243
ΔE00 3.16
Tree Green
#2A7E19
ΔE00 5.66
Sea Green
#2E8B57
ΔE00 6.88
Green
#008000
ΔE00 7.21
Forestgreen (CSS)
#228B22
ΔE00 7.42
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#287C3A #7C286A
analogous
#407C28 #287C3A #287C64
triadic
#287C3A #3A287C #7C3A28
tetradic
#287C3A #28407C #7C286A #7C6428
square
#287C3A #28407C #7C286A #7C6428
split-complementary
#287C3A #64287C #7C2840
monochromatic
#0A1F0F #194E24 #287C3A #37AA50 #56C86E
Accessibility & contrast
On white
5.21
#287C3A on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
4.03
#287C3A on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #287C3A
5.21:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##287C3A | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##287C3A | 1.00 | 5.21 | 4.03 | 5.21 |
| #FFFFFF | 5.21 | 1.00 | 21.00 | 1.00 |
| #000000 | 4.03 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 5.21 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#7D7134
Deuteranopia (green-blind)
#736A3F
Tritanopia (blue-blind)
#0C796D
Achromatopsia (no color)
#6D6D6D
Design tokens & code
CSS
--color: #287c3a; /* rgb */ color: rgb(40, 124, 58); /* oklch */ color: oklch(52.0% 0.128 147.4);
Tailwind
colors: {
custom: {
50: '#6da372',
500: '#287c3a',
950: '#000000',
},
}SCSS
$custom: #287c3a; $custom-light: #6da372; $custom-dark: #000000;
JSON
{
"hex": "#287c3a",
"rgb": {
"r": 40,
"g": 124,
"b": 58
},
"hsl": {
"h": 132.857,
"s": 51.22,
"l": 32.157
},
"oklch": {
"l": 0.51985,
"c": 0.12838,
"h": 147.4
},
"luminance": 0.15172
}Semantic roles & 50–950 ramp
primary
#287C3A
secondary
#AD529A
accent
#4DBCDB
background
#F6FAF6
surface
#ECF4EC
border
#C7CEC7
text
#080F08
muted
#7A7F7B