#478E2E#478E2E
#478E2E is a mid, vivid green. Relative luminance 0.209; OKLCH L 58.0% C 0.149 H 138.6°. Best body text is #000000 at 5.18:1 contrast (WCAG AA passes).
Color values
| HEX | #478E2E |
|---|---|
| RGB | rgb(71, 142, 46) |
| HSL | hsl(104, 51%, 37%) |
| HSV | hsv(104, 68%, 56%) |
| CMYK | cmyk(50%, 0%, 67.6%, 44.3%) |
| CIE-LAB | lab(52.82, -40.59, 42.79) |
| CIE-LCH | lch(52.82, 58.98, 133.49°) |
| OKLab | oklab(57.97% -0.1118 0.0984) |
| OKLCH | oklch(57.97% 0.149 138.6) |
| XYZ | xyz(12.7642, 20.8819, 5.9423) |
| Luminance | 0.2088 (WCAG relative) |
| Temperature | warm |
| Family | green |
Closest named colors
Forestgreen (CSS)
#228B22
ΔE00 3.67
Fern Green
#548D44
ΔE00 3.71
Emerald Green
#028F1E
ΔE00 4.48
Irish Green
#019529
ΔE00 4.84
True Green
#089404
ΔE00 5.04
Moss Green (survey)
#658B38
ΔE00 5.12
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#478E2E #752E8E
analogous
#778E2E #478E2E #2E8E45
triadic
#478E2E #2E478E #8E2E47
tetradic
#478E2E #2E778E #752E8E #8E452E
square
#478E2E #2E778E #752E8E #8E452E
split-complementary
#478E2E #452E8E #8E2E77
monochromatic
#193210 #30601F #478E2E #5EBC3D #83CE68
Accessibility & contrast
On white
4.06
#478E2E on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
5.18
#478E2E on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #478E2E
5.18:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##478E2E | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##478E2E | 1.00 | 4.06 | 5.18 | 5.18 |
| #FFFFFF | 4.06 | 1.00 | 21.00 | 21.00 |
| #000000 | 5.18 | 21.00 | 1.00 | 1.00 |
| ##000000 | 5.18 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#928221
Deuteranopia (green-blind)
#897C36
Tritanopia (blue-blind)
#41897A
Achromatopsia (no color)
#7E7E7E
Design tokens & code
CSS
--color: #478e2e; /* rgb */ color: rgb(71, 142, 46); /* oklch */ color: oklch(58.0% 0.149 138.6);
Tailwind
colors: {
custom: {
50: '#81b06c',
500: '#478e2e',
950: '#000000',
},
}SCSS
$custom: #478e2e; $custom-light: #81b06c; $custom-dark: #000000;
JSON
{
"hex": "#478e2e",
"rgb": {
"r": 71,
"g": 142,
"b": 46
},
"hsl": {
"h": 104.375,
"s": 51.064,
"l": 36.863
},
"oklch": {
"l": 0.57969,
"c": 0.14896,
"h": 138.6
},
"luminance": 0.20883
}Semantic roles & 50–950 ramp
primary
#478E2E
secondary
#A063B5
accent
#4DDBB6
background
#F8FAF6
surface
#EFF5EB
border
#CACFC6
text
#0B1007
muted
#7C7F7A