#286A2A#286A2A
#286A2A is a mid, moderate green. Relative luminance 0.109; OKLCH L 46.6% C 0.118 H 143.9°. Best body text is #FFFFFF at 6.59:1 contrast (WCAG AA passes).
Color values
| HEX | #286A2A |
|---|---|
| RGB | rgb(40, 106, 42) |
| HSL | hsl(122, 45%, 29%) |
| HSV | hsv(122, 62%, 42%) |
| CMYK | cmyk(62.3%, 0%, 60.4%, 58.4%) |
| CIE-LAB | lab(39.46, -35.12, 29.35) |
| CIE-LCH | lch(39.46, 45.77, 140.11°) |
| OKLab | oklab(46.63% -0.0953 0.0696) |
| OKLCH | oklch(46.63% 0.118 143.9) |
| XYZ | xyz(6.4467, 10.9258, 3.9592) |
| Luminance | 0.1093 (WCAG relative) |
| Temperature | neutral |
| Family | green |
Closest named colors
Darkgreen
#006400
ΔE00 5.41
Forest Green
#2D5A27
ΔE00 5.71
Darkish Green
#287C37
ΔE00 6.17
Deep Green
#02590F
ΔE00 6.27
Pine
#2B5D34
ΔE00 6.30
Forest
#0B5509
ΔE00 7.38
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#286A2A #6A2868
analogous
#476A28 #286A2A #286A4B
triadic
#286A2A #2A286A #6A2A28
tetradic
#286A2A #28476A #6A2868 #6A4B28
square
#286A2A #28476A #6A2868 #6A4B28
split-complementary
#286A2A #4B286A #6A2847
monochromatic
#081609 #173E18 #286A2A #39963C #50BD53
Accessibility & contrast
On white
6.59
#286A2A on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.19
#286A2A on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #286A2A
6.59:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##286A2A | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##286A2A | 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)
#6C6024
Deuteranopia (green-blind)
#645B2F
Tritanopia (blue-blind)
#1C675C
Achromatopsia (no color)
#5D5D5D
Design tokens & code
CSS
--color: #286a2a; /* rgb */ color: rgb(40, 106, 42); /* oklch */ color: oklch(46.6% 0.118 143.9);
Tailwind
colors: {
custom: {
50: '#6a9566',
500: '#286a2a',
950: '#000000',
},
}SCSS
$custom: #286a2a; $custom-light: #6a9566; $custom-dark: #000000;
JSON
{
"hex": "#286a2a",
"rgb": {
"r": 40,
"g": 106,
"b": 42
},
"hsl": {
"h": 121.818,
"s": 45.205,
"l": 28.627
},
"oklch": {
"l": 0.46628,
"c": 0.118,
"h": 143.9
},
"luminance": 0.10926
}Semantic roles & 50–950 ramp
primary
#286A2A
secondary
#9D519A
accent
#53D1D5
background
#F6F9F6
surface
#EBF2EB
border
#C6CCC6
text
#070D06
muted
#7A7E7A