#286918#286918
#286918 is a mid, vivid green. Relative luminance 0.106; OKLCH L 46.1% C 0.131 H 140.2°. Best body text is #FFFFFF at 6.72:1 contrast (WCAG AA passes).
Color values
| HEX | #286918 |
|---|---|
| RGB | rgb(40, 105, 24) |
| HSL | hsl(108, 63%, 25%) |
| HSV | hsv(108, 77%, 41%) |
| CMYK | cmyk(61.9%, 0%, 77.1%, 58.8%) |
| CIE-LAB | lab(38.93, -36.69, 37.17) |
| CIE-LCH | lch(38.93, 52.23, 134.62°) |
| OKLab | oklab(46.14% -0.1006 0.084) |
| OKLCH | oklch(46.14% 0.131 140.2) |
| XYZ | xyz(6.0912, 10.6197, 2.5928) |
| Luminance | 0.1062 (WCAG relative) |
| Temperature | neutral |
| Family | green |
Closest named colors
Darkgreen
#006400
ΔE00 3.32
Deep Green
#02590F
ΔE00 5.87
Forest
#0B5509
ΔE00 6.73
Forest Green
#2D5A27
ΔE00 6.80
Tree Green
#2A7E19
ΔE00 7.29
Darkish Green
#287C37
ΔE00 7.35
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#286918 #591869
analogous
#506918 #286918 #186930
triadic
#286918 #182869 #691828
tetradic
#286918 #185069 #591869 #693018
square
#286918 #185069 #591869 #693018
split-complementary
#286918 #301869 #691850
monochromatic
#091906 #15370D #286918 #3B9B23 #4ECD2F
Accessibility & contrast
On white
6.72
#286918 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.12
#286918 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #286918
6.72:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##286918 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##286918 | 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)
#6C5F09
Deuteranopia (green-blind)
#645A20
Tritanopia (blue-blind)
#206559
Achromatopsia (no color)
#5C5C5C
Design tokens & code
CSS
--color: #286918; /* rgb */ color: rgb(40, 105, 24); /* oklch */ color: oklch(46.1% 0.131 140.2);
Tailwind
colors: {
custom: {
50: '#6b945b',
500: '#286918',
950: '#000000',
},
}SCSS
$custom: #286918; $custom-light: #6b945b; $custom-dark: #000000;
JSON
{
"hex": "#286918",
"rgb": {
"r": 40,
"g": 105,
"b": 24
},
"hsl": {
"h": 108.148,
"s": 62.791,
"l": 25.294
},
"oklch": {
"l": 0.46141,
"c": 0.13108,
"h": 140.2
},
"luminance": 0.1062
}Semantic roles & 50–950 ramp
primary
#286918
secondary
#8C3E9F
accent
#42E6C5
background
#F6F9F5
surface
#ECF1E9
border
#C7CBC5
text
#070D04
muted
#7A7E79