#287545#287545
#287545 is a mid, moderate green. Relative luminance 0.136; OKLCH L 50.2% C 0.107 H 152.7°. Best body text is #FFFFFF at 5.64:1 contrast (WCAG AA passes).
Color values
| HEX | #287545 |
|---|---|
| RGB | rgb(40, 117, 69) |
| HSL | hsl(143, 49%, 31%) |
| HSV | hsv(143, 66%, 46%) |
| CMYK | cmyk(65.8%, 0%, 41%, 54.1%) |
| CIE-LAB | lab(43.66, -35.23, 19.74) |
| CIE-LCH | lch(43.66, 40.38, 150.74°) |
| OKLab | oklab(50.22% -0.0953 0.0491) |
| OKLCH | oklch(50.22% 0.107 152.7) |
| XYZ | xyz(8.3099, 13.6025, 7.8167) |
| Luminance | 0.1360 (WCAG relative) |
| Temperature | neutral |
| Family | green |
Closest named colors
Darkish Green
#287C37
ΔE00 4.93
Jungle Green
#048243
ΔE00 5.29
Dark Sea Green
#11875D
ΔE00 7.25
Spruce
#0A5F38
ΔE00 7.73
Sea Green
#2E8B57
ΔE00 7.93
Pine
#2B5D34
ΔE00 8.19
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#287545 #752858
analogous
#317528 #287545 #28756B
triadic
#287545 #452875 #754528
tetradic
#287545 #283175 #752858 #756B28
square
#287545 #283175 #752858 #756B28
split-complementary
#287545 #6B2875 #752831
monochromatic
#091A0F #18472A #287545 #38A360 #53C47E
Accessibility & contrast
On white
5.64
#287545 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.72
#287545 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #287545
5.64:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##287545 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##287545 | 1.00 | 5.64 | 3.72 | 5.64 |
| #FFFFFF | 5.64 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.72 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 5.64 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#756B42
Deuteranopia (green-blind)
#6B6448
Tritanopia (blue-blind)
#087369
Achromatopsia (no color)
#676767
Design tokens & code
CSS
--color: #287545; /* rgb */ color: rgb(40, 117, 69); /* oklch */ color: oklch(50.2% 0.107 152.7);
Tailwind
colors: {
custom: {
50: '#6b9d79',
500: '#287545',
950: '#000000',
},
}SCSS
$custom: #287545; $custom-light: #6b9d79; $custom-dark: #000000;
JSON
{
"hex": "#287545",
"rgb": {
"r": 40,
"g": 117,
"b": 69
},
"hsl": {
"h": 142.597,
"s": 49.045,
"l": 30.784
},
"oklch": {
"l": 0.50222,
"c": 0.10719,
"h": 152.7
},
"luminance": 0.13603
}Semantic roles & 50–950 ramp
primary
#287545
secondary
#A75287
accent
#4FA5D9
background
#F6F9F7
surface
#ECF2ED
border
#C7CCC8
text
#070E09
muted
#7A7E7B