#286C2D#286C2D
#286C2D is a mid, moderate green. Relative luminance 0.114; OKLCH L 47.2% C 0.118 H 144.7°. Best body text is #FFFFFF at 6.42:1 contrast (WCAG AA passes).
Color values
| HEX | #286C2D |
|---|---|
| RGB | rgb(40, 108, 45) |
| HSL | hsl(124, 46%, 29%) |
| HSV | hsv(124, 63%, 42%) |
| CMYK | cmyk(63%, 0%, 58.3%, 57.6%) |
| CIE-LAB | lab(40.19, -35.54, 28.65) |
| CIE-LCH | lch(40.19, 45.65, 141.12°) |
| OKLab | oklab(47.25% -0.0963 0.0683) |
| OKLCH | oklch(47.25% 0.118 144.7) |
| XYZ | xyz(6.7109, 11.3651, 4.3221) |
| Luminance | 0.1137 (WCAG relative) |
| Temperature | neutral |
| Family | green |
Closest named colors
Darkish Green
#287C37
ΔE00 5.49
Darkgreen
#006400
ΔE00 5.95
Forest Green
#2D5A27
ΔE00 6.29
Pine
#2B5D34
ΔE00 6.56
Deep Green
#02590F
ΔE00 6.94
Spruce
#0A5F38
ΔE00 7.45
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#286C2D #6C2867
analogous
#456C28 #286C2D #286C4F
triadic
#286C2D #2D286C #6C2D28
tetradic
#286C2D #28456C #6C2867 #6C4F28
square
#286C2D #28456C #6C2867 #6C4F28
split-complementary
#286C2D #4F286C #6C2845
monochromatic
#081609 #173F1A #286C2D #399940 #50BE58
Accessibility & contrast
On white
6.42
#286C2D on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.27
#286C2D on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #286C2D
6.42:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##286C2D | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##286C2D | 1.00 | 6.42 | 3.27 | 6.42 |
| #FFFFFF | 6.42 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.27 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 6.42 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#6E6227
Deuteranopia (green-blind)
#655C32
Tritanopia (blue-blind)
#1A695E
Achromatopsia (no color)
#5F5F5F
Design tokens & code
CSS
--color: #286c2d; /* rgb */ color: rgb(40, 108, 45); /* oklch */ color: oklch(47.2% 0.118 144.7);
Tailwind
colors: {
custom: {
50: '#6a9768',
500: '#286c2d',
950: '#000000',
},
}SCSS
$custom: #286c2d; $custom-light: #6a9768; $custom-dark: #000000;
JSON
{
"hex": "#286c2d",
"rgb": {
"r": 40,
"g": 108,
"b": 45
},
"hsl": {
"h": 124.412,
"s": 45.946,
"l": 29.02
},
"oklch": {
"l": 0.47245,
"c": 0.11805,
"h": 144.7
},
"luminance": 0.11366
}Semantic roles & 50–950 ramp
primary
#286C2D
secondary
#9E5199
accent
#52CCD6
background
#F6F9F6
surface
#EBF2EB
border
#C6CCC6
text
#070D06
muted
#7A7E7A