#286C24#286C24
#286C24 is a mid, vivid green. Relative luminance 0.113; OKLCH L 47.1% C 0.126 H 142.4°. Best body text is #FFFFFF at 6.44:1 contrast (WCAG AA passes).
Color values
| HEX | #286C24 |
|---|---|
| RGB | rgb(40, 108, 36) |
| HSL | hsl(117, 50%, 28%) |
| HSV | hsv(117, 67%, 42%) |
| CMYK | cmyk(63%, 0%, 66.7%, 57.6%) |
| CIE-LAB | lab(40.09, -36.70, 33.08) |
| CIE-LCH | lch(40.09, 49.41, 137.97°) |
| OKLab | oklab(47.13% -0.0999 0.077) |
| OKLCH | oklch(47.13% 0.126 142.4) |
| XYZ | xyz(6.5557, 11.3030, 3.5049) |
| Luminance | 0.1130 (WCAG relative) |
| Temperature | neutral |
| Family | green |
Closest named colors
Darkgreen
#006400
ΔE00 4.66
Darkish Green
#287C37
ΔE00 5.76
Deep Green
#02590F
ΔE00 6.59
Forest Green
#2D5A27
ΔE00 6.78
Tree Green
#2A7E19
ΔE00 6.93
Forest
#0B5509
ΔE00 7.67
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#286C24 #68246C
analogous
#4C6C24 #286C24 #246C44
triadic
#286C24 #24286C #6C2428
tetradic
#286C24 #244C6C #68246C #6C4424
square
#286C24 #244C6C #68246C #6C4424
split-complementary
#286C24 #44246C #6C244C
monochromatic
#081708 #173E15 #286C24 #399A33 #4FC248
Accessibility & contrast
On white
6.44
#286C24 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.26
#286C24 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #286C24
6.44:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##286C24 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##286C24 | 1.00 | 6.44 | 3.26 | 6.44 |
| #FFFFFF | 6.44 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.26 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 6.44 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#6F621B
Deuteranopia (green-blind)
#665C2A
Tritanopia (blue-blind)
#1D695D
Achromatopsia (no color)
#5E5E5E
Design tokens & code
CSS
--color: #286c24; /* rgb */ color: rgb(40, 108, 36); /* oklch */ color: oklch(47.1% 0.126 142.4);
Tailwind
colors: {
custom: {
50: '#6b9762',
500: '#286c24',
950: '#000000',
},
}SCSS
$custom: #286c24; $custom-light: #6b9762; $custom-dark: #000000;
JSON
{
"hex": "#286c24",
"rgb": {
"r": 40,
"g": 108,
"b": 36
},
"hsl": {
"h": 116.667,
"s": 50,
"l": 28.235
},
"oklch": {
"l": 0.47127,
"c": 0.12612,
"h": 142.4
},
"luminance": 0.11304
}Semantic roles & 50–950 ramp
primary
#286C24
secondary
#9B4D9F
accent
#4EDAD2
background
#F6F9F5
surface
#ECF2EA
border
#C7CCC6
text
#070D05
muted
#7A7E79