#286E17#286E17
#286E17 is a mid, vivid green. Relative luminance 0.117; OKLCH L 47.6% C 0.138 H 140.3°. Best body text is #FFFFFF at 6.30:1 contrast (WCAG AA passes).
Color values
| HEX | #286E17 |
|---|---|
| RGB | rgb(40, 110, 23) |
| HSL | hsl(108, 65%, 26%) |
| HSV | hsv(108, 79%, 43%) |
| CMYK | cmyk(63.6%, 0%, 79.1%, 56.9%) |
| CIE-LAB | lab(40.68, -38.73, 39.30) |
| CIE-LCH | lch(40.68, 55.18, 134.58°) |
| OKLab | oklab(47.58% -0.1062 0.0883) |
| OKLCH | oklch(47.58% 0.138 140.3) |
| XYZ | xyz(6.6054, 11.6642, 2.7138) |
| Luminance | 0.1167 (WCAG relative) |
| Temperature | neutral |
| Family | green |
Closest named colors
Darkgreen
#006400
ΔE00 4.16
Tree Green
#2A7E19
ΔE00 5.56
Darkish Green
#287C37
ΔE00 6.27
Green
#008000
ΔE00 6.75
Dark Grass Green
#388004
ΔE00 7.21
Deep Green
#02590F
ΔE00 7.42
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#286E17 #5D176E
analogous
#536E17 #286E17 #176E31
triadic
#286E17 #17286E #6E1728
tetradic
#286E17 #17536E #5D176E #6E3117
square
#286E17 #17536E #5D176E #6E3117
split-complementary
#286E17 #31176E #6E1753
monochromatic
#091905 #163B0C #286E17 #3AA122 #4DD32C
Accessibility & contrast
On white
6.30
#286E17 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.33
#286E17 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #286E17
6.30:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##286E17 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##286E17 | 1.00 | 6.30 | 3.33 | 6.30 |
| #FFFFFF | 6.30 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.33 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 6.30 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#716305
Deuteranopia (green-blind)
#695E20
Tritanopia (blue-blind)
#1E6A5D
Achromatopsia (no color)
#606060
Design tokens & code
CSS
--color: #286e17; /* rgb */ color: rgb(40, 110, 23); /* oklch */ color: oklch(47.6% 0.138 140.3);
Tailwind
colors: {
custom: {
50: '#6c985b',
500: '#286e17',
950: '#000000',
},
}SCSS
$custom: #286e17; $custom-light: #6c985b; $custom-dark: #000000;
JSON
{
"hex": "#286e17",
"rgb": {
"r": 40,
"g": 110,
"b": 23
},
"hsl": {
"h": 108.276,
"s": 65.414,
"l": 26.078
},
"oklch": {
"l": 0.47581,
"c": 0.1381,
"h": 140.3
},
"luminance": 0.11665
}Semantic roles & 50–950 ramp
primary
#286E17
secondary
#903DA4
accent
#3FE8C7
background
#F6F9F5
surface
#ECF2E9
border
#C7CCC5
text
#070E04
muted
#7A7E79