#487F2F#487F2F
#487F2F is a mid, vivid green. Relative luminance 0.168; OKLCH L 54.0% C 0.127 H 137.2°. Best body text is #FFFFFF at 4.82:1 contrast (WCAG AA passes).
Color values
| HEX | #487F2F |
|---|---|
| RGB | rgb(72, 127, 47) |
| HSL | hsl(101, 46%, 34%) |
| HSV | hsv(101, 63%, 50%) |
| CMYK | cmyk(43.3%, 0%, 63%, 50.2%) |
| CIE-LAB | lab(47.96, -33.69, 36.99) |
| CIE-LCH | lch(47.96, 50.03, 132.33°) |
| OKLab | oklab(54% -0.093 0.0862) |
| OKLCH | oklch(54% 0.127 137.2) |
| XYZ | xyz(10.7746, 16.7611, 5.3562) |
| Luminance | 0.1676 (WCAG relative) |
| Temperature | warm |
| Family | green |
Closest named colors
Tree Green
#2A7E19
ΔE00 4.05
Dark Grass Green
#388004
ΔE00 4.54
Darkish Green
#287C37
ΔE00 5.19
Fern Green
#548D44
ΔE00 5.61
Forestgreen (CSS)
#228B22
ΔE00 5.92
Green
#008000
ΔE00 6.32
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#487F2F #662F7F
analogous
#707F2F #487F2F #2F7F3E
triadic
#487F2F #2F487F #7F2F48
tetradic
#487F2F #2F707F #662F7F #7F3E2F
square
#487F2F #2F707F #662F7F #7F3E2F
split-complementary
#487F2F #3E2F7F #7F2F70
monochromatic
#15260E #2F521E #487F2F #61AC40 #82C563
Accessibility & contrast
On white
4.82
#487F2F on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
4.35
#487F2F on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #487F2F
4.82:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##487F2F | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##487F2F | 1.00 | 4.82 | 4.35 | 4.82 |
| #FFFFFF | 4.82 | 1.00 | 21.00 | 1.00 |
| #000000 | 4.35 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 4.82 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#837526
Deuteranopia (green-blind)
#7C7035
Tritanopia (blue-blind)
#457B6E
Achromatopsia (no color)
#727272
Design tokens & code
CSS
--color: #487f2f; /* rgb */ color: rgb(72, 127, 47); /* oklch */ color: oklch(54.0% 0.127 137.2);
Tailwind
colors: {
custom: {
50: '#7fa46b',
500: '#487f2f',
950: '#000000',
},
}SCSS
$custom: #487f2f; $custom-light: #7fa46b; $custom-dark: #000000;
JSON
{
"hex": "#487f2f",
"rgb": {
"r": 72,
"g": 127,
"b": 47
},
"hsl": {
"h": 101.25,
"s": 45.977,
"l": 34.118
},
"oklch": {
"l": 0.53998,
"c": 0.12685,
"h": 137.2
},
"luminance": 0.16762
}Semantic roles & 50–950 ramp
primary
#487F2F
secondary
#945EAC
accent
#52D6AD
background
#F8FAF6
surface
#EFF4EB
border
#CACEC6
text
#0A0F07
muted
#7C7F7A