#478D2F#478D2F
#478D2F is a mid, vivid green. Relative luminance 0.206; OKLCH L 57.7% C 0.147 H 138.7°. Best body text is #000000 at 5.12:1 contrast (WCAG AA passes).
Color values
| HEX | #478D2F |
|---|---|
| RGB | rgb(71, 141, 47) |
| HSL | hsl(105, 50%, 37%) |
| HSV | hsv(105, 67%, 55%) |
| CMYK | cmyk(49.6%, 0%, 66.7%, 44.7%) |
| CIE-LAB | lab(52.50, -40.08, 42.01) |
| CIE-LCH | lch(52.50, 58.06, 133.65°) |
| OKLab | oklab(57.71% -0.1103 0.0969) |
| OKLCH | oklch(57.71% 0.147 138.7) |
| XYZ | xyz(12.6360, 20.5937, 5.9979) |
| Luminance | 0.2059 (WCAG relative) |
| Temperature | warm |
| Family | green |
Closest named colors
Fern Green
#548D44
ΔE00 3.50
Forestgreen (CSS)
#228B22
ΔE00 3.60
Emerald Green
#028F1E
ΔE00 4.55
Irish Green
#019529
ΔE00 5.00
Moss Green (survey)
#658B38
ΔE00 5.07
True Green
#089404
ΔE00 5.30
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#478D2F #752F8D
analogous
#768D2F #478D2F #2F8D46
triadic
#478D2F #2F478D #8D2F47
tetradic
#478D2F #2F768D #752F8D #8D462F
square
#478D2F #2F768D #752F8D #8D462F
split-complementary
#478D2F #462F8D #8D2F76
monochromatic
#193110 #305F20 #478D2F #5EBB3E #83CD69
Accessibility & contrast
On white
4.10
#478D2F on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
5.12
#478D2F on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #478D2F
5.12:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##478D2F | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##478D2F | 1.00 | 4.10 | 5.12 | 5.12 |
| #FFFFFF | 4.10 | 1.00 | 21.00 | 21.00 |
| #000000 | 5.12 | 21.00 | 1.00 | 1.00 |
| ##000000 | 5.12 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#918123
Deuteranopia (green-blind)
#887B37
Tritanopia (blue-blind)
#41887A
Achromatopsia (no color)
#7D7D7D
Design tokens & code
CSS
--color: #478d2f; /* rgb */ color: rgb(71, 141, 47); /* oklch */ color: oklch(57.7% 0.147 138.7);
Tailwind
colors: {
custom: {
50: '#81af6c',
500: '#478d2f',
950: '#000000',
},
}SCSS
$custom: #478d2f; $custom-light: #81af6c; $custom-dark: #000000;
JSON
{
"hex": "#478d2f",
"rgb": {
"r": 71,
"g": 141,
"b": 47
},
"hsl": {
"h": 104.681,
"s": 50,
"l": 36.863
},
"oklch": {
"l": 0.57711,
"c": 0.14685,
"h": 138.7
},
"luminance": 0.20595
}Semantic roles & 50–950 ramp
primary
#478D2F
secondary
#A064B4
accent
#4EDAB6
background
#F8FAF6
surface
#EFF4EC
border
#CACEC7
text
#0B1007
muted
#7C7F7A