#286A2F#286A2F
#286A2F is a mid, moderate green. Relative luminance 0.110; OKLCH L 46.7% C 0.113 H 145.4°. Best body text is #FFFFFF at 6.58:1 contrast (WCAG AA passes).
Color values
| HEX | #286A2F |
|---|---|
| RGB | rgb(40, 106, 47) |
| HSL | hsl(126, 45%, 29%) |
| HSV | hsv(126, 62%, 42%) |
| CMYK | cmyk(62.3%, 0%, 55.7%, 58.4%) |
| CIE-LAB | lab(39.52, -34.40, 26.78) |
| CIE-LCH | lch(39.52, 43.60, 142.10°) |
| OKLab | oklab(46.7% -0.0932 0.0643) |
| OKLCH | oklch(46.7% 0.113 145.4) |
| XYZ | xyz(6.5418, 10.9638, 4.4603) |
| Luminance | 0.1096 (WCAG relative) |
| Temperature | neutral |
| Family | green |
Closest named colors
Forest Green
#2D5A27
ΔE00 5.56
Pine
#2B5D34
ΔE00 5.60
Darkish Green
#287C37
ΔE00 6.20
Darkgreen
#006400
ΔE00 6.32
Spruce
#0A5F38
ΔE00 6.55
Deep Green
#02590F
ΔE00 6.67
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#286A2F #6A2863
analogous
#426A28 #286A2F #286A50
triadic
#286A2F #2F286A #6A2F28
tetradic
#286A2F #28426A #6A2863 #6A5028
square
#286A2F #28426A #6A2863 #6A5028
split-complementary
#286A2F #50286A #6A2842
monochromatic
#08160A #173E1B #286A2F #399643 #50BD5B
Accessibility & contrast
On white
6.58
#286A2F on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.19
#286A2F on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #286A2F
6.58:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##286A2F | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##286A2F | 1.00 | 6.58 | 3.19 | 6.58 |
| #FFFFFF | 6.58 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.19 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 6.58 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#6C612A
Deuteranopia (green-blind)
#635B33
Tritanopia (blue-blind)
#1A675D
Achromatopsia (no color)
#5D5D5D
Design tokens & code
CSS
--color: #286a2f; /* rgb */ color: rgb(40, 106, 47); /* oklch */ color: oklch(46.7% 0.113 145.4);
Tailwind
colors: {
custom: {
50: '#6a9569',
500: '#286a2f',
950: '#000000',
},
}SCSS
$custom: #286a2f; $custom-light: #6a9569; $custom-dark: #000000;
JSON
{
"hex": "#286a2f",
"rgb": {
"r": 40,
"g": 106,
"b": 47
},
"hsl": {
"h": 126.364,
"s": 45.205,
"l": 28.627
},
"oklch": {
"l": 0.46702,
"c": 0.1132,
"h": 145.4
},
"luminance": 0.10964
}Semantic roles & 50–950 ramp
primary
#286A2F
secondary
#9D5195
accent
#53C7D5
background
#F6F9F6
surface
#EBF2EB
border
#C6CCC6
text
#070D06
muted
#7A7E7A