#286B31#286B31
#286B31 is a mid, moderate green. Relative luminance 0.112; OKLCH L 47.0% C 0.113 H 146.0°. Best body text is #FFFFFF at 6.49:1 contrast (WCAG AA passes).
Color values
| HEX | #286B31 |
|---|---|
| RGB | rgb(40, 107, 49) |
| HSL | hsl(128, 46%, 29%) |
| HSV | hsv(128, 63%, 42%) |
| CMYK | cmyk(62.6%, 0%, 54.2%, 58%) |
| CIE-LAB | lab(39.89, -34.52, 26.15) |
| CIE-LCH | lch(39.89, 43.30, 142.85°) |
| OKLab | oklab(47.02% -0.0934 0.063) |
| OKLCH | oklch(47.02% 0.113 146) |
| XYZ | xyz(6.6867, 11.1876, 4.7122) |
| Luminance | 0.1119 (WCAG relative) |
| Temperature | neutral |
| Family | green |
Closest named colors
Pine
#2B5D34
ΔE00 5.70
Forest Green
#2D5A27
ΔE00 5.88
Darkish Green
#287C37
ΔE00 5.92
Spruce
#0A5F38
ΔE00 6.50
Darkgreen
#006400
ΔE00 6.68
Hunter Green
#355E3B
ΔE00 6.90
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#286B31 #6B2862
analogous
#416B28 #286B31 #286B53
triadic
#286B31 #31286B #6B3128
tetradic
#286B31 #28416B #6B2862 #6B5328
square
#286B31 #28416B #6B2862 #6B5328
split-complementary
#286B31 #53286B #6B2841
monochromatic
#08160A #173E1D #286B31 #399845 #50BE5F
Accessibility & contrast
On white
6.49
#286B31 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.24
#286B31 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #286B31
6.49:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##286B31 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##286B31 | 1.00 | 6.49 | 3.24 | 6.49 |
| #FFFFFF | 6.49 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.24 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 6.49 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#6D622C
Deuteranopia (green-blind)
#645C35
Tritanopia (blue-blind)
#19685E
Achromatopsia (no color)
#5E5E5E
Design tokens & code
CSS
--color: #286b31; /* rgb */ color: rgb(40, 107, 49); /* oklch */ color: oklch(47.0% 0.113 146.0);
Tailwind
colors: {
custom: {
50: '#6a966a',
500: '#286b31',
950: '#000000',
},
}SCSS
$custom: #286b31; $custom-light: #6a966a; $custom-dark: #000000;
JSON
{
"hex": "#286b31",
"rgb": {
"r": 40,
"g": 107,
"b": 49
},
"hsl": {
"h": 128.06,
"s": 45.578,
"l": 28.824
},
"oklch": {
"l": 0.4702,
"c": 0.1127,
"h": 146
},
"luminance": 0.11188
}Semantic roles & 50–950 ramp
primary
#286B31
secondary
#9D5193
accent
#53C4D5
background
#F6F9F6
surface
#EBF2EB
border
#C6CCC6
text
#070D06
muted
#7A7E7A