#487F2C#487F2C
#487F2C is a mid, vivid yellow-green. Relative luminance 0.167; OKLCH L 54.0% C 0.129 H 136.7°. Best body text is #FFFFFF at 4.83:1 contrast (WCAG AA passes).
Color values
| HEX | #487F2C |
|---|---|
| RGB | rgb(72, 127, 44) |
| HSL | hsl(100, 49%, 34%) |
| HSV | hsv(100, 65%, 50%) |
| CMYK | cmyk(43.3%, 0%, 65.4%, 50.2%) |
| CIE-LAB | lab(47.93, -34.00, 38.37) |
| CIE-LCH | lch(47.93, 51.27, 131.55°) |
| OKLab | oklab(53.96% -0.0941 0.0888) |
| OKLCH | oklch(53.96% 0.129 136.7) |
| XYZ | xyz(10.7162, 16.7377, 5.0484) |
| Luminance | 0.1674 (WCAG relative) |
| Temperature | warm |
| Family | yellow-green |
Closest named colors
Tree Green
#2A7E19
ΔE00 3.86
Dark Grass Green
#388004
ΔE00 4.09
Darkish Green
#287C37
ΔE00 5.53
Fern Green
#548D44
ΔE00 5.81
Forestgreen (CSS)
#228B22
ΔE00 5.83
Avocado
#568203
ΔE00 5.94
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#487F2C #632C7F
analogous
#717F2C #487F2C #2C7F39
triadic
#487F2C #2C487F #7F2C48
tetradic
#487F2C #2C717F #632C7F #7F392C
square
#487F2C #2C717F #632C7F #7F392C
split-complementary
#487F2C #392C7F #7F2C71
monochromatic
#14240D #2E521C #487F2C #62AC3C #82C75E
Accessibility & contrast
On white
4.83
#487F2C on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
4.35
#487F2C on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #487F2C
4.83:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##487F2C | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##487F2C | 1.00 | 4.83 | 4.35 | 4.83 |
| #FFFFFF | 4.83 | 1.00 | 21.00 | 1.00 |
| #000000 | 4.35 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 4.83 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#837522
Deuteranopia (green-blind)
#7C7033
Tritanopia (blue-blind)
#467A6E
Achromatopsia (no color)
#727272
Design tokens & code
CSS
--color: #487f2c; /* rgb */ color: rgb(72, 127, 44); /* oklch */ color: oklch(54.0% 0.129 136.7);
Tailwind
colors: {
custom: {
50: '#7fa469',
500: '#487f2c',
950: '#000000',
},
}SCSS
$custom: #487f2c; $custom-light: #7fa469; $custom-dark: #000000;
JSON
{
"hex": "#487f2c",
"rgb": {
"r": 72,
"g": 127,
"b": 44
},
"hsl": {
"h": 99.759,
"s": 48.538,
"l": 33.529
},
"oklch": {
"l": 0.53964,
"c": 0.12941,
"h": 136.7
},
"luminance": 0.16738
}Semantic roles & 50–950 ramp
primary
#487F2C
secondary
#9159AD
accent
#50D8AA
background
#F8FAF6
surface
#EFF4EB
border
#CACEC6
text
#0A0F06
muted
#7C7F7A