#477A1A#477A1A
#477A1A is a mid, vivid yellow-green. Relative luminance 0.153; OKLCH L 52.4% C 0.136 H 133.9°. Best body text is #FFFFFF at 5.16:1 contrast (WCAG AA passes).
Color values
| HEX | #477A1A |
|---|---|
| RGB | rgb(71, 122, 26) |
| HSL | hsl(92, 65%, 29%) |
| HSV | hsv(92, 79%, 48%) |
| CMYK | cmyk(41.8%, 0%, 78.7%, 52.2%) |
| CIE-LAB | lab(46.09, -33.60, 43.92) |
| CIE-LCH | lch(46.09, 55.30, 127.42°) |
| OKLab | oklab(52.4% -0.0943 0.0979) |
| OKLCH | oklch(52.4% 0.136 133.9) |
| XYZ | xyz(9.7443, 15.3327, 3.4232) |
| Luminance | 0.1533 (WCAG relative) |
| Temperature | warm |
| Family | yellow-green |
Closest named colors
Dark Grass Green
#388004
ΔE00 3.27
Tree Green
#2A7E19
ΔE00 4.13
Avocado
#568203
ΔE00 4.82
Green
#008000
ΔE00 6.02
Dirty Green
#667E2C
ΔE00 6.13
Swamp
#698339
ΔE00 7.19
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#477A1A #4D1A7A
analogous
#777A1A #477A1A #1A7A1D
triadic
#477A1A #1A477A #7A1A47
tetradic
#477A1A #1A777A #4D1A7A #7A1D1A
square
#477A1A #1A777A #4D1A7A #7A1D1A
split-complementary
#477A1A #1D1A7A #7A1A77
monochromatic
#0F1905 #2A480F #477A1A #64AC25 #82D539
Accessibility & contrast
On white
5.16
#477A1A on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
4.07
#477A1A on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #477A1A
5.16:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##477A1A | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##477A1A | 1.00 | 5.16 | 4.07 | 5.16 |
| #FFFFFF | 5.16 | 1.00 | 21.00 | 1.00 |
| #000000 | 4.07 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 5.16 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#7F7004
Deuteranopia (green-blind)
#786C24
Tritanopia (blue-blind)
#477568
Achromatopsia (no color)
#6D6D6D
Design tokens & code
CSS
--color: #477a1a; /* rgb */ color: rgb(71, 122, 26); /* oklch */ color: oklch(52.4% 0.136 133.9);
Tailwind
colors: {
custom: {
50: '#7fa15e',
500: '#477a1a',
950: '#000000',
},
}SCSS
$custom: #477a1a; $custom-light: #7fa15e; $custom-dark: #000000;
JSON
{
"hex": "#477a1a",
"rgb": {
"r": 71,
"g": 122,
"b": 26
},
"hsl": {
"h": 91.875,
"s": 64.865,
"l": 29.02
},
"oklch": {
"l": 0.52398,
"c": 0.13598,
"h": 133.9
},
"luminance": 0.15333
}Semantic roles & 50–950 ramp
primary
#477A1A
secondary
#7B41AE
accent
#40E899
background
#F8F9F5
surface
#EFF2E9
border
#CACCC5
text
#0A0F05
muted
#7C7E79