#286D1B#286D1B
#286D1B is a mid, vivid green. Relative luminance 0.115; OKLCH L 47.3% C 0.134 H 140.8°. Best body text is #FFFFFF at 6.38:1 contrast (WCAG AA passes).
Color values
| HEX | #286D1B |
|---|---|
| RGB | rgb(40, 109, 27) |
| HSL | hsl(110, 60%, 27%) |
| HSV | hsv(110, 75%, 43%) |
| CMYK | cmyk(63.3%, 0%, 75.2%, 57.3%) |
| CIE-LAB | lab(40.36, -38.01, 37.40) |
| CIE-LCH | lch(40.36, 53.33, 135.46°) |
| OKLab | oklab(47.33% -0.104 0.0849) |
| OKLCH | oklch(47.33% 0.134 140.8) |
| XYZ | xyz(6.5412, 11.4669, 2.9053) |
| Luminance | 0.1147 (WCAG relative) |
| Temperature | neutral |
| Family | green |
Closest named colors
Darkgreen
#006400
ΔE00 4.08
Tree Green
#2A7E19
ΔE00 6.03
Darkish Green
#287C37
ΔE00 6.16
Deep Green
#02590F
ΔE00 6.99
Green
#008000
ΔE00 7.28
Dark Grass Green
#388004
ΔE00 7.80
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#286D1B #601B6D
analogous
#516D1B #286D1B #1B6D37
triadic
#286D1B #1B286D #6D1B28
tetradic
#286D1B #1B516D #601B6D #6D371B
square
#286D1B #1B516D #601B6D #6D371B
split-complementary
#286D1B #371B6D #6D1B51
monochromatic
#091906 #163C0F #286D1B #3A9E27 #4DCD35
Accessibility & contrast
On white
6.38
#286D1B on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.29
#286D1B on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #286D1B
6.38:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##286D1B | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##286D1B | 1.00 | 6.38 | 3.29 | 6.38 |
| #FFFFFF | 6.38 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.29 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 6.38 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#70630D
Deuteranopia (green-blind)
#675D23
Tritanopia (blue-blind)
#1E695D
Achromatopsia (no color)
#5F5F5F
Design tokens & code
CSS
--color: #286d1b; /* rgb */ color: rgb(40, 109, 27); /* oklch */ color: oklch(47.3% 0.134 140.8);
Tailwind
colors: {
custom: {
50: '#6b985d',
500: '#286d1b',
950: '#000000',
},
}SCSS
$custom: #286d1b; $custom-light: #6b985d; $custom-dark: #000000;
JSON
{
"hex": "#286d1b",
"rgb": {
"r": 40,
"g": 109,
"b": 27
},
"hsl": {
"h": 110.488,
"s": 60.294,
"l": 26.667
},
"oklch": {
"l": 0.47325,
"c": 0.13427,
"h": 140.8
},
"luminance": 0.11468
}Semantic roles & 50–950 ramp
primary
#286D1B
secondary
#9342A2
accent
#44E3CA
background
#F6F9F5
surface
#ECF2E9
border
#C7CCC5
text
#070E04
muted
#7A7E79