#286E22#286E22
#286E22 is a mid, vivid green. Relative luminance 0.117; OKLCH L 47.7% C 0.130 H 142.0°. Best body text is #FFFFFF at 6.28:1 contrast (WCAG AA passes).
Color values
| HEX | #286E22 |
|---|---|
| RGB | rgb(40, 110, 34) |
| HSL | hsl(115, 53%, 28%) |
| HSV | hsv(115, 69%, 43%) |
| CMYK | cmyk(63.6%, 0%, 69.1%, 56.9%) |
| CIE-LAB | lab(40.76, -37.72, 34.77) |
| CIE-LCH | lch(40.76, 51.30, 137.33°) |
| OKLab | oklab(47.68% -0.1028 0.0803) |
| OKLCH | oklch(47.68% 0.13 142) |
| XYZ | xyz(6.7394, 11.7178, 3.4197) |
| Luminance | 0.1172 (WCAG relative) |
| Temperature | neutral |
| Family | green |
Closest named colors
Darkgreen
#006400
ΔE00 4.73
Darkish Green
#287C37
ΔE00 5.35
Tree Green
#2A7E19
ΔE00 6.08
Deep Green
#02590F
ΔE00 7.19
Green
#008000
ΔE00 7.46
Forest Green
#2D5A27
ΔE00 7.60
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#286E22 #68226E
analogous
#4E6E22 #286E22 #226E42
triadic
#286E22 #22286E #6E2228
tetradic
#286E22 #224E6E #68226E #6E4222
square
#286E22 #224E6E #68226E #6E4222
split-complementary
#286E22 #42226E #6E224E
monochromatic
#091707 #173F14 #286E22 #399D30 #4FC545
Accessibility & contrast
On white
6.28
#286E22 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.34
#286E22 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #286E22
6.28:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##286E22 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##286E22 | 1.00 | 6.28 | 3.34 | 6.28 |
| #FFFFFF | 6.28 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.34 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 6.28 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#716418
Deuteranopia (green-blind)
#685E29
Tritanopia (blue-blind)
#1C6B5E
Achromatopsia (no color)
#606060
Design tokens & code
CSS
--color: #286e22; /* rgb */ color: rgb(40, 110, 34); /* oklch */ color: oklch(47.7% 0.130 142.0);
Tailwind
colors: {
custom: {
50: '#6b9861',
500: '#286e22',
950: '#000000',
},
}SCSS
$custom: #286e22; $custom-light: #6b9861; $custom-dark: #000000;
JSON
{
"hex": "#286e22",
"rgb": {
"r": 40,
"g": 110,
"b": 34
},
"hsl": {
"h": 115.263,
"s": 52.778,
"l": 28.235
},
"oklch": {
"l": 0.47681,
"c": 0.13046,
"h": 142
},
"luminance": 0.11718
}Semantic roles & 50–950 ramp
primary
#286E22
secondary
#9B4AA1
accent
#4CDCD1
background
#F6F9F5
surface
#ECF2EA
border
#C7CCC6
text
#070E05
muted
#7A7E79