#487C1B#487C1B
#487C1B is a mid, vivid yellow-green. Relative luminance 0.159; OKLCH L 53.0% C 0.137 H 134.0°. Best body text is #FFFFFF at 5.03:1 contrast (WCAG AA passes).
Color values
| HEX | #487C1B |
|---|---|
| RGB | rgb(72, 124, 27) |
| HSL | hsl(92, 64%, 30%) |
| HSV | hsv(92, 78%, 49%) |
| CMYK | cmyk(41.9%, 0%, 78.2%, 51.4%) |
| CIE-LAB | lab(46.81, -34.06, 44.28) |
| CIE-LCH | lch(46.81, 55.86, 127.57°) |
| OKLab | oklab(53% -0.0956 0.0988) |
| OKLCH | oklch(53% 0.137 134) |
| XYZ | xyz(10.0778, 15.8716, 3.5692) |
| Luminance | 0.1587 (WCAG relative) |
| Temperature | warm |
| Family | yellow-green |
Closest named colors
Dark Grass Green
#388004
ΔE00 2.90
Tree Green
#2A7E19
ΔE00 4.02
Avocado
#568203
ΔE00 4.37
Green
#008000
ΔE00 5.89
Dirty Green
#667E2C
ΔE00 5.93
Sap Green
#5C8B15
ΔE00 6.59
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#487C1B #4F1B7C
analogous
#797C1B #487C1B #1B7C1F
triadic
#487C1B #1B487C #7C1B48
tetradic
#487C1B #1B797C #4F1B7C #7C1F1B
square
#487C1B #1B797C #4F1B7C #7C1F1B
split-complementary
#487C1B #1F1B7C #7C1B79
monochromatic
#0F1905 #2B4A10 #487C1B #65AE26 #83D53D
Accessibility & contrast
On white
5.03
#487C1B on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
4.17
#487C1B on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #487C1B
5.03:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##487C1B | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##487C1B | 1.00 | 5.03 | 4.17 | 5.03 |
| #FFFFFF | 5.03 | 1.00 | 21.00 | 1.00 |
| #000000 | 4.17 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 5.03 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#817205
Deuteranopia (green-blind)
#7A6D25
Tritanopia (blue-blind)
#48776A
Achromatopsia (no color)
#6F6F6F
Design tokens & code
CSS
--color: #487c1b; /* rgb */ color: rgb(72, 124, 27); /* oklch */ color: oklch(53.0% 0.137 134.0);
Tailwind
colors: {
custom: {
50: '#80a25f',
500: '#487c1b',
950: '#000000',
},
}SCSS
$custom: #487c1b; $custom-light: #80a25f; $custom-dark: #000000;
JSON
{
"hex": "#487c1b",
"rgb": {
"r": 72,
"g": 124,
"b": 27
},
"hsl": {
"h": 92.165,
"s": 64.238,
"l": 29.608
},
"oklch": {
"l": 0.53003,
"c": 0.13747,
"h": 134
},
"luminance": 0.15872
}Semantic roles & 50–950 ramp
primary
#487C1B
secondary
#7D43B0
accent
#41E79A
background
#F8FAF5
surface
#EFF3EA
border
#CACDC6
text
#0B0F05
muted
#7C7F79