#487A1B#487A1B
#487A1B is a mid, vivid yellow-green. Relative luminance 0.154; OKLCH L 52.5% C 0.135 H 133.7°. Best body text is #FFFFFF at 5.15:1 contrast (WCAG AA passes).
Color values
| HEX | #487A1B |
|---|---|
| RGB | rgb(72, 122, 27) |
| HSL | hsl(92, 64%, 29%) |
| HSV | hsv(92, 78%, 48%) |
| CMYK | cmyk(41%, 0%, 77.9%, 52.2%) |
| CIE-LAB | lab(46.14, -33.17, 43.64) |
| CIE-LCH | lch(46.14, 54.81, 127.24°) |
| OKLab | oklab(52.46% -0.0932 0.0975) |
| OKLCH | oklch(52.46% 0.135 133.7) |
| XYZ | xyz(9.8297, 15.3754, 3.4865) |
| Luminance | 0.1538 (WCAG relative) |
| Temperature | warm |
| Family | yellow-green |
Closest named colors
Dark Grass Green
#388004
ΔE00 3.40
Tree Green
#2A7E19
ΔE00 4.26
Avocado
#568203
ΔE00 4.78
Dirty Green
#667E2C
ΔE00 5.97
Green
#008000
ΔE00 6.18
Swamp
#698339
ΔE00 7.04
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#487A1B #4D1B7A
analogous
#787A1B #487A1B #1B7A1E
triadic
#487A1B #1B487A #7A1B48
tetradic
#487A1B #1B787A #4D1B7A #7A1E1B
square
#487A1B #1B787A #4D1B7A #7A1E1B
split-complementary
#487A1B #1E1B7A #7A1B78
monochromatic
#0F1906 #2A4810 #487A1B #66AC26 #84D43C
Accessibility & contrast
On white
5.15
#487A1B on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
4.08
#487A1B on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #487A1B
5.15:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##487A1B | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##487A1B | 1.00 | 5.15 | 4.08 | 5.15 |
| #FFFFFF | 5.15 | 1.00 | 21.00 | 1.00 |
| #000000 | 4.08 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 5.15 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#7F7006
Deuteranopia (green-blind)
#786C25
Tritanopia (blue-blind)
#487568
Achromatopsia (no color)
#6D6D6D
Design tokens & code
CSS
--color: #487a1b; /* rgb */ color: rgb(72, 122, 27); /* oklch */ color: oklch(52.5% 0.135 133.7);
Tailwind
colors: {
custom: {
50: '#80a15f',
500: '#487a1b',
950: '#000000',
},
}SCSS
$custom: #487a1b; $custom-light: #80a15f; $custom-dark: #000000;
JSON
{
"hex": "#487a1b",
"rgb": {
"r": 72,
"g": 122,
"b": 27
},
"hsl": {
"h": 91.579,
"s": 63.758,
"l": 29.216
},
"oklch": {
"l": 0.52461,
"c": 0.13483,
"h": 133.7
},
"luminance": 0.15376
}Semantic roles & 50–950 ramp
primary
#487A1B
secondary
#7B43AE
accent
#41E798
background
#F8F9F5
surface
#EFF2EA
border
#CACCC6
text
#0B0F05
muted
#7C7E79