#286D1F#286D1F
#286D1F is a mid, vivid green. Relative luminance 0.115; OKLCH L 47.4% C 0.131 H 141.4°. Best body text is #FFFFFF at 6.37:1 contrast (WCAG AA passes).
Color values
| HEX | #286D1F |
|---|---|
| RGB | rgb(40, 109, 31) |
| HSL | hsl(113, 56%, 27%) |
| HSV | hsv(113, 72%, 43%) |
| CMYK | cmyk(63.3%, 0%, 71.6%, 57.3%) |
| CIE-LAB | lab(40.39, -37.64, 35.72) |
| CIE-LCH | lch(40.39, 51.89, 136.50°) |
| OKLab | oklab(47.36% -0.1028 0.0819) |
| OKLCH | oklch(47.36% 0.131 141.4) |
| XYZ | xyz(6.5907, 11.4867, 3.1659) |
| Luminance | 0.1149 (WCAG relative) |
| Temperature | neutral |
| Family | green |
Closest named colors
Darkgreen
#006400
ΔE00 4.32
Darkish Green
#287C37
ΔE00 5.83
Tree Green
#2A7E19
ΔE00 6.22
Deep Green
#02590F
ΔE00 6.90
Forest Green
#2D5A27
ΔE00 7.49
Green
#008000
ΔE00 7.54
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#286D1F #641F6D
analogous
#4F6D1F #286D1F #1F6D3D
triadic
#286D1F #1F286D #6D1F28
tetradic
#286D1F #1F4F6D #641F6D #6D3D1F
square
#286D1F #1F4F6D #641F6D #6D3D1F
split-complementary
#286D1F #3D1F6D #6D1F4F
monochromatic
#091807 #173D11 #286D1F #399D2D #4EC83E
Accessibility & contrast
On white
6.37
#286D1F on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.30
#286D1F on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #286D1F
6.37:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##286D1F | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##286D1F | 1.00 | 6.37 | 3.30 | 6.37 |
| #FFFFFF | 6.37 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.30 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 6.37 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#706314
Deuteranopia (green-blind)
#675D26
Tritanopia (blue-blind)
#1D6A5D
Achromatopsia (no color)
#5F5F5F
Design tokens & code
CSS
--color: #286d1f; /* rgb */ color: rgb(40, 109, 31); /* oklch */ color: oklch(47.4% 0.131 141.4);
Tailwind
colors: {
custom: {
50: '#6b975f',
500: '#286d1f',
950: '#000000',
},
}SCSS
$custom: #286d1f; $custom-light: #6b975f; $custom-dark: #000000;
JSON
{
"hex": "#286d1f",
"rgb": {
"r": 40,
"g": 109,
"b": 31
},
"hsl": {
"h": 113.077,
"s": 55.714,
"l": 27.451
},
"oklch": {
"l": 0.47362,
"c": 0.13142,
"h": 141.4
},
"luminance": 0.11487
}Semantic roles & 50–950 ramp
primary
#286D1F
secondary
#9747A1
accent
#49DFCE
background
#F6F9F5
surface
#ECF2E9
border
#C7CCC5
text
#070E05
muted
#7A7E79