#286C42#286C42
#286C42 is a mid, moderate green. Relative luminance 0.116; OKLCH L 47.6% C 0.097 H 153.4°. Best body text is #FFFFFF at 6.34:1 contrast (WCAG AA passes).
Color values
| HEX | #286C42 |
|---|---|
| RGB | rgb(40, 108, 66) |
| HSL | hsl(143, 46%, 29%) |
| HSV | hsv(143, 63%, 42%) |
| CMYK | cmyk(63%, 0%, 38.9%, 57.6%) |
| CIE-LAB | lab(40.52, -31.87, 17.31) |
| CIE-LCH | lch(40.52, 36.27, 151.49°) |
| OKLab | oklab(47.63% -0.0864 0.0433) |
| OKLCH | oklch(47.63% 0.097 153.4) |
| XYZ | xyz(7.2204, 11.5689, 7.0057) |
| Luminance | 0.1157 (WCAG relative) |
| Temperature | neutral |
| Family | green |
Closest named colors
Spruce
#0A5F38
ΔE00 4.82
Pine
#2B5D34
ΔE00 5.24
Hunter Green
#355E3B
ΔE00 5.60
Forest Green
#2D5A27
ΔE00 7.43
Darkish Green
#287C37
ΔE00 7.58
Jungle Green
#048243
ΔE00 8.41
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#286C42 #6C2852
analogous
#306C28 #286C42 #286C64
triadic
#286C42 #42286C #6C4228
tetradic
#286C42 #28306C #6C2852 #6C6428
square
#286C42 #28306C #6C2852 #6C6428
split-complementary
#286C42 #64286C #6C2830
monochromatic
#08160E #173F27 #286C42 #39995D #50BE7A
Accessibility & contrast
On white
6.34
#286C42 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.31
#286C42 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #286C42
6.34:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##286C42 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##286C42 | 1.00 | 6.34 | 3.31 | 6.34 |
| #FFFFFF | 6.34 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.31 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 6.34 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#6C633F
Deuteranopia (green-blind)
#635D45
Tritanopia (blue-blind)
#116B61
Achromatopsia (no color)
#5F5F5F
Design tokens & code
CSS
--color: #286c42; /* rgb */ color: rgb(40, 108, 66); /* oklch */ color: oklch(47.6% 0.097 153.4);
Tailwind
colors: {
custom: {
50: '#699776',
500: '#286c42',
950: '#000000',
},
}SCSS
$custom: #286c42; $custom-light: #699776; $custom-dark: #000000;
JSON
{
"hex": "#286c42",
"rgb": {
"r": 40,
"g": 108,
"b": 66
},
"hsl": {
"h": 142.941,
"s": 45.946,
"l": 29.02
},
"oklch": {
"l": 0.47629,
"c": 0.09663,
"h": 153.4
},
"luminance": 0.1157
}Semantic roles & 50–950 ramp
primary
#286C42
secondary
#9E5181
accent
#52A3D6
background
#F6F9F7
surface
#EBF2ED
border
#C6CCC8
text
#070D08
muted
#7A7E7B