#477F2F#477F2F
#477F2F is a mid, vivid green. Relative luminance 0.167; OKLCH L 53.9% C 0.127 H 137.5°. Best body text is #FFFFFF at 4.83:1 contrast (WCAG AA passes).
Color values
| HEX | #477F2F |
|---|---|
| RGB | rgb(71, 127, 47) |
| HSL | hsl(102, 46%, 34%) |
| HSV | hsv(102, 63%, 50%) |
| CMYK | cmyk(44.1%, 0%, 63%, 50.2%) |
| CIE-LAB | lab(47.91, -34.04, 36.92) |
| CIE-LCH | lch(47.91, 50.22, 132.67°) |
| OKLab | oklab(53.95% -0.0939 0.0861) |
| OKLCH | oklch(53.95% 0.127 137.5) |
| XYZ | xyz(10.7007, 16.7229, 5.3528) |
| Luminance | 0.1672 (WCAG relative) |
| Temperature | warm |
| Family | green |
Closest named colors
Tree Green
#2A7E19
ΔE00 3.93
Dark Grass Green
#388004
ΔE00 4.52
Darkish Green
#287C37
ΔE00 5.04
Fern Green
#548D44
ΔE00 5.64
Forestgreen (CSS)
#228B22
ΔE00 5.83
Green
#008000
ΔE00 6.21
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#477F2F #672F7F
analogous
#6F7F2F #477F2F #2F7F3F
triadic
#477F2F #2F477F #7F2F47
tetradic
#477F2F #2F6F7F #672F7F #7F3F2F
square
#477F2F #2F6F7F #672F7F #7F3F2F
split-complementary
#477F2F #3F2F7F #7F2F6F
monochromatic
#15260E #2E521E #477F2F #60AC40 #81C563
Accessibility & contrast
On white
4.83
#477F2F on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
4.34
#477F2F on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #477F2F
4.83:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##477F2F | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##477F2F | 1.00 | 4.83 | 4.34 | 4.83 |
| #FFFFFF | 4.83 | 1.00 | 21.00 | 1.00 |
| #000000 | 4.34 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 4.83 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#837526
Deuteranopia (green-blind)
#7B7035
Tritanopia (blue-blind)
#447B6E
Achromatopsia (no color)
#727272
Design tokens & code
CSS
--color: #477f2f; /* rgb */ color: rgb(71, 127, 47); /* oklch */ color: oklch(53.9% 0.127 137.5);
Tailwind
colors: {
custom: {
50: '#7fa46b',
500: '#477f2f',
950: '#000000',
},
}SCSS
$custom: #477f2f; $custom-light: #7fa46b; $custom-dark: #000000;
JSON
{
"hex": "#477f2f",
"rgb": {
"r": 71,
"g": 127,
"b": 47
},
"hsl": {
"h": 102,
"s": 45.977,
"l": 34.118
},
"oklch": {
"l": 0.53945,
"c": 0.12741,
"h": 137.5
},
"luminance": 0.16724
}Semantic roles & 50–950 ramp
primary
#477F2F
secondary
#955EAC
accent
#52D6AE
background
#F7FAF6
surface
#EEF4EB
border
#C9CEC6
text
#0A0F07
muted
#7C7F7A