#286740#286740
#286740 is a mid, moderate green. Relative luminance 0.105; OKLCH L 46.2% C 0.091 H 153.6°. Best body text is #FFFFFF at 6.76:1 contrast (WCAG AA passes).
Color values
| HEX | #286740 |
|---|---|
| RGB | rgb(40, 103, 64) |
| HSL | hsl(143, 44%, 28%) |
| HSV | hsv(143, 61%, 40%) |
| CMYK | cmyk(61.2%, 0%, 37.9%, 59.6%) |
| CIE-LAB | lab(38.76, -30.01, 16.13) |
| CIE-LCH | lch(38.76, 34.07, 151.74°) |
| OKLab | oklab(46.17% -0.0814 0.0405) |
| OKLCH | oklch(46.17% 0.091 153.6) |
| XYZ | xyz(6.6502, 10.5212, 6.5298) |
| Luminance | 0.1052 (WCAG relative) |
| Temperature | neutral |
| Family | green |
Closest named colors
Spruce
#0A5F38
ΔE00 3.52
Pine
#2B5D34
ΔE00 3.77
Hunter Green
#355E3B
ΔE00 4.11
Forest Green
#2D5A27
ΔE00 6.43
Darkish Green
#287C37
ΔE00 9.16
Deep Green
#02590F
ΔE00 9.40
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#286740 #67284F
analogous
#2F6728 #286740 #28675F
triadic
#286740 #402867 #674028
tetradic
#286740 #282F67 #67284F #675F28
square
#286740 #282F67 #67284F #675F28
split-complementary
#286740 #5F2867 #67282F
monochromatic
#09160E #173B25 #286740 #39935B #4FBB78
Accessibility & contrast
On white
6.76
#286740 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.10
#286740 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #286740
6.76:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##286740 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##286740 | 1.00 | 6.76 | 3.10 | 6.76 |
| #FFFFFF | 6.76 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.10 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 6.76 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#675F3D
Deuteranopia (green-blind)
#5E5942
Tritanopia (blue-blind)
#14665D
Achromatopsia (no color)
#5B5B5B
Design tokens & code
CSS
--color: #286740; /* rgb */ color: rgb(40, 103, 64); /* oklch */ color: oklch(46.2% 0.091 153.6);
Tailwind
colors: {
custom: {
50: '#689375',
500: '#286740',
950: '#000000',
},
}SCSS
$custom: #286740; $custom-light: #689375; $custom-dark: #000000;
JSON
{
"hex": "#286740",
"rgb": {
"r": 40,
"g": 103,
"b": 64
},
"hsl": {
"h": 142.857,
"s": 44.056,
"l": 28.039
},
"oklch": {
"l": 0.46172,
"c": 0.09094,
"h": 153.6
},
"luminance": 0.10522
}Semantic roles & 50–950 ramp
primary
#286740
secondary
#9A517E
accent
#54A3D4
background
#F6F9F7
surface
#EBF1ED
border
#C6CBC8
text
#070D08
muted
#7A7E7B