#477C17#477C17
#477C17 is a mid, vivid yellow-green. Relative luminance 0.158; OKLCH L 52.9% C 0.140 H 134.0°. Best body text is #FFFFFF at 5.04:1 contrast (WCAG AA passes).
Color values
| HEX | #477C17 |
|---|---|
| RGB | rgb(71, 124, 23) |
| HSL | hsl(91, 69%, 29%) |
| HSV | hsv(91, 81%, 49%) |
| CMYK | cmyk(42.7%, 0%, 81.5%, 51.4%) |
| CIE-LAB | lab(46.73, -34.67, 45.56) |
| CIE-LCH | lch(46.73, 57.25, 127.27°) |
| OKLab | oklab(52.92% -0.0974 0.1009) |
| OKLCH | oklch(52.92% 0.14 134) |
| XYZ | xyz(9.9607, 15.8162, 3.3384) |
| Luminance | 0.1582 (WCAG relative) |
| Temperature | warm |
| Family | yellow-green |
Closest named colors
Dark Grass Green
#388004
ΔE00 2.64
Tree Green
#2A7E19
ΔE00 4.02
Avocado
#568203
ΔE00 4.18
Green
#008000
ΔE00 5.75
Dirty Green
#667E2C
ΔE00 6.08
Sap Green
#5C8B15
ΔE00 6.52
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#477C17 #4C177C
analogous
#7A7C17 #477C17 #177C1A
triadic
#477C17 #17477C #7C1747
tetradic
#477C17 #177A7C #4C177C #7C1A17
square
#477C17 #177A7C #4C177C #7C1A17
split-complementary
#477C17 #1A177C #7C177A
monochromatic
#0F1A05 #29480D #477C17 #65B021 #83D934
Accessibility & contrast
On white
5.04
#477C17 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
4.16
#477C17 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #477C17
5.04:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##477C17 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##477C17 | 1.00 | 5.04 | 4.16 | 5.04 |
| #FFFFFF | 5.04 | 1.00 | 21.00 | 1.00 |
| #000000 | 4.16 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 5.04 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#817100
Deuteranopia (green-blind)
#7A6D22
Tritanopia (blue-blind)
#467769
Achromatopsia (no color)
#6F6F6F
Design tokens & code
CSS
--color: #477c17; /* rgb */ color: rgb(71, 124, 23); /* oklch */ color: oklch(52.9% 0.140 134.0);
Tailwind
colors: {
custom: {
50: '#80a25d',
500: '#477c17',
950: '#000000',
},
}SCSS
$custom: #477c17; $custom-light: #80a25d; $custom-dark: #000000;
JSON
{
"hex": "#477c17",
"rgb": {
"r": 71,
"g": 124,
"b": 23
},
"hsl": {
"h": 91.485,
"s": 68.707,
"l": 28.824
},
"oklch": {
"l": 0.52922,
"c": 0.14024,
"h": 134
},
"luminance": 0.15817
}Semantic roles & 50–950 ramp
primary
#477C17
secondary
#7A3EB1
accent
#3CEC98
background
#F8FAF5
surface
#EFF3E9
border
#CACDC5
text
#0B0F05
muted
#7C7F79