#286D1C#286D1C
#286D1C is a mid, vivid green. Relative luminance 0.115; OKLCH L 47.3% C 0.134 H 140.9°. Best body text is #FFFFFF at 6.37:1 contrast (WCAG AA passes).
Color values
| HEX | #286D1C |
|---|---|
| RGB | rgb(40, 109, 28) |
| HSL | hsl(111, 59%, 27%) |
| HSV | hsv(111, 74%, 43%) |
| CMYK | cmyk(63.3%, 0%, 74.3%, 57.3%) |
| CIE-LAB | lab(40.36, -37.92, 36.99) |
| CIE-LCH | lch(40.36, 52.98, 135.71°) |
| OKLab | oklab(47.33% -0.1037 0.0842) |
| OKLCH | oklch(47.33% 0.134 140.9) |
| XYZ | xyz(6.5530, 11.4716, 2.9673) |
| Luminance | 0.1147 (WCAG relative) |
| Temperature | neutral |
| Family | green |
Closest named colors
Darkgreen
#006400
ΔE00 4.13
Tree Green
#2A7E19
ΔE00 6.07
Darkish Green
#287C37
ΔE00 6.07
Deep Green
#02590F
ΔE00 6.96
Green
#008000
ΔE00 7.34
Forest Green
#2D5A27
ΔE00 7.72
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#286D1C #611C6D
analogous
#516D1C #286D1C #1C6D39
triadic
#286D1C #1C286D #6D1C28
tetradic
#286D1C #1C516D #611C6D #6D391C
square
#286D1C #1C516D #611C6D #6D391C
split-complementary
#286D1C #391C6D #6D1C51
monochromatic
#091806 #163C0F #286D1C #3A9E29 #4ECC38
Accessibility & contrast
On white
6.37
#286D1C on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.29
#286D1C on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #286D1C
6.37:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##286D1C | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##286D1C | 1.00 | 6.37 | 3.29 | 6.37 |
| #FFFFFF | 6.37 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.29 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 6.37 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#70630F
Deuteranopia (green-blind)
#675D24
Tritanopia (blue-blind)
#1E695D
Achromatopsia (no color)
#5F5F5F
Design tokens & code
CSS
--color: #286d1c; /* rgb */ color: rgb(40, 109, 28); /* oklch */ color: oklch(47.3% 0.134 140.9);
Tailwind
colors: {
custom: {
50: '#6b985d',
500: '#286d1c',
950: '#000000',
},
}SCSS
$custom: #286d1c; $custom-light: #6b985d; $custom-dark: #000000;
JSON
{
"hex": "#286d1c",
"rgb": {
"r": 40,
"g": 109,
"b": 28
},
"hsl": {
"h": 111.111,
"s": 59.124,
"l": 26.863
},
"oklch": {
"l": 0.47334,
"c": 0.13358,
"h": 140.9
},
"luminance": 0.11472
}Semantic roles & 50–950 ramp
primary
#286D1C
secondary
#9443A2
accent
#45E2CB
background
#F6F9F5
surface
#ECF2E9
border
#C7CCC5
text
#070E04
muted
#7A7E79