#487F17#487F17
#487F17 is a mid, vivid yellow-green. Relative luminance 0.166; OKLCH L 53.8% C 0.144 H 134.2°. Best body text is #FFFFFF at 4.86:1 contrast (WCAG AA passes).
Color values
| HEX | #487F17 |
|---|---|
| RGB | rgb(72, 127, 23) |
| HSL | hsl(92, 69%, 29%) |
| HSV | hsv(92, 82%, 50%) |
| CMYK | cmyk(43.3%, 0%, 81.9%, 50.2%) |
| CIE-LAB | lab(47.77, -35.62, 46.55) |
| CIE-LCH | lch(47.77, 58.62, 127.42°) |
| OKLab | oklab(53.79% -0.1 0.1029) |
| OKLCH | oklch(53.79% 0.144 134.2) |
| XYZ | xyz(10.4163, 16.6178, 3.4691) |
| Luminance | 0.1662 (WCAG relative) |
| Temperature | warm |
| Family | yellow-green |
Closest named colors
Dark Grass Green
#388004
ΔE00 2.26
Avocado
#568203
ΔE00 3.58
Tree Green
#2A7E19
ΔE00 4.09
Sap Green
#5C8B15
ΔE00 5.54
Green
#008000
ΔE00 5.66
Dirty Green
#667E2C
ΔE00 6.01
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#487F17 #4E177F
analogous
#7C7F17 #487F17 #177F1A
triadic
#487F17 #17487F #7F1748
tetradic
#487F17 #177C7F #4E177F #7F1A17
square
#487F17 #177C7F #4E177F #7F1A17
split-complementary
#487F17 #1A177F #7F177C
monochromatic
#0F1A05 #2B4B0E #487F17 #65B320 #83DB36
Accessibility & contrast
On white
4.86
#487F17 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
4.32
#487F17 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #487F17
4.86:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##487F17 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##487F17 | 1.00 | 4.86 | 4.32 | 4.86 |
| #FFFFFF | 4.86 | 1.00 | 21.00 | 1.00 |
| #000000 | 4.32 | 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)
#7D7023
Tritanopia (blue-blind)
#477A6C
Achromatopsia (no color)
#717171
Design tokens & code
CSS
--color: #487f17; /* rgb */ color: rgb(72, 127, 23); /* oklch */ color: oklch(53.8% 0.144 134.2);
Tailwind
colors: {
custom: {
50: '#80a45e',
500: '#487f17',
950: '#000000',
},
}SCSS
$custom: #487f17; $custom-light: #80a45e; $custom-dark: #000000;
JSON
{
"hex": "#487f17",
"rgb": {
"r": 72,
"g": 127,
"b": 23
},
"hsl": {
"h": 91.731,
"s": 69.333,
"l": 29.412
},
"oklch": {
"l": 0.5379,
"c": 0.14354,
"h": 134.2
},
"luminance": 0.16618
}Semantic roles & 50–950 ramp
primary
#487F17
secondary
#7C3EB4
accent
#3CEC99
background
#F8FAF5
surface
#EFF4E9
border
#CACEC5
text
#0B0F05
muted
#7C7F79