#286C17#286C17
#286C17 is a mid, vivid green. Relative luminance 0.112; OKLCH L 47.0% C 0.136 H 140.2°. Best body text is #FFFFFF at 6.47:1 contrast (WCAG AA passes).
Color values
| HEX | #286C17 |
|---|---|
| RGB | rgb(40, 108, 23) |
| HSL | hsl(108, 65%, 26%) |
| HSV | hsv(108, 79%, 42%) |
| CMYK | cmyk(63%, 0%, 78.7%, 57.6%) |
| CIE-LAB | lab(39.98, -37.95, 38.61) |
| CIE-LCH | lch(39.98, 54.14, 134.51°) |
| OKLab | oklab(47% -0.1041 0.0868) |
| OKLCH | oklch(47% 0.136 140.2) |
| XYZ | xyz(6.3920, 11.2375, 2.6427) |
| Luminance | 0.1124 (WCAG relative) |
| Temperature | neutral |
| Family | green |
Closest named colors
Darkgreen
#006400
ΔE00 3.73
Tree Green
#2A7E19
ΔE00 6.24
Darkish Green
#287C37
ΔE00 6.71
Deep Green
#02590F
ΔE00 6.80
Green
#008000
ΔE00 7.41
Forest
#0B5509
ΔE00 7.70
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#286C17 #5B176C
analogous
#526C17 #286C17 #176C30
triadic
#286C17 #17286C #6C1728
tetradic
#286C17 #17526C #5B176C #6C3017
square
#286C17 #17526C #5B176C #6C3017
split-complementary
#286C17 #30176C #6C1752
monochromatic
#091905 #153A0C #286C17 #3B9E22 #4DD12C
Accessibility & contrast
On white
6.47
#286C17 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.25
#286C17 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #286C17
6.47:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##286C17 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##286C17 | 1.00 | 6.47 | 3.25 | 6.47 |
| #FFFFFF | 6.47 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.25 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 6.47 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#6F6206
Deuteranopia (green-blind)
#675C20
Tritanopia (blue-blind)
#1F685C
Achromatopsia (no color)
#5E5E5E
Design tokens & code
CSS
--color: #286c17; /* rgb */ color: rgb(40, 108, 23); /* oklch */ color: oklch(47.0% 0.136 140.2);
Tailwind
colors: {
custom: {
50: '#6b975b',
500: '#286c17',
950: '#000000',
},
}SCSS
$custom: #286c17; $custom-light: #6b975b; $custom-dark: #000000;
JSON
{
"hex": "#286c17",
"rgb": {
"r": 40,
"g": 108,
"b": 23
},
"hsl": {
"h": 108,
"s": 64.885,
"l": 25.686
},
"oklch": {
"l": 0.47003,
"c": 0.13556,
"h": 140.2
},
"luminance": 0.11238
}Semantic roles & 50–950 ramp
primary
#286C17
secondary
#8E3DA2
accent
#40E8C6
background
#F6F9F5
surface
#ECF2E9
border
#C7CCC5
text
#070D04
muted
#7A7E79