#286F42#286F42
#286F42 is a mid, moderate green. Relative luminance 0.122; OKLCH L 48.5% C 0.101 H 152.6°. Best body text is #FFFFFF at 6.10:1 contrast (WCAG AA passes).
Color values
| HEX | #286F42 |
|---|---|
| RGB | rgb(40, 111, 66) |
| HSL | hsl(142, 47%, 30%) |
| HSV | hsv(142, 64%, 44%) |
| CMYK | cmyk(64%, 0%, 40.5%, 56.5%) |
| CIE-LAB | lab(41.55, -33.21, 18.68) |
| CIE-LCH | lch(41.55, 38.10, 150.64°) |
| OKLab | oklab(48.47% -0.0899 0.0466) |
| OKLCH | oklch(48.47% 0.101 152.6) |
| XYZ | xyz(7.5423, 12.2126, 7.1130) |
| Luminance | 0.1221 (WCAG relative) |
| Temperature | neutral |
| Family | green |
Closest named colors
Spruce
#0A5F38
ΔE00 5.79
Pine
#2B5D34
ΔE00 6.17
Darkish Green
#287C37
ΔE00 6.44
Hunter Green
#355E3B
ΔE00 6.59
Jungle Green
#048243
ΔE00 7.26
Forest Green
#2D5A27
ΔE00 8.01
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#286F42 #6F2855
analogous
#316F28 #286F42 #286F66
triadic
#286F42 #42286F #6F4228
tetradic
#286F42 #28316F #6F2855 #6F6628
square
#286F42 #28316F #6F2855 #6F6628
split-complementary
#286F42 #66286F #6F2831
monochromatic
#08160D #184227 #286F42 #389C5D #51C07A
Accessibility & contrast
On white
6.10
#286F42 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.44
#286F42 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #286F42
6.10:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##286F42 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##286F42 | 1.00 | 6.10 | 3.44 | 6.10 |
| #FFFFFF | 6.10 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.44 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 6.10 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#6F663F
Deuteranopia (green-blind)
#665F45
Tritanopia (blue-blind)
#0F6D64
Achromatopsia (no color)
#626262
Design tokens & code
CSS
--color: #286f42; /* rgb */ color: rgb(40, 111, 66); /* oklch */ color: oklch(48.5% 0.101 152.6);
Tailwind
colors: {
custom: {
50: '#6a9977',
500: '#286f42',
950: '#000000',
},
}SCSS
$custom: #286f42; $custom-light: #6a9977; $custom-dark: #000000;
JSON
{
"hex": "#286f42",
"rgb": {
"r": 40,
"g": 111,
"b": 66
},
"hsl": {
"h": 141.972,
"s": 47.02,
"l": 29.608
},
"oklch": {
"l": 0.48474,
"c": 0.10123,
"h": 152.6
},
"luminance": 0.12213
}Semantic roles & 50–950 ramp
primary
#286F42
secondary
#A15184
accent
#51A6D7
background
#F6F9F7
surface
#EBF2ED
border
#C6CCC8
text
#070E08
muted
#7A7E7B