#477E18#477E18
#477E18 is a mid, vivid yellow-green. Relative luminance 0.163; OKLCH L 53.5% C 0.142 H 134.4°. Best body text is #FFFFFF at 4.92:1 contrast (WCAG AA passes).
Color values
| HEX | #477E18 |
|---|---|
| RGB | rgb(71, 126, 24) |
| HSL | hsl(92, 68%, 29%) |
| HSV | hsv(92, 81%, 49%) |
| CMYK | cmyk(43.7%, 0%, 81%, 50.6%) |
| CIE-LAB | lab(47.40, -35.48, 45.86) |
| CIE-LCH | lch(47.40, 57.99, 127.73°) |
| OKLab | oklab(53.47% -0.0995 0.1017) |
| OKLCH | oklch(53.47% 0.142 134.4) |
| XYZ | xyz(10.2241, 16.3267, 3.4766) |
| Luminance | 0.1633 (WCAG relative) |
| Temperature | warm |
| Family | yellow-green |
Closest named colors
Dark Grass Green
#388004
ΔE00 2.29
Tree Green
#2A7E19
ΔE00 3.87
Avocado
#568203
ΔE00 3.93
Green
#008000
ΔE00 5.55
Sap Green
#5C8B15
ΔE00 5.97
Dirty Green
#667E2C
ΔE00 6.11
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#477E18 #4F187E
analogous
#7A7E18 #477E18 #187E1C
triadic
#477E18 #18477E #7E1847
tetradic
#477E18 #187A7E #4F187E #7E1C18
square
#477E18 #187A7E #4F187E #7E1C18
split-complementary
#477E18 #1C187E #7E187A
monochromatic
#0E1A05 #2A4B0E #477E18 #64B122 #82D937
Accessibility & contrast
On white
4.92
#477E18 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
4.27
#477E18 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #477E18
4.92:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##477E18 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##477E18 | 1.00 | 4.92 | 4.27 | 4.92 |
| #FFFFFF | 4.92 | 1.00 | 21.00 | 1.00 |
| #000000 | 4.27 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 4.92 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#837300
Deuteranopia (green-blind)
#7C6F23
Tritanopia (blue-blind)
#46796B
Achromatopsia (no color)
#707070
Design tokens & code
CSS
--color: #477e18; /* rgb */ color: rgb(71, 126, 24); /* oklch */ color: oklch(53.5% 0.142 134.4);
Tailwind
colors: {
custom: {
50: '#80a45e',
500: '#477e18',
950: '#000000',
},
}SCSS
$custom: #477e18; $custom-light: #80a45e; $custom-dark: #000000;
JSON
{
"hex": "#477e18",
"rgb": {
"r": 71,
"g": 126,
"b": 24
},
"hsl": {
"h": 92.353,
"s": 68,
"l": 29.412
},
"oklch": {
"l": 0.53471,
"c": 0.14229,
"h": 134.4
},
"luminance": 0.16327
}Semantic roles & 50–950 ramp
primary
#477E18
secondary
#7D3FB2
accent
#3DEB9B
background
#F8FAF5
surface
#EFF4E9
border
#CACEC5
text
#0B0F05
muted
#7C7F79