#478E2A#478E2A
#478E2A is a mid, vivid green. Relative luminance 0.209; OKLCH L 57.9% C 0.152 H 138.1°. Best body text is #000000 at 5.17:1 contrast (WCAG AA passes).
Color values
| HEX | #478E2A |
|---|---|
| RGB | rgb(71, 142, 42) |
| HSL | hsl(103, 54%, 36%) |
| HSV | hsv(103, 70%, 56%) |
| CMYK | cmyk(50%, 0%, 70.4%, 44.3%) |
| CIE-LAB | lab(52.79, -40.95, 44.46) |
| CIE-LCH | lch(52.79, 60.45, 132.65°) |
| OKLab | oklab(57.93% -0.1131 0.1014) |
| OKLCH | oklch(57.93% 0.152 138.1) |
| XYZ | xyz(12.6890, 20.8519, 5.5462) |
| Luminance | 0.2085 (WCAG relative) |
| Temperature | warm |
| Family | green |
Closest named colors
Forestgreen (CSS)
#228B22
ΔE00 3.71
Fern Green
#548D44
ΔE00 4.19
Emerald Green
#028F1E
ΔE00 4.48
True Green
#089404
ΔE00 4.80
Sap Green
#5C8B15
ΔE00 4.93
Irish Green
#019529
ΔE00 4.93
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#478E2A #712A8E
analogous
#798E2A #478E2A #2A8E3F
triadic
#478E2A #2A478E #8E2A47
tetradic
#478E2A #2A798E #712A8E #8E3F2A
square
#478E2A #2A798E #712A8E #8E3F2A
split-complementary
#478E2A #3F2A8E #8E2A79
monochromatic
#18300E #2F5F1C #478E2A #5FBD38 #82D162
Accessibility & contrast
On white
4.06
#478E2A on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
5.17
#478E2A on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #478E2A
5.17:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##478E2A | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##478E2A | 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)
#92821B
Deuteranopia (green-blind)
#897C33
Tritanopia (blue-blind)
#42897A
Achromatopsia (no color)
#7E7E7E
Design tokens & code
CSS
--color: #478e2a; /* rgb */ color: rgb(71, 142, 42); /* oklch */ color: oklch(57.9% 0.152 138.1);
Tailwind
colors: {
custom: {
50: '#81b069',
500: '#478e2a',
950: '#000000',
},
}SCSS
$custom: #478e2a; $custom-light: #81b069; $custom-dark: #000000;
JSON
{
"hex": "#478e2a",
"rgb": {
"r": 71,
"g": 142,
"b": 42
},
"hsl": {
"h": 102.6,
"s": 54.348,
"l": 36.078
},
"oklch": {
"l": 0.57931,
"c": 0.15188,
"h": 138.1
},
"luminance": 0.20853
}Semantic roles & 50–950 ramp
primary
#478E2A
secondary
#9D5DB6
accent
#4ADEB3
background
#F8FAF6
surface
#EFF5EB
border
#CACFC6
text
#0B1007
muted
#7C7F7A