#286B2A#286B2A
#286B2A is a mid, moderate green. Relative luminance 0.111; OKLCH L 46.9% C 0.119 H 143.9°. Best body text is #FFFFFF at 6.51:1 contrast (WCAG AA passes).
Color values
| HEX | #286B2A |
|---|---|
| RGB | rgb(40, 107, 42) |
| HSL | hsl(122, 46%, 29%) |
| HSV | hsv(122, 63%, 42%) |
| CMYK | cmyk(62.6%, 0%, 60.7%, 58%) |
| CIE-LAB | lab(39.80, -35.54, 29.76) |
| CIE-LCH | lch(39.80, 46.35, 140.05°) |
| OKLab | oklab(46.92% -0.0964 0.0704) |
| OKLCH | oklch(46.92% 0.119 143.9) |
| XYZ | xyz(6.5503, 11.1331, 3.9937) |
| Luminance | 0.1113 (WCAG relative) |
| Temperature | neutral |
| Family | green |
Closest named colors
Darkgreen
#006400
ΔE00 5.43
Darkish Green
#287C37
ΔE00 5.84
Forest Green
#2D5A27
ΔE00 6.06
Deep Green
#02590F
ΔE00 6.51
Pine
#2B5D34
ΔE00 6.62
Forest
#0B5509
ΔE00 7.63
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#286B2A #6B2869
analogous
#486B28 #286B2A #286B4C
triadic
#286B2A #2A286B #6B2A28
tetradic
#286B2A #28486B #6B2869 #6B4C28
square
#286B2A #28486B #6B2869 #6B4C28
split-complementary
#286B2A #4C286B #6B2848
monochromatic
#081609 #173E19 #286B2A #39983B #50BE53
Accessibility & contrast
On white
6.51
#286B2A on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.23
#286B2A on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #286B2A
6.51:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##286B2A | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##286B2A | 1.00 | 6.51 | 3.23 | 6.51 |
| #FFFFFF | 6.51 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.23 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 6.51 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#6D6123
Deuteranopia (green-blind)
#655C2F
Tritanopia (blue-blind)
#1B685D
Achromatopsia (no color)
#5E5E5E
Design tokens & code
CSS
--color: #286b2a; /* rgb */ color: rgb(40, 107, 42); /* oklch */ color: oklch(46.9% 0.119 143.9);
Tailwind
colors: {
custom: {
50: '#6a9666',
500: '#286b2a',
950: '#000000',
},
}SCSS
$custom: #286b2a; $custom-light: #6a9666; $custom-dark: #000000;
JSON
{
"hex": "#286b2a",
"rgb": {
"r": 40,
"g": 107,
"b": 42
},
"hsl": {
"h": 121.791,
"s": 45.578,
"l": 28.824
},
"oklch": {
"l": 0.46916,
"c": 0.11943,
"h": 143.9
},
"luminance": 0.11134
}Semantic roles & 50–950 ramp
primary
#286B2A
secondary
#9D519B
accent
#53D1D5
background
#F6F9F6
surface
#EBF2EB
border
#C6CCC6
text
#070D06
muted
#7A7E7A