#477D2F#477D2F
#477D2F is a mid, vivid green. Relative luminance 0.162; OKLCH L 53.4% C 0.125 H 137.3°. Best body text is #FFFFFF at 4.95:1 contrast (WCAG AA passes).
Color values
| HEX | #477D2F |
|---|---|
| RGB | rgb(71, 125, 47) |
| HSL | hsl(102, 45%, 34%) |
| HSV | hsv(102, 62%, 49%) |
| CMYK | cmyk(43.2%, 0%, 62.4%, 51%) |
| CIE-LAB | lab(47.25, -33.14, 36.18) |
| CIE-LCH | lch(47.25, 49.06, 132.49°) |
| OKLab | oklab(53.41% -0.0915 0.0845) |
| OKLCH | oklch(53.41% 0.125 137.3) |
| XYZ | xyz(10.4449, 16.2115, 5.2675) |
| Luminance | 0.1621 (WCAG relative) |
| Temperature | warm |
| Family | green |
Closest named colors
Tree Green
#2A7E19
ΔE00 4.07
Dark Grass Green
#388004
ΔE00 4.81
Darkish Green
#287C37
ΔE00 4.89
Fern Green
#548D44
ΔE00 6.24
Green
#008000
ΔE00 6.42
Forestgreen (CSS)
#228B22
ΔE00 6.45
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#477D2F #652F7D
analogous
#6E7D2F #477D2F #2F7D3E
triadic
#477D2F #2F477D #7D2F47
tetradic
#477D2F #2F6E7D #652F7D #7D3E2F
square
#477D2F #2F6E7D #652F7D #7D3E2F
split-complementary
#477D2F #3E2F7D #7D2F6E
monochromatic
#14240E #2E511E #477D2F #60A940 #80C462
Accessibility & contrast
On white
4.95
#477D2F on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
4.24
#477D2F on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #477D2F
4.95:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##477D2F | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##477D2F | 1.00 | 4.95 | 4.24 | 4.95 |
| #FFFFFF | 4.95 | 1.00 | 21.00 | 1.00 |
| #000000 | 4.24 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 4.95 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#817326
Deuteranopia (green-blind)
#7A6E35
Tritanopia (blue-blind)
#44796C
Achromatopsia (no color)
#707070
Design tokens & code
CSS
--color: #477d2f; /* rgb */ color: rgb(71, 125, 47); /* oklch */ color: oklch(53.4% 0.125 137.3);
Tailwind
colors: {
custom: {
50: '#7ea36b',
500: '#477d2f',
950: '#000000',
},
}SCSS
$custom: #477d2f; $custom-light: #7ea36b; $custom-dark: #000000;
JSON
{
"hex": "#477d2f",
"rgb": {
"r": 71,
"g": 125,
"b": 47
},
"hsl": {
"h": 101.538,
"s": 45.349,
"l": 33.725
},
"oklch": {
"l": 0.53406,
"c": 0.12453,
"h": 137.3
},
"luminance": 0.16212
}Semantic roles & 50–950 ramp
primary
#477D2F
secondary
#935DAB
accent
#53D5AD
background
#F7FAF6
surface
#EEF4EB
border
#C9CEC6
text
#0A0F07
muted
#7C7F7A