#286342#286342
#286342 is a mid, moderate green. Relative luminance 0.098; OKLCH L 45.1% C 0.083 H 156.3°. Best body text is #FFFFFF at 7.11:1 contrast (WCAG AA passes).
Color values
| HEX | #286342 |
|---|---|
| RGB | rgb(40, 99, 66) |
| HSL | hsl(146, 42%, 27%) |
| HSV | hsv(146, 60%, 39%) |
| CMYK | cmyk(59.6%, 0%, 33.3%, 61.2%) |
| CIE-LAB | lab(37.42, -27.71, 13.13) |
| CIE-LCH | lch(37.42, 30.66, 154.65°) |
| OKLab | oklab(45.09% -0.0755 0.0332) |
| OKLCH | oklch(45.09% 0.083 156.3) |
| XYZ | xyz(6.3198, 9.7676, 6.7055) |
| Luminance | 0.0977 (WCAG relative) |
| Temperature | neutral |
| Family | green |
Closest named colors
Spruce
#0A5F38
ΔE00 3.27
Hunter Green
#355E3B
ΔE00 3.43
Pine
#2B5D34
ΔE00 3.68
Forest Green
#2D5A27
ΔE00 6.84
Dark Green Blue
#1F6357
ΔE00 8.00
Evergreen
#05472A
ΔE00 9.13
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#286342 #632849
analogous
#2B6328 #286342 #286360
triadic
#286342 #422863 #634228
tetradic
#286342 #282B63 #632849 #636028
square
#286342 #282B63 #632849 #636028
split-complementary
#286342 #602863 #63282B
monochromatic
#09160F #163725 #286342 #3A8F5F #4EB77C
Accessibility & contrast
On white
7.11
#286342 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.95
#286342 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #286342
7.11:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##286342 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##286342 | 1.00 | 7.11 | 2.95 | 7.11 |
| #FFFFFF | 7.11 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.95 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 7.11 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#625C40
Deuteranopia (green-blind)
#5A5644
Tritanopia (blue-blind)
#15625A
Achromatopsia (no color)
#585858
Design tokens & code
CSS
--color: #286342; /* rgb */ color: rgb(40, 99, 66); /* oklch */ color: oklch(45.1% 0.083 156.3);
Tailwind
colors: {
custom: {
50: '#689076',
500: '#286342',
950: '#000000',
},
}SCSS
$custom: #286342; $custom-light: #689076; $custom-dark: #000000;
JSON
{
"hex": "#286342",
"rgb": {
"r": 40,
"g": 99,
"b": 66
},
"hsl": {
"h": 146.441,
"s": 42.446,
"l": 27.255
},
"oklch": {
"l": 0.45089,
"c": 0.0825,
"h": 156.3
},
"luminance": 0.09768
}Semantic roles & 50–950 ramp
primary
#286342
secondary
#965177
accent
#569BD2
background
#F6F8F7
surface
#EBF0ED
border
#C6CBC8
text
#060C08
muted
#7A7D7B