#286E42#286E42
#286E42 is a mid, moderate green. Relative luminance 0.120; OKLCH L 48.2% C 0.100 H 152.9°. Best body text is #FFFFFF at 6.18:1 contrast (WCAG AA passes).
Color values
| HEX | #286E42 |
|---|---|
| RGB | rgb(40, 110, 66) |
| HSL | hsl(142, 47%, 29%) |
| HSV | hsv(142, 64%, 43%) |
| CMYK | cmyk(63.6%, 0%, 40%, 56.9%) |
| CIE-LAB | lab(41.21, -32.76, 18.22) |
| CIE-LCH | lch(41.21, 37.49, 150.92°) |
| OKLab | oklab(48.19% -0.0887 0.0455) |
| OKLCH | oklch(48.19% 0.1 152.9) |
| XYZ | xyz(7.4338, 11.9956, 7.0768) |
| Luminance | 0.1200 (WCAG relative) |
| Temperature | neutral |
| Family | green |
Closest named colors
Spruce
#0A5F38
ΔE00 5.46
Pine
#2B5D34
ΔE00 5.85
Hunter Green
#355E3B
ΔE00 6.25
Darkish Green
#287C37
ΔE00 6.82
Jungle Green
#048243
ΔE00 7.64
Forest Green
#2D5A27
ΔE00 7.80
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#286E42 #6E2854
analogous
#316E28 #286E42 #286E65
triadic
#286E42 #42286E #6E4228
tetradic
#286E42 #28316E #6E2854 #6E6528
square
#286E42 #28316E #6E2854 #6E6528
split-complementary
#286E42 #65286E #6E2831
monochromatic
#08160D #184127 #286E42 #389B5D #51C07A
Accessibility & contrast
On white
6.18
#286E42 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.40
#286E42 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #286E42
6.18:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##286E42 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##286E42 | 1.00 | 6.18 | 3.40 | 6.18 |
| #FFFFFF | 6.18 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.40 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 6.18 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#6E653F
Deuteranopia (green-blind)
#655F45
Tritanopia (blue-blind)
#0F6D63
Achromatopsia (no color)
#616161
Design tokens & code
CSS
--color: #286e42; /* rgb */ color: rgb(40, 110, 66); /* oklch */ color: oklch(48.2% 0.100 152.9);
Tailwind
colors: {
custom: {
50: '#6a9877',
500: '#286e42',
950: '#000000',
},
}SCSS
$custom: #286e42; $custom-light: #6a9877; $custom-dark: #000000;
JSON
{
"hex": "#286e42",
"rgb": {
"r": 40,
"g": 110,
"b": 66
},
"hsl": {
"h": 142.286,
"s": 46.667,
"l": 29.412
},
"oklch": {
"l": 0.48192,
"c": 0.0997,
"h": 152.9
},
"luminance": 0.11996
}Semantic roles & 50–950 ramp
primary
#286E42
secondary
#A05183
accent
#51A5D6
background
#F6F9F7
surface
#EBF2ED
border
#C6CCC8
text
#070E08
muted
#7A7E7B