#286B40#286B40
#286B40 is a mid, moderate green. Relative luminance 0.113; OKLCH L 47.3% C 0.097 H 152.5°. Best body text is #FFFFFF at 6.43:1 contrast (WCAG AA passes).
Color values
| HEX | #286B40 |
|---|---|
| RGB | rgb(40, 107, 64) |
| HSL | hsl(141, 46%, 29%) |
| HSV | hsv(141, 63%, 42%) |
| CMYK | cmyk(62.6%, 0%, 40.2%, 58%) |
| CIE-LAB | lab(40.14, -31.83, 17.97) |
| CIE-LCH | lch(40.14, 36.55, 150.55°) |
| OKLab | oklab(47.3% -0.0862 0.0449) |
| OKLCH | oklch(47.3% 0.097 152.5) |
| XYZ | xyz(7.0576, 11.3360, 6.6656) |
| Luminance | 0.1134 (WCAG relative) |
| Temperature | neutral |
| Family | green |
Closest named colors
Spruce
#0A5F38
ΔE00 4.60
Pine
#2B5D34
ΔE00 4.85
Hunter Green
#355E3B
ΔE00 5.34
Forest Green
#2D5A27
ΔE00 6.96
Darkish Green
#287C37
ΔE00 7.59
Jungle Green
#048243
ΔE00 8.60
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#286B40 #6B2853
analogous
#326B28 #286B40 #286B62
triadic
#286B40 #40286B #6B4028
tetradic
#286B40 #28326B #6B2853 #6B6228
square
#286B40 #28326B #6B2853 #6B6228
split-complementary
#286B40 #62286B #6B2832
monochromatic
#08160D #173E25 #286B40 #39985B #50BE77
Accessibility & contrast
On white
6.43
#286B40 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.27
#286B40 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #286B40
6.43:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##286B40 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##286B40 | 1.00 | 6.43 | 3.27 | 6.43 |
| #FFFFFF | 6.43 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.27 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 6.43 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#6B623D
Deuteranopia (green-blind)
#625C43
Tritanopia (blue-blind)
#126A60
Achromatopsia (no color)
#5F5F5F
Design tokens & code
CSS
--color: #286b40; /* rgb */ color: rgb(40, 107, 64); /* oklch */ color: oklch(47.3% 0.097 152.5);
Tailwind
colors: {
custom: {
50: '#699675',
500: '#286b40',
950: '#000000',
},
}SCSS
$custom: #286b40; $custom-light: #699675; $custom-dark: #000000;
JSON
{
"hex": "#286b40",
"rgb": {
"r": 40,
"g": 107,
"b": 64
},
"hsl": {
"h": 141.493,
"s": 45.578,
"l": 28.824
},
"oklch": {
"l": 0.47303,
"c": 0.09718,
"h": 152.5
},
"luminance": 0.11337
}Semantic roles & 50–950 ramp
primary
#286B40
secondary
#9D5182
accent
#53A6D5
background
#F6F9F7
surface
#EBF2ED
border
#C6CCC8
text
#070D08
muted
#7A7E7B