#286B20#286B20
#286B20 is a mid, vivid green. Relative luminance 0.111; OKLCH L 46.8% C 0.128 H 141.6°. Best body text is #FFFFFF at 6.53:1 contrast (WCAG AA passes).
Color values
| HEX | #286B20 |
|---|---|
| RGB | rgb(40, 107, 32) |
| HSL | hsl(114, 54%, 27%) |
| HSV | hsv(114, 70%, 42%) |
| CMYK | cmyk(62.6%, 0%, 70.1%, 58%) |
| CIE-LAB | lab(39.70, -36.74, 34.53) |
| CIE-LCH | lch(39.70, 50.42, 136.77°) |
| OKLab | oklab(46.79% -0.1003 0.0796) |
| OKLCH | oklch(46.79% 0.128 141.6) |
| XYZ | xyz(6.3932, 11.0702, 3.1661) |
| Luminance | 0.1107 (WCAG relative) |
| Temperature | neutral |
| Family | green |
Closest named colors
Darkgreen
#006400
ΔE00 4.13
Darkish Green
#287C37
ΔE00 6.28
Deep Green
#02590F
ΔE00 6.29
Forest Green
#2D5A27
ΔE00 6.74
Tree Green
#2A7E19
ΔE00 6.98
Forest
#0B5509
ΔE00 7.31
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#286B20 #63206B
analogous
#4E6B20 #286B20 #206B3E
triadic
#286B20 #20286B #6B2028
tetradic
#286B20 #204E6B #63206B #6B3E20
square
#286B20 #204E6B #63206B #6B3E20
split-complementary
#286B20 #3E206B #6B204E
monochromatic
#091807 #163C12 #286B20 #3A9A2E #4EC640
Accessibility & contrast
On white
6.53
#286B20 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.21
#286B20 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #286B20
6.53:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##286B20 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##286B20 | 1.00 | 6.53 | 3.21 | 6.53 |
| #FFFFFF | 6.53 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.21 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 6.53 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#6E6116
Deuteranopia (green-blind)
#655B27
Tritanopia (blue-blind)
#1E685C
Achromatopsia (no color)
#5E5E5E
Design tokens & code
CSS
--color: #286b20; /* rgb */ color: rgb(40, 107, 32); /* oklch */ color: oklch(46.8% 0.128 141.6);
Tailwind
colors: {
custom: {
50: '#6b965f',
500: '#286b20',
950: '#000000',
},
}SCSS
$custom: #286b20; $custom-light: #6b965f; $custom-dark: #000000;
JSON
{
"hex": "#286b20",
"rgb": {
"r": 40,
"g": 107,
"b": 32
},
"hsl": {
"h": 113.6,
"s": 53.957,
"l": 27.255
},
"oklch": {
"l": 0.46795,
"c": 0.12799,
"h": 141.6
},
"luminance": 0.11071
}Semantic roles & 50–950 ramp
primary
#286B20
secondary
#96489F
accent
#4ADDCE
background
#F6F9F5
surface
#ECF2E9
border
#C7CCC5
text
#070D05
muted
#7A7E79