#286C40#286C40
#286C40 is a mid, moderate green. Relative luminance 0.115; OKLCH L 47.6% C 0.099 H 152.3°. Best body text is #FFFFFF at 6.35:1 contrast (WCAG AA passes).
Color values
| HEX | #286C40 |
|---|---|
| RGB | rgb(40, 108, 64) |
| HSL | hsl(141, 46%, 29%) |
| HSV | hsv(141, 63%, 42%) |
| CMYK | cmyk(63%, 0%, 40.7%, 57.6%) |
| CIE-LAB | lab(40.48, -32.28, 18.43) |
| CIE-LCH | lch(40.48, 37.17, 150.28°) |
| OKLab | oklab(47.59% -0.0874 0.0459) |
| OKLCH | oklch(47.59% 0.099 152.3) |
| XYZ | xyz(7.1625, 11.5457, 6.7006) |
| Luminance | 0.1155 (WCAG relative) |
| Temperature | neutral |
| Family | green |
Closest named colors
Spruce
#0A5F38
ΔE00 4.91
Pine
#2B5D34
ΔE00 5.16
Hunter Green
#355E3B
ΔE00 5.66
Forest Green
#2D5A27
ΔE00 7.14
Darkish Green
#287C37
ΔE00 7.21
Jungle Green
#048243
ΔE00 8.22
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#286C40 #6C2854
analogous
#326C28 #286C40 #286C62
triadic
#286C40 #40286C #6C4028
tetradic
#286C40 #28326C #6C2854 #6C6228
square
#286C40 #28326C #6C2854 #6C6228
split-complementary
#286C40 #62286C #6C2832
monochromatic
#08160D #173F26 #286C40 #39995A #50BE77
Accessibility & contrast
On white
6.35
#286C40 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.31
#286C40 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #286C40
6.35:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##286C40 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##286C40 | 1.00 | 6.35 | 3.31 | 6.35 |
| #FFFFFF | 6.35 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.31 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 6.35 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#6C633D
Deuteranopia (green-blind)
#635D43
Tritanopia (blue-blind)
#126A61
Achromatopsia (no color)
#5F5F5F
Design tokens & code
CSS
--color: #286c40; /* rgb */ color: rgb(40, 108, 64); /* oklch */ color: oklch(47.6% 0.099 152.3);
Tailwind
colors: {
custom: {
50: '#699775',
500: '#286c40',
950: '#000000',
},
}SCSS
$custom: #286c40; $custom-light: #699775; $custom-dark: #000000;
JSON
{
"hex": "#286c40",
"rgb": {
"r": 40,
"g": 108,
"b": 64
},
"hsl": {
"h": 141.176,
"s": 45.946,
"l": 29.02
},
"oklch": {
"l": 0.47585,
"c": 0.09872,
"h": 152.3
},
"luminance": 0.11546
}Semantic roles & 50–950 ramp
primary
#286C40
secondary
#9E5183
accent
#52A7D6
background
#F6F9F7
surface
#EBF2ED
border
#C6CCC8
text
#070D08
muted
#7A7E7B