#286B2F#286B2F
#286B2F is a mid, moderate green. Relative luminance 0.112; OKLCH L 47.0% C 0.115 H 145.3°. Best body text is #FFFFFF at 6.49:1 contrast (WCAG AA passes).
Color values
| HEX | #286B2F |
|---|---|
| RGB | rgb(40, 107, 47) |
| HSL | hsl(126, 46%, 29%) |
| HSV | hsv(126, 63%, 42%) |
| CMYK | cmyk(62.6%, 0%, 56.1%, 58%) |
| CIE-LAB | lab(39.87, -34.82, 27.20) |
| CIE-LCH | lch(39.87, 44.19, 142.01°) |
| OKLab | oklab(46.99% -0.0943 0.0652) |
| OKLCH | oklch(46.99% 0.115 145.3) |
| XYZ | xyz(6.6454, 11.1711, 4.4948) |
| Luminance | 0.1117 (WCAG relative) |
| Temperature | neutral |
| Family | green |
Closest named colors
Darkish Green
#287C37
ΔE00 5.85
Forest Green
#2D5A27
ΔE00 5.89
Pine
#2B5D34
ΔE00 5.95
Darkgreen
#006400
ΔE00 6.30
Spruce
#0A5F38
ΔE00 6.84
Deep Green
#02590F
ΔE00 6.87
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#286B2F #6B2864
analogous
#436B28 #286B2F #286B51
triadic
#286B2F #2F286B #6B2F28
tetradic
#286B2F #28436B #6B2864 #6B5128
square
#286B2F #28436B #6B2864 #6B5128
split-complementary
#286B2F #51286B #6B2843
monochromatic
#08160A #173E1B #286B2F #399843 #50BE5B
Accessibility & contrast
On white
6.49
#286B2F on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.23
#286B2F on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #286B2F
6.49:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##286B2F | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##286B2F | 1.00 | 6.49 | 3.23 | 6.49 |
| #FFFFFF | 6.49 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.23 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 6.49 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#6D622A
Deuteranopia (green-blind)
#645C33
Tritanopia (blue-blind)
#1A685D
Achromatopsia (no color)
#5E5E5E
Design tokens & code
CSS
--color: #286b2f; /* rgb */ color: rgb(40, 107, 47); /* oklch */ color: oklch(47.0% 0.115 145.3);
Tailwind
colors: {
custom: {
50: '#6a9669',
500: '#286b2f',
950: '#000000',
},
}SCSS
$custom: #286b2f; $custom-light: #6a9669; $custom-dark: #000000;
JSON
{
"hex": "#286b2f",
"rgb": {
"r": 40,
"g": 107,
"b": 47
},
"hsl": {
"h": 126.269,
"s": 45.578,
"l": 28.824
},
"oklch": {
"l": 0.46989,
"c": 0.11467,
"h": 145.3
},
"luminance": 0.11172
}Semantic roles & 50–950 ramp
primary
#286B2F
secondary
#9D5196
accent
#53C8D5
background
#F6F9F6
surface
#EBF2EB
border
#C6CCC6
text
#070D06
muted
#7A7E7A