#286F40#286F40
#286F40 is a mid, moderate green. Relative luminance 0.122; OKLCH L 48.4% C 0.103 H 151.6°. Best body text is #FFFFFF at 6.11:1 contrast (WCAG AA passes).
Color values
| HEX | #286F40 |
|---|---|
| RGB | rgb(40, 111, 64) |
| HSL | hsl(140, 47%, 30%) |
| HSV | hsv(140, 64%, 44%) |
| CMYK | cmyk(64%, 0%, 42.3%, 56.5%) |
| CIE-LAB | lab(41.52, -33.60, 19.78) |
| CIE-LCH | lch(41.52, 38.99, 149.51°) |
| OKLab | oklab(48.43% -0.0909 0.0491) |
| OKLCH | oklch(48.43% 0.103 151.6) |
| XYZ | xyz(7.4843, 12.1894, 6.8079) |
| Luminance | 0.1219 (WCAG relative) |
| Temperature | neutral |
| Family | green |
Closest named colors
Spruce
#0A5F38
ΔE00 5.92
Darkish Green
#287C37
ΔE00 6.07
Pine
#2B5D34
ΔE00 6.15
Hunter Green
#355E3B
ΔE00 6.68
Jungle Green
#048243
ΔE00 7.09
Forest Green
#2D5A27
ΔE00 7.80
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#286F40 #6F2857
analogous
#336F28 #286F40 #286F64
triadic
#286F40 #40286F #6F4028
tetradic
#286F40 #28336F #6F2857 #6F6428
square
#286F40 #28336F #6F2857 #6F6428
split-complementary
#286F40 #64286F #6F2833
monochromatic
#08160D #184226 #286F40 #389C5A #51C077
Accessibility & contrast
On white
6.11
#286F40 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.44
#286F40 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #286F40
6.11:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##286F40 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##286F40 | 1.00 | 6.11 | 3.44 | 6.11 |
| #FFFFFF | 6.11 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.44 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 6.11 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#6F663D
Deuteranopia (green-blind)
#665F43
Tritanopia (blue-blind)
#106D63
Achromatopsia (no color)
#626262
Design tokens & code
CSS
--color: #286f40; /* rgb */ color: rgb(40, 111, 64); /* oklch */ color: oklch(48.4% 0.103 151.6);
Tailwind
colors: {
custom: {
50: '#6a9975',
500: '#286f40',
950: '#000000',
},
}SCSS
$custom: #286f40; $custom-light: #6a9975; $custom-dark: #000000;
JSON
{
"hex": "#286f40",
"rgb": {
"r": 40,
"g": 111,
"b": 64
},
"hsl": {
"h": 140.282,
"s": 47.02,
"l": 29.608
},
"oklch": {
"l": 0.48432,
"c": 0.10331,
"h": 151.6
},
"luminance": 0.1219
}Semantic roles & 50–950 ramp
primary
#286F40
secondary
#A15186
accent
#51AAD7
background
#F6F9F7
surface
#EBF2ED
border
#C6CCC8
text
#070E08
muted
#7A7E7B