#487E2F#487E2F
#487E2F is a mid, vivid green. Relative luminance 0.165; OKLCH L 53.7% C 0.125 H 137.1°. Best body text is #FFFFFF at 4.88:1 contrast (WCAG AA passes).
Color values
| HEX | #487E2F |
|---|---|
| RGB | rgb(72, 126, 47) |
| HSL | hsl(101, 46%, 34%) |
| HSV | hsv(101, 63%, 49%) |
| CMYK | cmyk(42.9%, 0%, 62.7%, 50.6%) |
| CIE-LAB | lab(47.63, -33.24, 36.62) |
| CIE-LCH | lch(47.63, 49.46, 132.23°) |
| OKLab | oklab(53.73% -0.0918 0.0854) |
| OKLCH | oklch(53.73% 0.125 137.1) |
| XYZ | xyz(10.6461, 16.5041, 5.3134) |
| Luminance | 0.1651 (WCAG relative) |
| Temperature | warm |
| Family | green |
Closest named colors
Tree Green
#2A7E19
ΔE00 4.10
Dark Grass Green
#388004
ΔE00 4.67
Darkish Green
#287C37
ΔE00 5.11
Fern Green
#548D44
ΔE00 5.91
Forestgreen (CSS)
#228B22
ΔE00 6.22
Green
#008000
ΔE00 6.41
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#487E2F #652F7E
analogous
#707E2F #487E2F #2F7E3E
triadic
#487E2F #2F487E #7E2F48
tetradic
#487E2F #2F707E #652F7E #7E3E2F
square
#487E2F #2F707E #652F7E #7E3E2F
split-complementary
#487E2F #3E2F7E #7E2F70
monochromatic
#15250E #2F511E #487E2F #61AB40 #82C563
Accessibility & contrast
On white
4.88
#487E2F on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
4.30
#487E2F on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #487E2F
4.88:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##487E2F | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##487E2F | 1.00 | 4.88 | 4.30 | 4.88 |
| #FFFFFF | 4.88 | 1.00 | 21.00 | 1.00 |
| #000000 | 4.30 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 4.88 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#827426
Deuteranopia (green-blind)
#7B6F35
Tritanopia (blue-blind)
#457A6D
Achromatopsia (no color)
#717171
Design tokens & code
CSS
--color: #487e2f; /* rgb */ color: rgb(72, 126, 47); /* oklch */ color: oklch(53.7% 0.125 137.1);
Tailwind
colors: {
custom: {
50: '#7fa46b',
500: '#487e2f',
950: '#000000',
},
}SCSS
$custom: #487e2f; $custom-light: #7fa46b; $custom-dark: #000000;
JSON
{
"hex": "#487e2f",
"rgb": {
"r": 72,
"g": 126,
"b": 47
},
"hsl": {
"h": 101.013,
"s": 45.665,
"l": 33.922
},
"oklch": {
"l": 0.53729,
"c": 0.12542,
"h": 137.1
},
"luminance": 0.16505
}Semantic roles & 50–950 ramp
primary
#487E2F
secondary
#935DAC
accent
#52D5AC
background
#F8FAF6
surface
#EFF4EB
border
#CACEC6
text
#0A0F07
muted
#7C7F7A