#286B18#286B18
#286B18 is a mid, vivid green. Relative luminance 0.110; OKLCH L 46.7% C 0.134 H 140.3°. Best body text is #FFFFFF at 6.55:1 contrast (WCAG AA passes).
Color values
| HEX | #286B18 |
|---|---|
| RGB | rgb(40, 107, 24) |
| HSL | hsl(108, 63%, 26%) |
| HSV | hsv(108, 78%, 42%) |
| CMYK | cmyk(62.6%, 0%, 77.6%, 58%) |
| CIE-LAB | lab(39.63, -37.48, 37.88) |
| CIE-LCH | lch(39.63, 53.29, 134.70°) |
| OKLab | oklab(46.72% -0.1028 0.0855) |
| OKLCH | oklch(46.72% 0.134 140.3) |
| XYZ | xyz(6.2973, 11.0319, 2.6615) |
| Luminance | 0.1103 (WCAG relative) |
| Temperature | neutral |
| Family | green |
Closest named colors
Darkgreen
#006400
ΔE00 3.58
Deep Green
#02590F
ΔE00 6.46
Tree Green
#2A7E19
ΔE00 6.61
Darkish Green
#287C37
ΔE00 6.86
Forest
#0B5509
ΔE00 7.36
Forest Green
#2D5A27
ΔE00 7.41
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#286B18 #5B186B
analogous
#516B18 #286B18 #186B31
triadic
#286B18 #18286B #6B1828
tetradic
#286B18 #18516B #5B186B #6B3118
square
#286B18 #18516B #5B186B #6B3118
split-complementary
#286B18 #31186B #6B1851
monochromatic
#091906 #15390D #286B18 #3B9D23 #4DCF2E
Accessibility & contrast
On white
6.55
#286B18 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.21
#286B18 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #286B18
6.55:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##286B18 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##286B18 | 1.00 | 6.55 | 3.21 | 6.55 |
| #FFFFFF | 6.55 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.21 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 6.55 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#6E6108
Deuteranopia (green-blind)
#665B21
Tritanopia (blue-blind)
#1F675B
Achromatopsia (no color)
#5D5D5D
Design tokens & code
CSS
--color: #286b18; /* rgb */ color: rgb(40, 107, 24); /* oklch */ color: oklch(46.7% 0.134 140.3);
Tailwind
colors: {
custom: {
50: '#6b965b',
500: '#286b18',
950: '#000000',
},
}SCSS
$custom: #286b18; $custom-light: #6b965b; $custom-dark: #000000;
JSON
{
"hex": "#286b18",
"rgb": {
"r": 40,
"g": 107,
"b": 24
},
"hsl": {
"h": 108.434,
"s": 63.359,
"l": 25.686
},
"oklch": {
"l": 0.46721,
"c": 0.13366,
"h": 140.3
},
"luminance": 0.11032
}Semantic roles & 50–950 ramp
primary
#286B18
secondary
#8E3EA1
accent
#41E6C7
background
#F6F9F5
surface
#ECF2E9
border
#C7CCC5
text
#070D04
muted
#7A7E79