#286940#286940
#286940 is a mid, moderate green. Relative luminance 0.109; OKLCH L 46.7% C 0.094 H 153.0°. Best body text is #FFFFFF at 6.59:1 contrast (WCAG AA passes).
Color values
| HEX | #286940 |
|---|---|
| RGB | rgb(40, 105, 64) |
| HSL | hsl(142, 45%, 28%) |
| HSV | hsv(142, 62%, 41%) |
| CMYK | cmyk(61.9%, 0%, 39%, 58.8%) |
| CIE-LAB | lab(39.45, -30.93, 17.05) |
| CIE-LCH | lch(39.45, 35.32, 151.12°) |
| OKLab | oklab(46.74% -0.0838 0.0427) |
| OKLCH | oklch(46.74% 0.094 153) |
| XYZ | xyz(6.8515, 10.9238, 6.5969) |
| Luminance | 0.1092 (WCAG relative) |
| Temperature | neutral |
| Family | green |
Closest named colors
Spruce
#0A5F38
ΔE00 4.01
Pine
#2B5D34
ΔE00 4.27
Hunter Green
#355E3B
ΔE00 4.70
Forest Green
#2D5A27
ΔE00 6.65
Darkish Green
#287C37
ΔE00 8.37
Jungle Green
#048243
ΔE00 9.36
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#286940 #692851
analogous
#306928 #286940 #286960
triadic
#286940 #402869 #694028
tetradic
#286940 #283069 #692851 #696028
square
#286940 #283069 #692851 #696028
split-complementary
#286940 #602869 #692830
monochromatic
#08160E #173D25 #286940 #39955B #4FBC77
Accessibility & contrast
On white
6.59
#286940 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.18
#286940 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #286940
6.59:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##286940 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##286940 | 1.00 | 6.59 | 3.18 | 6.59 |
| #FFFFFF | 6.59 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.18 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 6.59 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#69613D
Deuteranopia (green-blind)
#605A43
Tritanopia (blue-blind)
#13685F
Achromatopsia (no color)
#5D5D5D
Design tokens & code
CSS
--color: #286940; /* rgb */ color: rgb(40, 105, 64); /* oklch */ color: oklch(46.7% 0.094 153.0);
Tailwind
colors: {
custom: {
50: '#699475',
500: '#286940',
950: '#000000',
},
}SCSS
$custom: #286940; $custom-light: #699475; $custom-dark: #000000;
JSON
{
"hex": "#286940",
"rgb": {
"r": 40,
"g": 105,
"b": 64
},
"hsl": {
"h": 142.154,
"s": 44.828,
"l": 28.431
},
"oklch": {
"l": 0.46738,
"c": 0.09406,
"h": 153
},
"luminance": 0.10924
}Semantic roles & 50–950 ramp
primary
#286940
secondary
#9C5180
accent
#53A5D5
background
#F6F9F7
surface
#EBF1ED
border
#C6CBC8
text
#070D08
muted
#7A7E7B