#286C2B#286C2B
#286C2B is a mid, moderate green. Relative luminance 0.114; OKLCH L 47.2% C 0.120 H 144.1°. Best body text is #FFFFFF at 6.42:1 contrast (WCAG AA passes).
Color values
| HEX | #286C2B |
|---|---|
| RGB | rgb(40, 108, 43) |
| HSL | hsl(123, 46%, 29%) |
| HSV | hsv(123, 63%, 42%) |
| CMYK | cmyk(63%, 0%, 60.2%, 57.6%) |
| CIE-LAB | lab(40.16, -35.81, 29.67) |
| CIE-LCH | lch(40.16, 46.51, 140.36°) |
| OKLab | oklab(47.22% -0.0972 0.0703) |
| OKLCH | oklch(47.22% 0.12 144.1) |
| XYZ | xyz(6.6733, 11.3500, 4.1241) |
| Luminance | 0.1135 (WCAG relative) |
| Temperature | neutral |
| Family | green |
Closest named colors
Darkish Green
#287C37
ΔE00 5.50
Darkgreen
#006400
ΔE00 5.62
Forest Green
#2D5A27
ΔE00 6.36
Deep Green
#02590F
ΔE00 6.82
Pine
#2B5D34
ΔE00 6.82
Tree Green
#2A7E19
ΔE00 7.66
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#286C2B #6C2869
analogous
#476C28 #286C2B #286C4D
triadic
#286C2B #2B286C #6C2B28
tetradic
#286C2B #28476C #6C2869 #6C4D28
square
#286C2B #28476C #6C2869 #6C4D28
split-complementary
#286C2B #4D286C #6C2847
monochromatic
#081609 #173F19 #286C2B #39993D #50BE55
Accessibility & contrast
On white
6.42
#286C2B on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.27
#286C2B on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #286C2B
6.42:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##286C2B | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##286C2B | 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)
#6E6225
Deuteranopia (green-blind)
#655C30
Tritanopia (blue-blind)
#1B695E
Achromatopsia (no color)
#5F5F5F
Design tokens & code
CSS
--color: #286c2b; /* rgb */ color: rgb(40, 108, 43); /* oklch */ color: oklch(47.2% 0.120 144.1);
Tailwind
colors: {
custom: {
50: '#6a9766',
500: '#286c2b',
950: '#000000',
},
}SCSS
$custom: #286c2b; $custom-light: #6a9766; $custom-dark: #000000;
JSON
{
"hex": "#286c2b",
"rgb": {
"r": 40,
"g": 108,
"b": 43
},
"hsl": {
"h": 122.647,
"s": 45.946,
"l": 29.02
},
"oklch": {
"l": 0.47217,
"c": 0.11994,
"h": 144.1
},
"luminance": 0.11351
}Semantic roles & 50–950 ramp
primary
#286C2B
secondary
#9E519B
accent
#52D0D6
background
#F6F9F6
surface
#ECF2EB
border
#C7CCC6
text
#070D06
muted
#7A7E7A