#478C2D#478C2D
#478C2D is a mid, vivid green. Relative luminance 0.203; OKLCH L 57.4% C 0.147 H 138.3°. Best body text is #000000 at 5.06:1 contrast (WCAG AA passes).
Color values
| HEX | #478C2D |
|---|---|
| RGB | rgb(71, 140, 45) |
| HSL | hsl(104, 51%, 36%) |
| HSV | hsv(104, 68%, 55%) |
| CMYK | cmyk(49.3%, 0%, 67.9%, 45.1%) |
| CIE-LAB | lab(52.16, -39.85, 42.51) |
| CIE-LCH | lch(52.16, 58.27, 133.15°) |
| OKLab | oklab(57.42% -0.1099 0.0977) |
| OKLCH | oklch(57.42% 0.147 138.3) |
| XYZ | xyz(12.4498, 20.2844, 5.7414) |
| Luminance | 0.2029 (WCAG relative) |
| Temperature | warm |
| Family | green |
Closest named colors
Forestgreen (CSS)
#228B22
ΔE00 3.55
Fern Green
#548D44
ΔE00 3.71
Emerald Green
#028F1E
ΔE00 4.60
Moss Green (survey)
#658B38
ΔE00 5.01
Irish Green
#019529
ΔE00 5.22
Sap Green
#5C8B15
ΔE00 5.23
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#478C2D #722D8C
analogous
#778C2D #478C2D #2D8C43
triadic
#478C2D #2D478C #8C2D47
tetradic
#478C2D #2D778C #722D8C #8C432D
square
#478C2D #2D778C #722D8C #8C432D
split-complementary
#478C2D #432D8C #8C2D77
monochromatic
#182F0F #305E1E #478C2D #5EBA3C #82CE66
Accessibility & contrast
On white
4.15
#478C2D on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
5.06
#478C2D on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #478C2D
5.06:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##478C2D | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##478C2D | 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)
#908020
Deuteranopia (green-blind)
#877A35
Tritanopia (blue-blind)
#428779
Achromatopsia (no color)
#7C7C7C
Design tokens & code
CSS
--color: #478c2d; /* rgb */ color: rgb(71, 140, 45); /* oklch */ color: oklch(57.4% 0.147 138.3);
Tailwind
colors: {
custom: {
50: '#81ae6b',
500: '#478c2d',
950: '#000000',
},
}SCSS
$custom: #478c2d; $custom-light: #81ae6b; $custom-dark: #000000;
JSON
{
"hex": "#478c2d",
"rgb": {
"r": 71,
"g": 140,
"b": 45
},
"hsl": {
"h": 103.579,
"s": 51.351,
"l": 36.275
},
"oklch": {
"l": 0.57422,
"c": 0.14704,
"h": 138.3
},
"luminance": 0.20285
}Semantic roles & 50–950 ramp
primary
#478C2D
secondary
#9D60B4
accent
#4DDBB4
background
#F8FAF6
surface
#EFF4EB
border
#CACEC6
text
#0B1007
muted
#7C7F7A