#286F2B#286F2B
#286F2B is a mid, vivid green. Relative luminance 0.120; OKLCH L 48.1% C 0.124 H 144.0°. Best body text is #FFFFFF at 6.18:1 contrast (WCAG AA passes).
Color values
| HEX | #286F2B |
|---|---|
| RGB | rgb(40, 111, 43) |
| HSL | hsl(123, 47%, 30%) |
| HSV | hsv(123, 64%, 44%) |
| CMYK | cmyk(64%, 0%, 61.3%, 56.5%) |
| CIE-LAB | lab(41.21, -37.04, 30.89) |
| CIE-LCH | lch(41.21, 48.23, 140.18°) |
| OKLab | oklab(48.08% -0.1005 0.073) |
| OKLCH | oklch(48.08% 0.124 144) |
| XYZ | xyz(6.9951, 11.9937, 4.2314) |
| Luminance | 0.1199 (WCAG relative) |
| Temperature | neutral |
| Family | green |
Closest named colors
Darkish Green
#287C37
ΔE00 4.54
Darkgreen
#006400
ΔE00 5.86
Tree Green
#2A7E19
ΔE00 6.64
Forest Green
#2D5A27
ΔE00 7.41
Jungle Green
#048243
ΔE00 7.45
Deep Green
#02590F
ΔE00 7.62
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#286F2B #6F286C
analogous
#496F28 #286F2B #286F4F
triadic
#286F2B #2B286F #6F2B28
tetradic
#286F2B #28496F #6F286C #6F4F28
square
#286F2B #28496F #6F286C #6F4F28
split-complementary
#286F2B #4F286F #6F2849
monochromatic
#081609 #18421A #286F2B #389C3C #51C056
Accessibility & contrast
On white
6.18
#286F2B on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.40
#286F2B on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #286F2B
6.18:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##286F2B | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##286F2B | 1.00 | 6.18 | 3.40 | 6.18 |
| #FFFFFF | 6.18 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.40 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 6.18 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#716524
Deuteranopia (green-blind)
#685F30
Tritanopia (blue-blind)
#1A6C60
Achromatopsia (no color)
#616161
Design tokens & code
CSS
--color: #286f2b; /* rgb */ color: rgb(40, 111, 43); /* oklch */ color: oklch(48.1% 0.124 144.0);
Tailwind
colors: {
custom: {
50: '#6b9967',
500: '#286f2b',
950: '#000000',
},
}SCSS
$custom: #286f2b; $custom-light: #6b9967; $custom-dark: #000000;
JSON
{
"hex": "#286f2b",
"rgb": {
"r": 40,
"g": 111,
"b": 43
},
"hsl": {
"h": 122.535,
"s": 47.02,
"l": 29.608
},
"oklch": {
"l": 0.48076,
"c": 0.12417,
"h": 144
},
"luminance": 0.11994
}Semantic roles & 50–950 ramp
primary
#286F2B
secondary
#A1519E
accent
#51D1D7
background
#F6F9F6
surface
#ECF2EB
border
#C7CCC6
text
#070E06
muted
#7A7E7A