#487F19#487F19
#487F19 is a mid, vivid yellow-green. Relative luminance 0.166; OKLCH L 53.8% C 0.143 H 134.3°. Best body text is #FFFFFF at 4.86:1 contrast (WCAG AA passes).
Color values
| HEX | #487F19 |
|---|---|
| RGB | rgb(72, 127, 25) |
| HSL | hsl(92, 67%, 30%) |
| HSV | hsv(92, 80%, 50%) |
| CMYK | cmyk(43.3%, 0%, 80.3%, 50.2%) |
| CIE-LAB | lab(47.79, -35.50, 45.91) |
| CIE-LCH | lch(47.79, 58.04, 127.72°) |
| OKLab | oklab(53.8% -0.0996 0.1019) |
| OKLCH | oklch(53.8% 0.143 134.3) |
| XYZ | xyz(10.4371, 16.6261, 3.5787) |
| Luminance | 0.1663 (WCAG relative) |
| Temperature | warm |
| Family | yellow-green |
Closest named colors
Dark Grass Green
#388004
ΔE00 2.32
Avocado
#568203
ΔE00 3.74
Tree Green
#2A7E19
ΔE00 4.00
Sap Green
#5C8B15
ΔE00 5.62
Green
#008000
ΔE00 5.63
Dirty Green
#667E2C
ΔE00 6.01
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#487F19 #50197F
analogous
#7B7F19 #487F19 #197F1D
triadic
#487F19 #19487F #7F1948
tetradic
#487F19 #197B7F #50197F #7F1D19
square
#487F19 #197B7F #50197F #7F1D19
split-complementary
#487F19 #1D197F #7F197B
monochromatic
#0E1A05 #2B4C0F #487F19 #65B223 #83D83A
Accessibility & contrast
On white
4.86
#487F19 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
4.33
#487F19 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #487F19
4.86:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##487F19 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##487F19 | 1.00 | 4.86 | 4.33 | 4.86 |
| #FFFFFF | 4.86 | 1.00 | 21.00 | 1.00 |
| #000000 | 4.33 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 4.86 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#847400
Deuteranopia (green-blind)
#7D7024
Tritanopia (blue-blind)
#477A6C
Achromatopsia (no color)
#717171
Design tokens & code
CSS
--color: #487f19; /* rgb */ color: rgb(72, 127, 25); /* oklch */ color: oklch(53.8% 0.143 134.3);
Tailwind
colors: {
custom: {
50: '#80a45f',
500: '#487f19',
950: '#000000',
},
}SCSS
$custom: #487f19; $custom-light: #80a45f; $custom-dark: #000000;
JSON
{
"hex": "#487f19",
"rgb": {
"r": 72,
"g": 127,
"b": 25
},
"hsl": {
"h": 92.353,
"s": 67.105,
"l": 29.804
},
"oklch": {
"l": 0.53802,
"c": 0.14251,
"h": 134.3
},
"luminance": 0.16627
}Semantic roles & 50–950 ramp
primary
#487F19
secondary
#7E41B3
accent
#3EEA9B
background
#F8FAF5
surface
#EFF4EA
border
#CACEC6
text
#0B0F05
muted
#7C7F79