#478F2D#478F2D
#478F2D is a mid, vivid green. Relative luminance 0.212; OKLCH L 58.2% C 0.151 H 138.6°. Best body text is #000000 at 5.23:1 contrast (WCAG AA passes).
Color values
| HEX | #478F2D |
|---|---|
| RGB | rgb(71, 143, 45) |
| HSL | hsl(104, 52%, 37%) |
| HSV | hsv(104, 69%, 56%) |
| CMYK | cmyk(50.3%, 0%, 68.5%, 43.9%) |
| CIE-LAB | lab(53.14, -41.10, 43.57) |
| CIE-LCH | lch(53.14, 59.89, 133.33°) |
| OKLab | oklab(58.23% -0.1132 0.0999) |
| OKLCH | oklch(58.23% 0.151 138.6) |
| XYZ | xyz(12.8942, 21.1731, 5.8895) |
| Luminance | 0.2117 (WCAG relative) |
| Temperature | warm |
| Family | green |
Closest named colors
Forestgreen (CSS)
#228B22
ΔE00 3.79
Fern Green
#548D44
ΔE00 3.93
Emerald Green
#028F1E
ΔE00 4.46
Irish Green
#019529
ΔE00 4.70
True Green
#089404
ΔE00 4.82
Moss Green (survey)
#658B38
ΔE00 5.20
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#478F2D #752D8F
analogous
#788F2D #478F2D #2D8F44
triadic
#478F2D #2D478F #8F2D47
tetradic
#478F2D #2D788F #752D8F #8F442D
square
#478F2D #2D788F #752D8F #8F442D
split-complementary
#478F2D #442D8F #8F2D78
monochromatic
#193210 #30601E #478F2D #5EBE3C #83CF67
Accessibility & contrast
On white
4.01
#478F2D on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
5.23
#478F2D on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #478F2D
5.23:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##478F2D | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##478F2D | 1.00 | 4.01 | 5.23 | 5.23 |
| #FFFFFF | 4.01 | 1.00 | 21.00 | 21.00 |
| #000000 | 5.23 | 21.00 | 1.00 | 1.00 |
| ##000000 | 5.23 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#938320
Deuteranopia (green-blind)
#8A7D36
Tritanopia (blue-blind)
#418A7B
Achromatopsia (no color)
#7F7F7F
Design tokens & code
CSS
--color: #478f2d; /* rgb */ color: rgb(71, 143, 45); /* oklch */ color: oklch(58.2% 0.151 138.6);
Tailwind
colors: {
custom: {
50: '#81b06b',
500: '#478f2d',
950: '#000000',
},
}SCSS
$custom: #478f2d; $custom-light: #81b06b; $custom-dark: #000000;
JSON
{
"hex": "#478f2d",
"rgb": {
"r": 71,
"g": 143,
"b": 45
},
"hsl": {
"h": 104.082,
"s": 52.128,
"l": 36.863
},
"oklch": {
"l": 0.58228,
"c": 0.15103,
"h": 138.6
},
"luminance": 0.21174
}Semantic roles & 50–950 ramp
primary
#478F2D
secondary
#A062B6
accent
#4CDCB6
background
#F8FAF6
surface
#EFF5EB
border
#CACFC6
text
#0B1007
muted
#7C7F7A