#287531#287531
#287531 is a mid, vivid green. Relative luminance 0.134; OKLCH L 49.9% C 0.127 H 145.3°. Best body text is #FFFFFF at 5.71:1 contrast (WCAG AA passes).
Color values
| HEX | #287531 |
|---|---|
| RGB | rgb(40, 117, 49) |
| HSL | hsl(127, 49%, 31%) |
| HSV | hsv(127, 66%, 46%) |
| CMYK | cmyk(65.8%, 0%, 58.1%, 54.1%) |
| CIE-LAB | lab(43.35, -38.64, 30.33) |
| CIE-LCH | lch(43.35, 49.12, 141.87°) |
| OKLab | oklab(49.87% -0.1045 0.0723) |
| OKLCH | oklch(49.87% 0.127 145.3) |
| XYZ | xyz(7.7902, 13.3947, 5.0800) |
| Luminance | 0.1340 (WCAG relative) |
| Temperature | neutral |
| Family | green |
Closest named colors
Darkish Green
#287C37
ΔE00 2.45
Jungle Green
#048243
ΔE00 5.49
Tree Green
#2A7E19
ΔE00 5.61
Green
#008000
ΔE00 7.21
Darkgreen
#006400
ΔE00 7.52
Dark Grass Green
#388004
ΔE00 8.14
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#287531 #75286C
analogous
#457528 #287531 #287557
triadic
#287531 #312875 #753128
tetradic
#287531 #284575 #75286C #755728
square
#287531 #284575 #75286C #755728
split-complementary
#287531 #572875 #752845
monochromatic
#091A0B #18471E #287531 #38A344 #53C460
Accessibility & contrast
On white
5.71
#287531 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.68
#287531 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #287531
5.71:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##287531 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##287531 | 1.00 | 5.71 | 3.68 | 5.71 |
| #FFFFFF | 5.71 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.68 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 5.71 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#776A2B
Deuteranopia (green-blind)
#6D6436
Tritanopia (blue-blind)
#157266
Achromatopsia (no color)
#666666
Design tokens & code
CSS
--color: #287531; /* rgb */ color: rgb(40, 117, 49); /* oklch */ color: oklch(49.9% 0.127 145.3);
Tailwind
colors: {
custom: {
50: '#6c9d6b',
500: '#287531',
950: '#000000',
},
}SCSS
$custom: #287531; $custom-light: #6c9d6b; $custom-dark: #000000;
JSON
{
"hex": "#287531",
"rgb": {
"r": 40,
"g": 117,
"b": 49
},
"hsl": {
"h": 127.013,
"s": 49.045,
"l": 30.784
},
"oklch": {
"l": 0.4987,
"c": 0.12708,
"h": 145.3
},
"luminance": 0.13395
}Semantic roles & 50–950 ramp
primary
#287531
secondary
#A7529D
accent
#4FC9D9
background
#F6F9F6
surface
#ECF2EB
border
#C7CCC6
text
#070E07
muted
#7A7E7A