#478C2F#478C2F
#478C2F is a mid, vivid green. Relative luminance 0.203; OKLCH L 57.4% C 0.145 H 138.6°. Best body text is #000000 at 5.06:1 contrast (WCAG AA passes).
Color values
| HEX | #478C2F |
|---|---|
| RGB | rgb(71, 140, 47) |
| HSL | hsl(105, 50%, 37%) |
| HSV | hsv(105, 66%, 55%) |
| CMYK | cmyk(49.3%, 0%, 66.4%, 45.1%) |
| CIE-LAB | lab(52.17, -39.66, 41.65) |
| CIE-LCH | lch(52.17, 57.51, 133.60°) |
| OKLab | oklab(57.44% -0.1092 0.0961) |
| OKLCH | oklch(57.44% 0.146 138.6) |
| XYZ | xyz(12.4893, 20.3001, 5.9490) |
| Luminance | 0.2030 (WCAG relative) |
| Temperature | warm |
| Family | green |
Closest named colors
Fern Green
#548D44
ΔE00 3.46
Forestgreen (CSS)
#228B22
ΔE00 3.56
Emerald Green
#028F1E
ΔE00 4.62
Moss Green (survey)
#658B38
ΔE00 5.03
Irish Green
#019529
ΔE00 5.20
Mossy Green
#638B27
ΔE00 5.42
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#478C2F #742F8C
analogous
#768C2F #478C2F #2F8C46
triadic
#478C2F #2F478C #8C2F47
tetradic
#478C2F #2F768C #742F8C #8C462F
square
#478C2F #2F768C #742F8C #8C462F
split-complementary
#478C2F #462F8C #8C2F76
monochromatic
#193010 #305E20 #478C2F #5EBA3E #83CD69
Accessibility & contrast
On white
4.15
#478C2F on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
5.06
#478C2F on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #478C2F
5.06:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##478C2F | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##478C2F | 1.00 | 4.15 | 5.06 | 5.06 |
| #FFFFFF | 4.15 | 1.00 | 21.00 | 21.00 |
| #000000 | 5.06 | 21.00 | 1.00 | 1.00 |
| ##000000 | 5.06 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#908023
Deuteranopia (green-blind)
#877A37
Tritanopia (blue-blind)
#428779
Achromatopsia (no color)
#7C7C7C
Design tokens & code
CSS
--color: #478c2f; /* rgb */ color: rgb(71, 140, 47); /* oklch */ color: oklch(57.4% 0.145 138.6);
Tailwind
colors: {
custom: {
50: '#80ae6c',
500: '#478c2f',
950: '#000000',
},
}SCSS
$custom: #478c2f; $custom-light: #80ae6c; $custom-dark: #000000;
JSON
{
"hex": "#478c2f",
"rgb": {
"r": 71,
"g": 140,
"b": 47
},
"hsl": {
"h": 104.516,
"s": 49.733,
"l": 36.667
},
"oklch": {
"l": 0.57442,
"c": 0.1455,
"h": 138.6
},
"luminance": 0.20301
}Semantic roles & 50–950 ramp
primary
#478C2F
secondary
#9F63B4
accent
#4FD9B5
background
#F8FAF6
surface
#EFF4EC
border
#CACEC7
text
#0B1007
muted
#7C7F7A