#286C2F#286C2F
#286C2F is a mid, moderate green. Relative luminance 0.114; OKLCH L 47.3% C 0.116 H 145.3°. Best body text is #FFFFFF at 6.41:1 contrast (WCAG AA passes).
Color values
| HEX | #286C2F |
|---|---|
| RGB | rgb(40, 108, 47) |
| HSL | hsl(126, 46%, 29%) |
| HSV | hsv(126, 63%, 42%) |
| CMYK | cmyk(63%, 0%, 56.5%, 57.6%) |
| CIE-LAB | lab(40.21, -35.24, 27.62) |
| CIE-LCH | lch(40.21, 44.78, 141.91°) |
| OKLab | oklab(47.28% -0.0954 0.0662) |
| OKLCH | oklch(47.28% 0.116 145.3) |
| XYZ | xyz(6.7503, 11.3808, 4.5298) |
| Luminance | 0.1138 (WCAG relative) |
| Temperature | neutral |
| Family | green |
Closest named colors
Darkish Green
#287C37
ΔE00 5.51
Forest Green
#2D5A27
ΔE00 6.23
Darkgreen
#006400
ΔE00 6.30
Pine
#2B5D34
ΔE00 6.30
Deep Green
#02590F
ΔE00 7.09
Spruce
#0A5F38
ΔE00 7.13
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#286C2F #6C2865
analogous
#436C28 #286C2F #286C51
triadic
#286C2F #2F286C #6C2F28
tetradic
#286C2F #28436C #6C2865 #6C5128
square
#286C2F #28436C #6C2865 #6C5128
split-complementary
#286C2F #51286C #6C2843
monochromatic
#08160A #173F1C #286C2F #399942 #50BE5B
Accessibility & contrast
On white
6.41
#286C2F on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.28
#286C2F on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #286C2F
6.41:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##286C2F | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##286C2F | 1.00 | 6.41 | 3.28 | 6.41 |
| #FFFFFF | 6.41 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.28 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 6.41 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#6E6229
Deuteranopia (green-blind)
#655C34
Tritanopia (blue-blind)
#1A695E
Achromatopsia (no color)
#5F5F5F
Design tokens & code
CSS
--color: #286c2f; /* rgb */ color: rgb(40, 108, 47); /* oklch */ color: oklch(47.3% 0.116 145.3);
Tailwind
colors: {
custom: {
50: '#6a9769',
500: '#286c2f',
950: '#000000',
},
}SCSS
$custom: #286c2f; $custom-light: #6a9769; $custom-dark: #000000;
JSON
{
"hex": "#286c2f",
"rgb": {
"r": 40,
"g": 108,
"b": 47
},
"hsl": {
"h": 126.176,
"s": 45.946,
"l": 29.02
},
"oklch": {
"l": 0.47275,
"c": 0.11614,
"h": 145.3
},
"luminance": 0.11381
}Semantic roles & 50–950 ramp
primary
#286C2F
secondary
#9E5197
accent
#52C8D6
background
#F6F9F6
surface
#EBF2EB
border
#C6CCC6
text
#070D06
muted
#7A7E7A