#286E2A#286E2A
#286E2A is a mid, vivid green. Relative luminance 0.118; OKLCH L 47.8% C 0.124 H 143.8°. Best body text is #FFFFFF at 6.26:1 contrast (WCAG AA passes).
Color values
| HEX | #286E2A |
|---|---|
| RGB | rgb(40, 110, 42) |
| HSL | hsl(122, 47%, 29%) |
| HSV | hsv(122, 64%, 43%) |
| CMYK | cmyk(63.6%, 0%, 61.8%, 56.9%) |
| CIE-LAB | lab(40.85, -36.77, 30.98) |
| CIE-LCH | lch(40.85, 48.08, 139.89°) |
| OKLab | oklab(47.78% -0.0998 0.0731) |
| OKLCH | oklch(47.78% 0.124 143.8) |
| XYZ | xyz(6.8685, 11.7695, 4.0998) |
| Luminance | 0.1177 (WCAG relative) |
| Temperature | neutral |
| Family | green |
Closest named colors
Darkish Green
#287C37
ΔE00 4.89
Darkgreen
#006400
ΔE00 5.62
Tree Green
#2A7E19
ΔE00 6.85
Forest Green
#2D5A27
ΔE00 7.11
Deep Green
#02590F
ΔE00 7.31
Pine
#2B5D34
ΔE00 7.61
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#286E2A #6E286C
analogous
#496E28 #286E2A #286E4D
triadic
#286E2A #2A286E #6E2A28
tetradic
#286E2A #28496E #6E286C #6E4D28
square
#286E2A #28496E #6E286C #6E4D28
split-complementary
#286E2A #4D286E #6E2849
monochromatic
#081609 #184119 #286E2A #389B3B #51C054
Accessibility & contrast
On white
6.26
#286E2A on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.35
#286E2A on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #286E2A
6.26:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##286E2A | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##286E2A | 1.00 | 6.26 | 3.35 | 6.26 |
| #FFFFFF | 6.26 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.35 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 6.26 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#706423
Deuteranopia (green-blind)
#675E2F
Tritanopia (blue-blind)
#1A6B5F
Achromatopsia (no color)
#606060
Design tokens & code
CSS
--color: #286e2a; /* rgb */ color: rgb(40, 110, 42); /* oklch */ color: oklch(47.8% 0.124 143.8);
Tailwind
colors: {
custom: {
50: '#6b9866',
500: '#286e2a',
950: '#000000',
},
}SCSS
$custom: #286e2a; $custom-light: #6b9866; $custom-dark: #000000;
JSON
{
"hex": "#286e2a",
"rgb": {
"r": 40,
"g": 110,
"b": 42
},
"hsl": {
"h": 121.714,
"s": 46.667,
"l": 29.412
},
"oklch": {
"l": 0.47776,
"c": 0.12368,
"h": 143.8
},
"luminance": 0.1177
}Semantic roles & 50–950 ramp
primary
#286E2A
secondary
#A0519E
accent
#51D3D6
background
#F6F9F6
surface
#ECF2EB
border
#C7CCC6
text
#070E06
muted
#7A7E7A