#286F1E#286F1E
#286F1E is a mid, vivid green. Relative luminance 0.119; OKLCH L 47.9% C 0.135 H 141.3°. Best body text is #FFFFFF at 6.21:1 contrast (WCAG AA passes).
Color values
| HEX | #286F1E |
|---|---|
| RGB | rgb(40, 111, 30) |
| HSL | hsl(113, 57%, 28%) |
| HSV | hsv(113, 73%, 44%) |
| CMYK | cmyk(64%, 0%, 73%, 56.5%) |
| CIE-LAB | lab(41.08, -38.52, 36.89) |
| CIE-LCH | lch(41.08, 53.33, 136.24°) |
| OKLab | oklab(47.93% -0.1052 0.0842) |
| OKLCH | oklch(47.93% 0.135 141.3) |
| XYZ | xyz(6.7935, 11.9131, 3.1695) |
| Luminance | 0.1191 (WCAG relative) |
| Temperature | neutral |
| Family | green |
Closest named colors
Darkgreen
#006400
ΔE00 4.64
Darkish Green
#287C37
ΔE00 5.44
Tree Green
#2A7E19
ΔE00 5.48
Green
#008000
ΔE00 6.81
Dark Grass Green
#388004
ΔE00 7.42
Deep Green
#02590F
ΔE00 7.55
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#286F1E #651E6F
analogous
#506F1E #286F1E #1E6F3D
triadic
#286F1E #1E286F #6F1E28
tetradic
#286F1E #1E506F #651E6F #6F3D1E
square
#286F1E #1E506F #651E6F #6F3D1E
split-complementary
#286F1E #3D1E6F #6F1E50
monochromatic
#091807 #173F11 #286F1E #399F2B #4ECB3D
Accessibility & contrast
On white
6.21
#286F1E on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.38
#286F1E on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #286F1E
6.21:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##286F1E | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##286F1E | 1.00 | 6.21 | 3.38 | 6.21 |
| #FFFFFF | 6.21 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.38 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 6.21 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#726412
Deuteranopia (green-blind)
#695F26
Tritanopia (blue-blind)
#1D6B5F
Achromatopsia (no color)
#616161
Design tokens & code
CSS
--color: #286f1e; /* rgb */ color: rgb(40, 111, 30); /* oklch */ color: oklch(47.9% 0.135 141.3);
Tailwind
colors: {
custom: {
50: '#6c995f',
500: '#286f1e',
950: '#000000',
},
}SCSS
$custom: #286f1e; $custom-light: #6c995f; $custom-dark: #000000;
JSON
{
"hex": "#286f1e",
"rgb": {
"r": 40,
"g": 111,
"b": 30
},
"hsl": {
"h": 112.593,
"s": 57.447,
"l": 27.647
},
"oklch": {
"l": 0.47929,
"c": 0.13479,
"h": 141.3
},
"luminance": 0.11914
}Semantic roles & 50–950 ramp
primary
#286F1E
secondary
#9846A3
accent
#47E1CE
background
#F6F9F5
surface
#ECF2E9
border
#C7CCC5
text
#070E05
muted
#7A7E79