#487C1A#487C1A
#487C1A is a mid, vivid yellow-green. Relative luminance 0.159; OKLCH L 53.0% C 0.138 H 134.0°. Best body text is #FFFFFF at 5.03:1 contrast (WCAG AA passes).
Color values
| HEX | #487C1A |
|---|---|
| RGB | rgb(72, 124, 26) |
| HSL | hsl(92, 65%, 29%) |
| HSV | hsv(92, 79%, 49%) |
| CMYK | cmyk(41.9%, 0%, 79%, 51.4%) |
| CIE-LAB | lab(46.80, -34.12, 44.63) |
| CIE-LCH | lch(46.80, 56.18, 127.40°) |
| OKLab | oklab(53% -0.0958 0.0994) |
| OKLCH | oklch(53% 0.138 134) |
| XYZ | xyz(10.0664, 15.8671, 3.5093) |
| Luminance | 0.1587 (WCAG relative) |
| Temperature | warm |
| Family | yellow-green |
Closest named colors
Dark Grass Green
#388004
ΔE00 2.86
Tree Green
#2A7E19
ΔE00 4.06
Avocado
#568203
ΔE00 4.28
Green
#008000
ΔE00 5.89
Dirty Green
#667E2C
ΔE00 5.92
Sap Green
#5C8B15
ΔE00 6.54
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#487C1A #4E1A7C
analogous
#797C1A #487C1A #1A7C1D
triadic
#487C1A #1A487C #7C1A48
tetradic
#487C1A #1A797C #4E1A7C #7C1D1A
square
#487C1A #1A797C #4E1A7C #7C1D1A
split-complementary
#487C1A #1D1A7C #7C1A79
monochromatic
#0F1905 #2B490F #487C1A #65AF25 #83D63B
Accessibility & contrast
On white
5.03
#487C1A on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
4.17
#487C1A on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #487C1A
5.03:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##487C1A | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##487C1A | 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)
#817203
Deuteranopia (green-blind)
#7A6D24
Tritanopia (blue-blind)
#48776A
Achromatopsia (no color)
#6F6F6F
Design tokens & code
CSS
--color: #487c1a; /* rgb */ color: rgb(72, 124, 26); /* oklch */ color: oklch(53.0% 0.138 134.0);
Tailwind
colors: {
custom: {
50: '#80a25f',
500: '#487c1a',
950: '#000000',
},
}SCSS
$custom: #487c1a; $custom-light: #80a25f; $custom-dark: #000000;
JSON
{
"hex": "#487c1a",
"rgb": {
"r": 72,
"g": 124,
"b": 26
},
"hsl": {
"h": 91.837,
"s": 65.333,
"l": 29.412
},
"oklch": {
"l": 0.52996,
"c": 0.13805,
"h": 134
},
"luminance": 0.15868
}Semantic roles & 50–950 ramp
primary
#487C1A
secondary
#7C42B0
accent
#40E899
background
#F8FAF5
surface
#EFF3EA
border
#CACDC6
text
#0B0F05
muted
#7C7F79