#477C1A#477C1A
#477C1A is a mid, vivid yellow-green. Relative luminance 0.158; OKLCH L 52.9% C 0.139 H 134.3°. Best body text is #FFFFFF at 5.04:1 contrast (WCAG AA passes).
Color values
| HEX | #477C1A |
|---|---|
| RGB | rgb(71, 124, 26) |
| HSL | hsl(92, 65%, 29%) |
| HSV | hsv(92, 79%, 49%) |
| CMYK | cmyk(42.7%, 0%, 79%, 51.4%) |
| CIE-LAB | lab(46.75, -34.49, 44.56) |
| CIE-LCH | lch(46.75, 56.35, 127.74°) |
| OKLab | oklab(52.94% -0.0967 0.0993) |
| OKLCH | oklch(52.94% 0.139 134.3) |
| XYZ | xyz(9.9924, 15.8289, 3.5059) |
| Luminance | 0.1583 (WCAG relative) |
| Temperature | warm |
| Family | yellow-green |
Closest named colors
Dark Grass Green
#388004
ΔE00 2.76
Tree Green
#2A7E19
ΔE00 3.89
Avocado
#568203
ΔE00 4.41
Green
#008000
ΔE00 5.73
Dirty Green
#667E2C
ΔE00 6.08
Sap Green
#5C8B15
ΔE00 6.64
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#477C1A #4F1A7C
analogous
#787C1A #477C1A #1A7C1E
triadic
#477C1A #1A477C #7C1A47
tetradic
#477C1A #1A787C #4F1A7C #7C1E1A
square
#477C1A #1A787C #4F1A7C #7C1E1A
split-complementary
#477C1A #1E1A7C #7C1A78
monochromatic
#0E1905 #2A490F #477C1A #64AF25 #82D63B
Accessibility & contrast
On white
5.04
#477C1A on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
4.17
#477C1A on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #477C1A
5.04:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##477C1A | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##477C1A | 1.00 | 5.04 | 4.17 | 5.04 |
| #FFFFFF | 5.04 | 1.00 | 21.00 | 1.00 |
| #000000 | 4.17 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 5.04 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#817203
Deuteranopia (green-blind)
#7A6D24
Tritanopia (blue-blind)
#46776A
Achromatopsia (no color)
#6F6F6F
Design tokens & code
CSS
--color: #477c1a; /* rgb */ color: rgb(71, 124, 26); /* oklch */ color: oklch(52.9% 0.139 134.3);
Tailwind
colors: {
custom: {
50: '#7fa25f',
500: '#477c1a',
950: '#000000',
},
}SCSS
$custom: #477c1a; $custom-light: #7fa25f; $custom-dark: #000000;
JSON
{
"hex": "#477c1a",
"rgb": {
"r": 71,
"g": 124,
"b": 26
},
"hsl": {
"h": 92.449,
"s": 65.333,
"l": 29.412
},
"oklch": {
"l": 0.52941,
"c": 0.1386,
"h": 134.3
},
"luminance": 0.15829
}Semantic roles & 50–950 ramp
primary
#477C1A
secondary
#7D42B0
accent
#40E89B
background
#F8FAF5
surface
#EFF3EA
border
#CACDC6
text
#0B0F05
muted
#7C7F79