#286917#286917
#286917 is a mid, vivid green. Relative luminance 0.106; OKLCH L 46.1% C 0.132 H 140.0°. Best body text is #FFFFFF at 6.72:1 contrast (WCAG AA passes).
Color values
| HEX | #286917 |
|---|---|
| RGB | rgb(40, 105, 23) |
| HSL | hsl(108, 64%, 25%) |
| HSV | hsv(108, 78%, 41%) |
| CMYK | cmyk(61.9%, 0%, 78.1%, 58.8%) |
| CIE-LAB | lab(38.93, -36.77, 37.56) |
| CIE-LCH | lch(38.93, 52.56, 134.39°) |
| OKLab | oklab(46.13% -0.1009 0.0846) |
| OKLCH | oklch(46.13% 0.132 140) |
| XYZ | xyz(6.0810, 10.6156, 2.5390) |
| Luminance | 0.1062 (WCAG relative) |
| Temperature | neutral |
| Family | green |
Closest named colors
Darkgreen
#006400
ΔE00 3.27
Deep Green
#02590F
ΔE00 5.91
Forest
#0B5509
ΔE00 6.75
Forest Green
#2D5A27
ΔE00 6.89
Tree Green
#2A7E19
ΔE00 7.26
Darkish Green
#287C37
ΔE00 7.42
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#286917 #581769
analogous
#516917 #286917 #17692F
triadic
#286917 #172869 #691728
tetradic
#286917 #175169 #581769 #692F17
square
#286917 #175169 #581769 #692F17
split-complementary
#286917 #2F1769 #691751
monochromatic
#0A1905 #15370C #286917 #3B9B22 #4ECD2D
Accessibility & contrast
On white
6.72
#286917 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.12
#286917 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #286917
6.72:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##286917 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##286917 | 1.00 | 6.72 | 3.12 | 6.72 |
| #FFFFFF | 6.72 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.12 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 6.72 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#6C5F07
Deuteranopia (green-blind)
#645A20
Tritanopia (blue-blind)
#206559
Achromatopsia (no color)
#5C5C5C
Design tokens & code
CSS
--color: #286917; /* rgb */ color: rgb(40, 105, 23); /* oklch */ color: oklch(46.1% 0.132 140.0);
Tailwind
colors: {
custom: {
50: '#6b945a',
500: '#286917',
950: '#000000',
},
}SCSS
$custom: #286917; $custom-light: #6b945a; $custom-dark: #000000;
JSON
{
"hex": "#286917",
"rgb": {
"r": 40,
"g": 105,
"b": 23
},
"hsl": {
"h": 107.561,
"s": 64.063,
"l": 25.098
},
"oklch": {
"l": 0.46133,
"c": 0.13171,
"h": 140
},
"luminance": 0.10616
}Semantic roles & 50–950 ramp
primary
#286917
secondary
#8B3D9F
accent
#41E7C5
background
#F6F9F5
surface
#ECF1E9
border
#C7CBC5
text
#070D04
muted
#7A7E79