#286A2B#286A2B
#286A2B is a mid, moderate green. Relative luminance 0.109; OKLCH L 46.6% C 0.117 H 144.2°. Best body text is #FFFFFF at 6.59:1 contrast (WCAG AA passes).
Color values
| HEX | #286A2B |
|---|---|
| RGB | rgb(40, 106, 43) |
| HSL | hsl(123, 45%, 29%) |
| HSV | hsv(123, 62%, 42%) |
| CMYK | cmyk(62.3%, 0%, 59.4%, 58.4%) |
| CIE-LAB | lab(39.47, -34.98, 28.85) |
| CIE-LCH | lch(39.47, 45.34, 140.49°) |
| OKLab | oklab(46.64% -0.0949 0.0685) |
| OKLCH | oklch(46.64% 0.117 144.2) |
| XYZ | xyz(6.4648, 10.9330, 4.0546) |
| Luminance | 0.1093 (WCAG relative) |
| Temperature | neutral |
| Family | green |
Closest named colors
Darkgreen
#006400
ΔE00 5.58
Forest Green
#2D5A27
ΔE00 5.66
Pine
#2B5D34
ΔE00 6.15
Darkish Green
#287C37
ΔE00 6.16
Deep Green
#02590F
ΔE00 6.34
Spruce
#0A5F38
ΔE00 7.23
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#286A2B #6A2867
analogous
#466A28 #286A2B #286A4C
triadic
#286A2B #2B286A #6A2B28
tetradic
#286A2B #28466A #6A2867 #6A4C28
square
#286A2B #28466A #6A2867 #6A4C28
split-complementary
#286A2B #4C286A #6A2846
monochromatic
#081609 #173E19 #286A2B #39963D #50BD55
Accessibility & contrast
On white
6.59
#286A2B on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.19
#286A2B on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #286A2B
6.59:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##286A2B | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##286A2B | 1.00 | 6.59 | 3.19 | 6.59 |
| #FFFFFF | 6.59 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.19 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 6.59 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#6C6025
Deuteranopia (green-blind)
#645B30
Tritanopia (blue-blind)
#1B675C
Achromatopsia (no color)
#5D5D5D
Design tokens & code
CSS
--color: #286a2b; /* rgb */ color: rgb(40, 106, 43); /* oklch */ color: oklch(46.6% 0.117 144.2);
Tailwind
colors: {
custom: {
50: '#6a9566',
500: '#286a2b',
950: '#000000',
},
}SCSS
$custom: #286a2b; $custom-light: #6a9566; $custom-dark: #000000;
JSON
{
"hex": "#286a2b",
"rgb": {
"r": 40,
"g": 106,
"b": 43
},
"hsl": {
"h": 122.727,
"s": 45.205,
"l": 28.627
},
"oklch": {
"l": 0.46642,
"c": 0.11707,
"h": 144.2
},
"luminance": 0.10934
}Semantic roles & 50–950 ramp
primary
#286A2B
secondary
#9D5199
accent
#53CFD5
background
#F6F9F6
surface
#EBF2EB
border
#C6CCC6
text
#070D06
muted
#7A7E7A