#487A1A#487A1A
#487A1A is a mid, vivid yellow-green. Relative luminance 0.154; OKLCH L 52.5% C 0.135 H 133.6°. Best body text is #FFFFFF at 5.15:1 contrast (WCAG AA passes).
Color values
| HEX | #487A1A |
|---|---|
| RGB | rgb(72, 122, 26) |
| HSL | hsl(91, 65%, 29%) |
| HSV | hsv(91, 79%, 48%) |
| CMYK | cmyk(41%, 0%, 78.7%, 52.2%) |
| CIE-LAB | lab(46.14, -33.23, 43.99) |
| CIE-LCH | lch(46.14, 55.13, 127.07°) |
| OKLab | oklab(52.45% -0.0934 0.0981) |
| OKLCH | oklch(52.45% 0.135 133.6) |
| XYZ | xyz(9.8183, 15.3709, 3.4266) |
| Luminance | 0.1537 (WCAG relative) |
| Temperature | warm |
| Family | yellow-green |
Closest named colors
Dark Grass Green
#388004
ΔE00 3.36
Tree Green
#2A7E19
ΔE00 4.30
Avocado
#568203
ΔE00 4.70
Dirty Green
#667E2C
ΔE00 5.97
Green
#008000
ΔE00 6.18
Swamp
#698339
ΔE00 7.07
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#487A1A #4C1A7A
analogous
#787A1A #487A1A #1A7A1C
triadic
#487A1A #1A487A #7A1A48
tetradic
#487A1A #1A787A #4C1A7A #7A1C1A
square
#487A1A #1A787A #4C1A7A #7A1C1A
split-complementary
#487A1A #1C1A7A #7A1A78
monochromatic
#0F1905 #2A480F #487A1A #66AC25 #84D539
Accessibility & contrast
On white
5.15
#487A1A on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
4.07
#487A1A on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #487A1A
5.15:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##487A1A | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##487A1A | 1.00 | 5.15 | 4.07 | 5.15 |
| #FFFFFF | 5.15 | 1.00 | 21.00 | 1.00 |
| #000000 | 4.07 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 5.15 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#7F7004
Deuteranopia (green-blind)
#786C24
Tritanopia (blue-blind)
#487568
Achromatopsia (no color)
#6D6D6D
Design tokens & code
CSS
--color: #487a1a; /* rgb */ color: rgb(72, 122, 26); /* oklch */ color: oklch(52.5% 0.135 133.6);
Tailwind
colors: {
custom: {
50: '#80a15f',
500: '#487a1a',
950: '#000000',
},
}SCSS
$custom: #487a1a; $custom-light: #80a15f; $custom-dark: #000000;
JSON
{
"hex": "#487a1a",
"rgb": {
"r": 72,
"g": 122,
"b": 26
},
"hsl": {
"h": 91.25,
"s": 64.865,
"l": 29.02
},
"oklch": {
"l": 0.52454,
"c": 0.13542,
"h": 133.6
},
"luminance": 0.15371
}Semantic roles & 50–950 ramp
primary
#487A1A
secondary
#7A41AE
accent
#40E897
background
#F8F9F5
surface
#EFF2E9
border
#CACCC5
text
#0B0F05
muted
#7C7E79