#286C1E#286C1E
#286C1E is a mid, vivid green. Relative luminance 0.113; OKLCH L 47.1% C 0.131 H 141.2°. Best body text is #FFFFFF at 6.45:1 contrast (WCAG AA passes).
Color values
| HEX | #286C1E |
|---|---|
| RGB | rgb(40, 108, 30) |
| HSL | hsl(112, 57%, 27%) |
| HSV | hsv(112, 72%, 42%) |
| CMYK | cmyk(63%, 0%, 72.2%, 57.6%) |
| CIE-LAB | lab(40.03, -37.34, 35.78) |
| CIE-LCH | lch(40.03, 51.72, 136.22°) |
| OKLab | oklab(47.06% -0.102 0.0819) |
| OKLCH | oklch(47.06% 0.131 141.2) |
| XYZ | xyz(6.4717, 11.2694, 3.0622) |
| Luminance | 0.1127 (WCAG relative) |
| Temperature | neutral |
| Family | green |
Closest named colors
Darkgreen
#006400
ΔE00 4.08
Darkish Green
#287C37
ΔE00 6.16
Tree Green
#2A7E19
ΔE00 6.51
Deep Green
#02590F
ΔE00 6.61
Forest Green
#2D5A27
ΔE00 7.24
Forest
#0B5509
ΔE00 7.61
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#286C1E #621E6C
analogous
#4F6C1E #286C1E #1E6C3B
triadic
#286C1E #1E286C #6C1E28
tetradic
#286C1E #1E4F6C #621E6C #6C3B1E
square
#286C1E #1E4F6C #621E6C #6C3B1E
split-complementary
#286C1E #3B1E6C #6C1E4F
monochromatic
#091807 #163C11 #286C1E #3A9C2B #4EC93C
Accessibility & contrast
On white
6.45
#286C1E on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.25
#286C1E on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #286C1E
6.45:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##286C1E | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##286C1E | 1.00 | 6.45 | 3.25 | 6.45 |
| #FFFFFF | 6.45 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.25 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 6.45 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#6F6213
Deuteranopia (green-blind)
#665C25
Tritanopia (blue-blind)
#1E685C
Achromatopsia (no color)
#5E5E5E
Design tokens & code
CSS
--color: #286c1e; /* rgb */ color: rgb(40, 108, 30); /* oklch */ color: oklch(47.1% 0.131 141.2);
Tailwind
colors: {
custom: {
50: '#6b975e',
500: '#286c1e',
950: '#000000',
},
}SCSS
$custom: #286c1e; $custom-light: #6b975e; $custom-dark: #000000;
JSON
{
"hex": "#286c1e",
"rgb": {
"r": 40,
"g": 108,
"b": 30
},
"hsl": {
"h": 112.308,
"s": 56.522,
"l": 27.059
},
"oklch": {
"l": 0.47064,
"c": 0.13084,
"h": 141.2
},
"luminance": 0.1127
}Semantic roles & 50–950 ramp
primary
#286C1E
secondary
#9545A0
accent
#48E0CC
background
#F6F9F5
surface
#ECF2E9
border
#C7CCC5
text
#070D05
muted
#7A7E79