#287115#287115
#287115 is a mid, vivid green. Relative luminance 0.123; OKLCH L 48.4% C 0.143 H 140.2°. Best body text is #FFFFFF at 6.06:1 contrast (WCAG AA passes).
Color values
| HEX | #287115 |
|---|---|
| RGB | rgb(40, 113, 21) |
| HSL | hsl(108, 69%, 26%) |
| HSV | hsv(108, 81%, 44%) |
| CMYK | cmyk(64.6%, 0%, 81.4%, 55.7%) |
| CIE-LAB | lab(41.71, -40.03, 41.02) |
| CIE-LCH | lch(41.71, 57.32, 134.29°) |
| OKLab | oklab(48.43% -0.1098 0.0916) |
| OKLCH | oklch(48.43% 0.143 140.2) |
| XYZ | xyz(6.9152, 12.3149, 2.7219) |
| Luminance | 0.1232 (WCAG relative) |
| Temperature | neutral |
| Family | green |
Closest named colors
Tree Green
#2A7E19
ΔE00 4.49
Darkgreen
#006400
ΔE00 4.91
Green
#008000
ΔE00 5.68
Darkish Green
#287C37
ΔE00 5.89
Dark Grass Green
#388004
ΔE00 6.14
Deep Green
#02590F
ΔE00 8.45
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#287115 #5E1571
analogous
#567115 #287115 #157130
triadic
#287115 #152871 #711528
tetradic
#287115 #155671 #5E1571 #713015
square
#287115 #155671 #5E1571 #713015
split-complementary
#287115 #301571 #711556
monochromatic
#091A05 #163D0B #287115 #3AA51F #4DD729
Accessibility & contrast
On white
6.06
#287115 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.46
#287115 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #287115
6.06:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##287115 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##287115 | 1.00 | 6.06 | 3.46 | 6.06 |
| #FFFFFF | 6.06 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.46 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 6.06 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#746600
Deuteranopia (green-blind)
#6B6020
Tritanopia (blue-blind)
#1D6D60
Achromatopsia (no color)
#626262
Design tokens & code
CSS
--color: #287115; /* rgb */ color: rgb(40, 113, 21); /* oklch */ color: oklch(48.4% 0.143 140.2);
Tailwind
colors: {
custom: {
50: '#6c9b5a',
500: '#287115',
950: '#000000',
},
}SCSS
$custom: #287115; $custom-light: #6c9b5a; $custom-dark: #000000;
JSON
{
"hex": "#287115",
"rgb": {
"r": 40,
"g": 113,
"b": 21
},
"hsl": {
"h": 107.609,
"s": 68.657,
"l": 26.275
},
"oklch": {
"l": 0.48434,
"c": 0.14298,
"h": 140.2
},
"luminance": 0.12316
}Semantic roles & 50–950 ramp
primary
#287115
secondary
#913BA7
accent
#3CEBC7
background
#F6F9F5
surface
#ECF2E9
border
#C7CCC5
text
#080E04
muted
#7A7E79