#286C1A#286C1A
#286C1A is a mid, vivid green. Relative luminance 0.113; OKLCH L 47.0% C 0.134 H 140.6°. Best body text is #FFFFFF at 6.46:1 contrast (WCAG AA passes).
Color values
| HEX | #286C1A |
|---|---|
| RGB | rgb(40, 108, 26) |
| HSL | hsl(110, 61%, 26%) |
| HSV | hsv(110, 76%, 42%) |
| CMYK | cmyk(63%, 0%, 75.9%, 57.6%) |
| CIE-LAB | lab(40.00, -37.71, 37.45) |
| CIE-LCH | lch(40.00, 53.14, 135.20°) |
| OKLab | oklab(47.03% -0.1033 0.0848) |
| OKLCH | oklch(47.03% 0.134 140.6) |
| XYZ | xyz(6.4238, 11.2502, 2.8101) |
| Luminance | 0.1125 (WCAG relative) |
| Temperature | neutral |
| Family | green |
Closest named colors
Darkgreen
#006400
ΔE00 3.84
Tree Green
#2A7E19
ΔE00 6.33
Darkish Green
#287C37
ΔE00 6.47
Deep Green
#02590F
ΔE00 6.71
Green
#008000
ΔE00 7.56
Forest Green
#2D5A27
ΔE00 7.56
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#286C1A #5E1A6C
analogous
#516C1A #286C1A #1A6C35
triadic
#286C1A #1A286C #6C1A28
tetradic
#286C1A #1A516C #5E1A6C #6C351A
square
#286C1A #1A516C #5E1A6C #6C351A
split-complementary
#286C1A #351A6C #6C1A51
monochromatic
#091906 #163B0E #286C1A #3A9D26 #4DCE33
Accessibility & contrast
On white
6.46
#286C1A on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.25
#286C1A on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #286C1A
6.46:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##286C1A | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##286C1A | 1.00 | 6.46 | 3.25 | 6.46 |
| #FFFFFF | 6.46 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.25 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 6.46 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#6F620C
Deuteranopia (green-blind)
#675C22
Tritanopia (blue-blind)
#1E685C
Achromatopsia (no color)
#5E5E5E
Design tokens & code
CSS
--color: #286c1a; /* rgb */ color: rgb(40, 108, 26); /* oklch */ color: oklch(47.0% 0.134 140.6);
Tailwind
colors: {
custom: {
50: '#6b975c',
500: '#286c1a',
950: '#000000',
},
}SCSS
$custom: #286c1a; $custom-light: #6b975c; $custom-dark: #000000;
JSON
{
"hex": "#286c1a",
"rgb": {
"r": 40,
"g": 108,
"b": 26
},
"hsl": {
"h": 109.756,
"s": 61.194,
"l": 26.275
},
"oklch": {
"l": 0.47027,
"c": 0.13364,
"h": 140.6
},
"luminance": 0.11251
}Semantic roles & 50–950 ramp
primary
#286C1A
secondary
#9141A1
accent
#43E4C9
background
#F6F9F5
surface
#ECF2E9
border
#C7CCC5
text
#070D04
muted
#7A7E79