#286E28#286E28
#286E28 is a mid, vivid green. Relative luminance 0.118; OKLCH L 47.8% C 0.125 H 143.3°. Best body text is #FFFFFF at 6.27:1 contrast (WCAG AA passes).
Color values
| HEX | #286E28 |
|---|---|
| RGB | rgb(40, 110, 40) |
| HSL | hsl(120, 47%, 29%) |
| HSV | hsv(120, 64%, 43%) |
| CMYK | cmyk(63.6%, 0%, 63.6%, 56.9%) |
| CIE-LAB | lab(40.82, -37.03, 31.96) |
| CIE-LCH | lch(40.82, 48.91, 139.20°) |
| OKLab | oklab(47.75% -0.1006 0.075) |
| OKLCH | oklch(47.75% 0.125 143.3) |
| XYZ | xyz(6.8336, 11.7555, 3.9160) |
| Luminance | 0.1176 (WCAG relative) |
| Temperature | neutral |
| Family | green |
Closest named colors
Darkish Green
#287C37
ΔE00 4.97
Darkgreen
#006400
ΔE00 5.36
Tree Green
#2A7E19
ΔE00 6.63
Forest Green
#2D5A27
ΔE00 7.21
Deep Green
#02590F
ΔE00 7.24
Pine
#2B5D34
ΔE00 7.86
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#286E28 #6E286E
analogous
#4B6E28 #286E28 #286E4B
triadic
#286E28 #28286E #6E2828
tetradic
#286E28 #284B6E #6E286E #6E4B28
square
#286E28 #284B6E #6E286E #6E4B28
split-complementary
#286E28 #4B286E #6E284B
monochromatic
#081608 #184118 #286E28 #389B38 #51C051
Accessibility & contrast
On white
6.27
#286E28 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.35
#286E28 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #286E28
6.27:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##286E28 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##286E28 | 1.00 | 6.27 | 3.35 | 6.27 |
| #FFFFFF | 6.27 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.35 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 6.27 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#706420
Deuteranopia (green-blind)
#685E2E
Tritanopia (blue-blind)
#1B6B5F
Achromatopsia (no color)
#606060
Design tokens & code
CSS
--color: #286e28; /* rgb */ color: rgb(40, 110, 40); /* oklch */ color: oklch(47.8% 0.125 143.3);
Tailwind
colors: {
custom: {
50: '#6b9865',
500: '#286e28',
950: '#000000',
},
}SCSS
$custom: #286e28; $custom-light: #6b9865; $custom-dark: #000000;
JSON
{
"hex": "#286e28",
"rgb": {
"r": 40,
"g": 110,
"b": 40
},
"hsl": {
"h": 120,
"s": 46.667,
"l": 29.412
},
"oklch": {
"l": 0.47751,
"c": 0.12545,
"h": 143.3
},
"luminance": 0.11756
}Semantic roles & 50–950 ramp
primary
#286E28
secondary
#A051A0
accent
#51D6D6
background
#F6F9F6
surface
#ECF2EB
border
#C7CCC6
text
#070E06
muted
#7A7E7A