#478E2C#478E2C
#478E2C is a mid, vivid green. Relative luminance 0.209; OKLCH L 58.0% C 0.150 H 138.4°. Best body text is #000000 at 5.17:1 contrast (WCAG AA passes).
Color values
| HEX | #478E2C |
|---|---|
| RGB | rgb(71, 142, 44) |
| HSL | hsl(103, 53%, 36%) |
| HSV | hsv(103, 69%, 56%) |
| CMYK | cmyk(50%, 0%, 69%, 44.3%) |
| CIE-LAB | lab(52.80, -40.77, 43.64) |
| CIE-LCH | lch(52.80, 59.72, 133.06°) |
| OKLab | oklab(57.95% -0.1124 0.1) |
| OKLCH | oklch(57.95% 0.15 138.4) |
| XYZ | xyz(12.7257, 20.8665, 5.7395) |
| Luminance | 0.2087 (WCAG relative) |
| Temperature | warm |
| Family | green |
Closest named colors
Forestgreen (CSS)
#228B22
ΔE00 3.68
Fern Green
#548D44
ΔE00 3.95
Emerald Green
#028F1E
ΔE00 4.47
Irish Green
#019529
ΔE00 4.88
True Green
#089404
ΔE00 4.92
Moss Green (survey)
#658B38
ΔE00 5.11
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#478E2C #732C8E
analogous
#788E2C #478E2C #2C8E42
triadic
#478E2C #2C478E #8E2C47
tetradic
#478E2C #2C788E #732C8E #8E422C
square
#478E2C #2C788E #732C8E #8E422C
split-complementary
#478E2C #422C8E #8E2C78
monochromatic
#18310F #305F1E #478E2C #5EBD3A #82CF65
Accessibility & contrast
On white
4.06
#478E2C on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
5.17
#478E2C on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #478E2C
5.17:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##478E2C | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##478E2C | 1.00 | 4.06 | 5.17 | 5.17 |
| #FFFFFF | 4.06 | 1.00 | 21.00 | 21.00 |
| #000000 | 5.17 | 21.00 | 1.00 | 1.00 |
| ##000000 | 5.17 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#92821E
Deuteranopia (green-blind)
#897C35
Tritanopia (blue-blind)
#42897A
Achromatopsia (no color)
#7E7E7E
Design tokens & code
CSS
--color: #478e2c; /* rgb */ color: rgb(71, 142, 44); /* oklch */ color: oklch(58.0% 0.150 138.4);
Tailwind
colors: {
custom: {
50: '#81b06a',
500: '#478e2c',
950: '#000000',
},
}SCSS
$custom: #478e2c; $custom-light: #81b06a; $custom-dark: #000000;
JSON
{
"hex": "#478e2c",
"rgb": {
"r": 71,
"g": 142,
"b": 44
},
"hsl": {
"h": 103.469,
"s": 52.688,
"l": 36.471
},
"oklch": {
"l": 0.5795,
"c": 0.15044,
"h": 138.4
},
"luminance": 0.20867
}Semantic roles & 50–950 ramp
primary
#478E2C
secondary
#9E60B6
accent
#4CDCB4
background
#F8FAF6
surface
#EFF5EB
border
#CACFC6
text
#0B1007
muted
#7C7F7A