#286E31#286E31
#286E31 is a mid, moderate green. Relative luminance 0.118; OKLCH L 47.9% C 0.117 H 145.8°. Best body text is #FFFFFF at 6.24:1 contrast (WCAG AA passes).
Color values
| HEX | #286E31 |
|---|---|
| RGB | rgb(40, 110, 49) |
| HSL | hsl(128, 47%, 29%) |
| HSV | hsv(128, 64%, 43%) |
| CMYK | cmyk(63.6%, 0%, 55.5%, 56.9%) |
| CIE-LAB | lab(40.94, -35.78, 27.42) |
| CIE-LCH | lch(40.94, 45.08, 142.53°) |
| OKLab | oklab(47.88% -0.0968 0.0659) |
| OKLCH | oklch(47.88% 0.117 145.8) |
| XYZ | xyz(7.0049, 11.8241, 4.8183) |
| Luminance | 0.1182 (WCAG relative) |
| Temperature | neutral |
| Family | green |
Closest named colors
Darkish Green
#287C37
ΔE00 4.85
Darkgreen
#006400
ΔE00 6.71
Pine
#2B5D34
ΔE00 6.78
Forest Green
#2D5A27
ΔE00 6.88
Jungle Green
#048243
ΔE00 7.33
Spruce
#0A5F38
ΔE00 7.43
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#286E31 #6E2865
analogous
#426E28 #286E31 #286E54
triadic
#286E31 #31286E #6E3128
tetradic
#286E31 #28426E #6E2865 #6E5428
square
#286E31 #28426E #6E2865 #6E5428
split-complementary
#286E31 #54286E #6E2842
monochromatic
#08160A #18411D #286E31 #389B45 #51C05F
Accessibility & contrast
On white
6.24
#286E31 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.37
#286E31 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #286E31
6.24:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##286E31 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##286E31 | 1.00 | 6.24 | 3.37 | 6.24 |
| #FFFFFF | 6.24 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.37 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 6.24 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#70642C
Deuteranopia (green-blind)
#675E35
Tritanopia (blue-blind)
#186B60
Achromatopsia (no color)
#606060
Design tokens & code
CSS
--color: #286e31; /* rgb */ color: rgb(40, 110, 49); /* oklch */ color: oklch(47.9% 0.117 145.8);
Tailwind
colors: {
custom: {
50: '#6a986b',
500: '#286e31',
950: '#000000',
},
}SCSS
$custom: #286e31; $custom-light: #6a986b; $custom-dark: #000000;
JSON
{
"hex": "#286e31",
"rgb": {
"r": 40,
"g": 110,
"b": 49
},
"hsl": {
"h": 127.714,
"s": 46.667,
"l": 29.412
},
"oklch": {
"l": 0.47877,
"c": 0.1171,
"h": 145.8
},
"luminance": 0.11825
}Semantic roles & 50–950 ramp
primary
#286E31
secondary
#A05196
accent
#51C5D6
background
#F6F9F6
surface
#ECF2EB
border
#C7CCC6
text
#070E06
muted
#7A7E7A