#477E16#477E16
#477E16 is a mid, vivid yellow-green. Relative luminance 0.163; OKLCH L 53.5% C 0.143 H 134.2°. Best body text is #FFFFFF at 4.93:1 contrast (WCAG AA passes).
Color values
| HEX | #477E16 |
|---|---|
| RGB | rgb(71, 126, 22) |
| HSL | hsl(92, 70%, 29%) |
| HSV | hsv(92, 83%, 49%) |
| CMYK | cmyk(43.7%, 0%, 82.5%, 50.6%) |
| CIE-LAB | lab(47.39, -35.60, 46.49) |
| CIE-LCH | lch(47.39, 58.55, 127.44°) |
| OKLab | oklab(53.46% -0.1 0.1027) |
| OKLCH | oklch(53.46% 0.143 134.2) |
| XYZ | xyz(10.2040, 16.3187, 3.3711) |
| Luminance | 0.1632 (WCAG relative) |
| Temperature | warm |
| Family | yellow-green |
Closest named colors
Dark Grass Green
#388004
ΔE00 2.23
Avocado
#568203
ΔE00 3.78
Tree Green
#2A7E19
ΔE00 3.97
Green
#008000
ΔE00 5.57
Sap Green
#5C8B15
ΔE00 5.89
Dirty Green
#667E2C
ΔE00 6.12
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#477E16 #4D167E
analogous
#7B7E16 #477E16 #167E19
triadic
#477E16 #16477E #7E1647
tetradic
#477E16 #167B7E #4D167E #7E1916
square
#477E16 #167B7E #4D167E #7E1916
split-complementary
#477E16 #19167E #7E167B
monochromatic
#0F1A05 #2A4A0D #477E16 #64B21F #82DB33
Accessibility & contrast
On white
4.93
#477E16 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
4.26
#477E16 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #477E16
4.93:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##477E16 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##477E16 | 1.00 | 4.93 | 4.26 | 4.93 |
| #FFFFFF | 4.93 | 1.00 | 21.00 | 1.00 |
| #000000 | 4.26 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 4.93 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#837300
Deuteranopia (green-blind)
#7C6F22
Tritanopia (blue-blind)
#46796B
Achromatopsia (no color)
#707070
Design tokens & code
CSS
--color: #477e16; /* rgb */ color: rgb(71, 126, 22); /* oklch */ color: oklch(53.5% 0.143 134.2);
Tailwind
colors: {
custom: {
50: '#80a45d',
500: '#477e16',
950: '#000000',
},
}SCSS
$custom: #477e16; $custom-light: #80a45d; $custom-dark: #000000;
JSON
{
"hex": "#477e16",
"rgb": {
"r": 71,
"g": 126,
"b": 22
},
"hsl": {
"h": 91.731,
"s": 70.27,
"l": 29.02
},
"oklch": {
"l": 0.53459,
"c": 0.14331,
"h": 134.2
},
"luminance": 0.16319
}Semantic roles & 50–950 ramp
primary
#477E16
secondary
#7B3DB3
accent
#3BED99
background
#F8FAF5
surface
#EFF4E9
border
#CACEC5
text
#0B0F05
muted
#7C7F79