#286A1F#286A1F
#286A1F is a mid, vivid green. Relative luminance 0.109; OKLCH L 46.5% C 0.127 H 141.4°. Best body text is #FFFFFF at 6.62:1 contrast (WCAG AA passes).
Color values
| HEX | #286A1F |
|---|---|
| RGB | rgb(40, 106, 31) |
| HSL | hsl(113, 55%, 27%) |
| HSV | hsv(113, 71%, 42%) |
| CMYK | cmyk(62.3%, 0%, 70.8%, 58.4%) |
| CIE-LAB | lab(39.34, -36.44, 34.60) |
| CIE-LCH | lch(39.34, 50.25, 136.48°) |
| OKLab | oklab(46.5% -0.0995 0.0796) |
| OKLCH | oklch(46.5% 0.127 141.4) |
| XYZ | xyz(6.2761, 10.8575, 3.0610) |
| Luminance | 0.1086 (WCAG relative) |
| Temperature | neutral |
| Family | green |
Closest named colors
Darkgreen
#006400
ΔE00 3.93
Deep Green
#02590F
ΔE00 6.01
Forest Green
#2D5A27
ΔE00 6.49
Darkish Green
#287C37
ΔE00 6.62
Forest
#0B5509
ΔE00 6.99
Tree Green
#2A7E19
ΔE00 7.26
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#286A1F #611F6A
analogous
#4E6A1F #286A1F #1F6A3C
triadic
#286A1F #1F286A #6A1F28
tetradic
#286A1F #1F4E6A #611F6A #6A3C1F
square
#286A1F #1F4E6A #611F6A #6A3C1F
split-complementary
#286A1F #3C1F6A #6A1F4E
monochromatic
#091807 #163B11 #286A1F #3A992D #4EC63D
Accessibility & contrast
On white
6.62
#286A1F on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.17
#286A1F on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #286A1F
6.62:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##286A1F | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##286A1F | 1.00 | 6.62 | 3.17 | 6.62 |
| #FFFFFF | 6.62 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.17 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 6.62 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#6D6015
Deuteranopia (green-blind)
#645B26
Tritanopia (blue-blind)
#1E675B
Achromatopsia (no color)
#5D5D5D
Design tokens & code
CSS
--color: #286a1f; /* rgb */ color: rgb(40, 106, 31); /* oklch */ color: oklch(46.5% 0.127 141.4);
Tailwind
colors: {
custom: {
50: '#6a955f',
500: '#286a1f',
950: '#000000',
},
}SCSS
$custom: #286a1f; $custom-light: #6a955f; $custom-dark: #000000;
JSON
{
"hex": "#286a1f",
"rgb": {
"r": 40,
"g": 106,
"b": 31
},
"hsl": {
"h": 112.8,
"s": 54.745,
"l": 26.863
},
"oklch": {
"l": 0.46496,
"c": 0.12741,
"h": 141.4
},
"luminance": 0.10858
}Semantic roles & 50–950 ramp
primary
#286A1F
secondary
#94479E
accent
#4ADECC
background
#F6F9F5
surface
#ECF2E9
border
#C7CCC5
text
#070D05
muted
#7A7E79