#286A1C#286A1C
#286A1C is a mid, vivid green. Relative luminance 0.108; OKLCH L 46.5% C 0.130 H 140.8°. Best body text is #FFFFFF at 6.63:1 contrast (WCAG AA passes).
Color values
| HEX | #286A1C |
|---|---|
| RGB | rgb(40, 106, 28) |
| HSL | hsl(111, 58%, 26%) |
| HSV | hsv(111, 74%, 42%) |
| CMYK | cmyk(62.3%, 0%, 73.6%, 58.4%) |
| CIE-LAB | lab(39.31, -36.73, 35.90) |
| CIE-LCH | lch(39.31, 51.36, 135.66°) |
| OKLab | oklab(46.47% -0.1005 0.0819) |
| OKLCH | oklch(46.47% 0.13 140.8) |
| XYZ | xyz(6.2384, 10.8425, 2.8624) |
| Luminance | 0.1084 (WCAG relative) |
| Temperature | neutral |
| Family | green |
Closest named colors
Darkgreen
#006400
ΔE00 3.68
Deep Green
#02590F
ΔE00 6.05
Forest Green
#2D5A27
ΔE00 6.76
Darkish Green
#287C37
ΔE00 6.82
Forest
#0B5509
ΔE00 6.99
Tree Green
#2A7E19
ΔE00 7.10
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#286A1C #5E1C6A
analogous
#4F6A1C #286A1C #1C6A37
triadic
#286A1C #1C286A #6A1C28
tetradic
#286A1C #1C4F6A #5E1C6A #6A371C
square
#286A1C #1C4F6A #5E1C6A #6A371C
split-complementary
#286A1C #371C6A #6A1C4F
monochromatic
#091806 #163A0F #286A1C #3A9A29 #4DCA36
Accessibility & contrast
On white
6.63
#286A1C on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.17
#286A1C on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #286A1C
6.63:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##286A1C | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##286A1C | 1.00 | 6.63 | 3.17 | 6.63 |
| #FFFFFF | 6.63 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.17 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 6.63 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#6D6010
Deuteranopia (green-blind)
#655A23
Tritanopia (blue-blind)
#1F665A
Achromatopsia (no color)
#5D5D5D
Design tokens & code
CSS
--color: #286a1c; /* rgb */ color: rgb(40, 106, 28); /* oklch */ color: oklch(46.5% 0.130 140.8);
Tailwind
colors: {
custom: {
50: '#6b955d',
500: '#286a1c',
950: '#000000',
},
}SCSS
$custom: #286a1c; $custom-light: #6b955d; $custom-dark: #000000;
JSON
{
"hex": "#286a1c",
"rgb": {
"r": 40,
"g": 106,
"b": 28
},
"hsl": {
"h": 110.769,
"s": 58.209,
"l": 26.275
},
"oklch": {
"l": 0.46466,
"c": 0.12965,
"h": 140.8
},
"luminance": 0.10843
}Semantic roles & 50–950 ramp
primary
#286A1C
secondary
#91439F
accent
#46E1CA
background
#F6F9F5
surface
#ECF2E9
border
#C7CCC5
text
#070D04
muted
#7A7E79