#286C18#286C18
#286C18 is a mid, vivid green. Relative luminance 0.112; OKLCH L 47.0% C 0.135 H 140.3°. Best body text is #FFFFFF at 6.46:1 contrast (WCAG AA passes).
Color values
| HEX | #286C18 |
|---|---|
| RGB | rgb(40, 108, 24) |
| HSL | hsl(109, 64%, 26%) |
| HSV | hsv(109, 78%, 42%) |
| CMYK | cmyk(63%, 0%, 77.8%, 57.6%) |
| CIE-LAB | lab(39.98, -37.87, 38.23) |
| CIE-LCH | lch(39.98, 53.81, 134.73°) |
| OKLab | oklab(47.01% -0.1038 0.0862) |
| OKLCH | oklch(47.01% 0.135 140.3) |
| XYZ | xyz(6.4022, 11.2416, 2.6964) |
| Luminance | 0.1124 (WCAG relative) |
| Temperature | neutral |
| Family | green |
Closest named colors
Darkgreen
#006400
ΔE00 3.76
Tree Green
#2A7E19
ΔE00 6.27
Darkish Green
#287C37
ΔE00 6.63
Deep Green
#02590F
ΔE00 6.77
Green
#008000
ΔE00 7.46
Forest
#0B5509
ΔE00 7.68
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#286C18 #5C186C
analogous
#526C18 #286C18 #186C32
triadic
#286C18 #18286C #6C1828
tetradic
#286C18 #18526C #5C186C #6C3218
square
#286C18 #18526C #5C186C #6C3218
split-complementary
#286C18 #32186C #6C1852
monochromatic
#091906 #153A0D #286C18 #3B9E23 #4DD02E
Accessibility & contrast
On white
6.46
#286C18 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.25
#286C18 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #286C18
6.46:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##286C18 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##286C18 | 1.00 | 6.46 | 3.25 | 6.46 |
| #FFFFFF | 6.46 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.25 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 6.46 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#6F6208
Deuteranopia (green-blind)
#675C21
Tritanopia (blue-blind)
#1F685C
Achromatopsia (no color)
#5E5E5E
Design tokens & code
CSS
--color: #286c18; /* rgb */ color: rgb(40, 108, 24); /* oklch */ color: oklch(47.0% 0.135 140.3);
Tailwind
colors: {
custom: {
50: '#6b975b',
500: '#286c18',
950: '#000000',
},
}SCSS
$custom: #286c18; $custom-light: #6b975b; $custom-dark: #000000;
JSON
{
"hex": "#286c18",
"rgb": {
"r": 40,
"g": 108,
"b": 24
},
"hsl": {
"h": 108.571,
"s": 63.636,
"l": 25.882
},
"oklch": {
"l": 0.47011,
"c": 0.13494,
"h": 140.3
},
"luminance": 0.11242
}Semantic roles & 50–950 ramp
primary
#286C18
secondary
#8F3EA2
accent
#41E7C7
background
#F6F9F5
surface
#ECF2E9
border
#C7CCC5
text
#070D04
muted
#7A7E79