#286718#286718
#286718 is a mid, vivid green. Relative luminance 0.102; OKLCH L 45.6% C 0.128 H 140.0°. Best body text is #FFFFFF at 6.90:1 contrast (WCAG AA passes).
Color values
| HEX | #286718 |
|---|---|
| RGB | rgb(40, 103, 24) |
| HSL | hsl(108, 62%, 25%) |
| HSV | hsv(108, 77%, 40%) |
| CMYK | cmyk(61.2%, 0%, 76.7%, 59.6%) |
| CIE-LAB | lab(38.23, -35.89, 36.46) |
| CIE-LCH | lch(38.23, 51.16, 134.55°) |
| OKLab | oklab(45.56% -0.0985 0.0825) |
| OKLCH | oklch(45.56% 0.128 140) |
| XYZ | xyz(5.8899, 10.2170, 2.5257) |
| Luminance | 0.1022 (WCAG relative) |
| Temperature | neutral |
| Family | green |
Closest named colors
Darkgreen
#006400
ΔE00 3.19
Deep Green
#02590F
ΔE00 5.31
Forest
#0B5509
ΔE00 6.11
Forest Green
#2D5A27
ΔE00 6.20
Navy Green
#35530A
ΔE00 7.77
Camouflage Green
#4B6113
ΔE00 7.86
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#286718 #571867
analogous
#506718 #286718 #18672F
triadic
#286718 #182867 #671828
tetradic
#286718 #185067 #571867 #672F18
square
#286718 #185067 #571867 #672F18
split-complementary
#286718 #2F1867 #671850
monochromatic
#0A1906 #15350C #286718 #3B9924 #4FCA2F
Accessibility & contrast
On white
6.90
#286718 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.04
#286718 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #286718
6.90:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##286718 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##286718 | 1.00 | 6.90 | 3.04 | 6.90 |
| #FFFFFF | 6.90 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.04 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 6.90 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#6A5D0A
Deuteranopia (green-blind)
#625820
Tritanopia (blue-blind)
#206358
Achromatopsia (no color)
#5A5A5A
Design tokens & code
CSS
--color: #286718; /* rgb */ color: rgb(40, 103, 24); /* oklch */ color: oklch(45.6% 0.128 140.0);
Tailwind
colors: {
custom: {
50: '#6a935a',
500: '#286718',
950: '#000000',
},
}SCSS
$custom: #286718; $custom-light: #6a935a; $custom-dark: #000000;
JSON
{
"hex": "#286718",
"rgb": {
"r": 40,
"g": 103,
"b": 24
},
"hsl": {
"h": 107.848,
"s": 62.205,
"l": 24.902
},
"oklch": {
"l": 0.45561,
"c": 0.12846,
"h": 140
},
"luminance": 0.10218
}Semantic roles & 50–950 ramp
primary
#286718
secondary
#8A3E9D
accent
#43E5C4
background
#F6F9F5
surface
#ECF1E9
border
#C7CBC5
text
#070D04
muted
#7A7E79