#477A2C#477A2C
#477A2C is a mid, vivid yellow-green. Relative luminance 0.154; OKLCH L 52.6% C 0.123 H 136.3°. Best body text is #FFFFFF at 5.14:1 contrast (WCAG AA passes).
Color values
| HEX | #477A2C |
|---|---|
| RGB | rgb(71, 122, 44) |
| HSL | hsl(99, 47%, 33%) |
| HSV | hsv(99, 64%, 48%) |
| CMYK | cmyk(41.8%, 0%, 63.9%, 52.2%) |
| CIE-LAB | lab(46.23, -32.10, 36.47) |
| CIE-LCH | lch(46.23, 48.58, 131.35°) |
| OKLab | oklab(52.56% -0.0888 0.0848) |
| OKLCH | oklch(52.56% 0.123 136.3) |
| XYZ | xyz(10.0124, 15.4400, 4.8350) |
| Luminance | 0.1544 (WCAG relative) |
| Temperature | warm |
| Family | yellow-green |
Closest named colors
Tree Green
#2A7E19
ΔE00 4.28
Dark Grass Green
#388004
ΔE00 4.96
Darkish Green
#287C37
ΔE00 5.20
Military Green
#667C3E
ΔE00 6.51
Green
#008000
ΔE00 6.64
Dirty Green
#667E2C
ΔE00 6.72
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#477A2C #5F2C7A
analogous
#6E7A2C #477A2C #2C7A38
triadic
#477A2C #2C477A #7A2C47
tetradic
#477A2C #2C6E7A #5F2C7A #7A382C
square
#477A2C #2C6E7A #5F2C7A #7A382C
split-complementary
#477A2C #382C7A #7A2C6E
monochromatic
#13200C #2D4D1C #477A2C #61A73C #80C45C
Accessibility & contrast
On white
5.14
#477A2C on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
4.09
#477A2C on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #477A2C
5.14:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##477A2C | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##477A2C | 1.00 | 5.14 | 4.09 | 5.14 |
| #FFFFFF | 5.14 | 1.00 | 21.00 | 1.00 |
| #000000 | 4.09 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 5.14 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#7E7023
Deuteranopia (green-blind)
#776C32
Tritanopia (blue-blind)
#457669
Achromatopsia (no color)
#6D6D6D
Design tokens & code
CSS
--color: #477a2c; /* rgb */ color: rgb(71, 122, 44); /* oklch */ color: oklch(52.6% 0.123 136.3);
Tailwind
colors: {
custom: {
50: '#7ea168',
500: '#477a2c',
950: '#000000',
},
}SCSS
$custom: #477a2c; $custom-light: #7ea168; $custom-dark: #000000;
JSON
{
"hex": "#477a2c",
"rgb": {
"r": 71,
"g": 122,
"b": 44
},
"hsl": {
"h": 99.231,
"s": 46.988,
"l": 32.549
},
"oklch": {
"l": 0.52563,
"c": 0.12282,
"h": 136.3
},
"luminance": 0.15441
}Semantic roles & 50–950 ramp
primary
#477A2C
secondary
#8E57AA
accent
#51D7A8
background
#F7F9F6
surface
#EEF2EB
border
#C9CCC6
text
#0A0F06
muted
#7C7E7A