#478E28#478E28
#478E28 is a mid, vivid green. Relative luminance 0.208; OKLCH L 57.9% C 0.153 H 137.9°. Best body text is #000000 at 5.17:1 contrast (WCAG AA passes).
Color values
| HEX | #478E28 |
|---|---|
| RGB | rgb(71, 142, 40) |
| HSL | hsl(102, 56%, 36%) |
| HSV | hsv(102, 72%, 56%) |
| CMYK | cmyk(50%, 0%, 71.8%, 44.3%) |
| CIE-LAB | lab(52.77, -41.12, 45.26) |
| CIE-LCH | lch(52.77, 61.15, 132.25°) |
| OKLab | oklab(57.91% -0.1136 0.1028) |
| OKLCH | oklch(57.91% 0.153 137.9) |
| XYZ | xyz(12.6541, 20.8379, 5.3624) |
| Luminance | 0.2084 (WCAG relative) |
| Temperature | warm |
| Family | green |
Closest named colors
Forestgreen (CSS)
#228B22
ΔE00 3.76
Fern Green
#548D44
ΔE00 4.42
Emerald Green
#028F1E
ΔE00 4.51
True Green
#089404
ΔE00 4.71
Sap Green
#5C8B15
ΔE00 4.74
Irish Green
#019529
ΔE00 5.00
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#478E28 #6F288E
analogous
#7A8E28 #478E28 #288E3C
triadic
#478E28 #28478E #8E2847
tetradic
#478E28 #287A8E #6F288E #8E3C28
square
#478E28 #287A8E #6F288E #8E3C28
split-complementary
#478E28 #3C288E #8E287A
monochromatic
#172F0D #2F5E1B #478E28 #5FBE35 #82D25F
Accessibility & contrast
On white
4.06
#478E28 on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
5.17
#478E28 on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #478E28
5.17:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##478E28 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##478E28 | 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)
#938218
Deuteranopia (green-blind)
#897C32
Tritanopia (blue-blind)
#42897A
Achromatopsia (no color)
#7E7E7E
Design tokens & code
CSS
--color: #478e28; /* rgb */ color: rgb(71, 142, 40); /* oklch */ color: oklch(57.9% 0.153 137.9);
Tailwind
colors: {
custom: {
50: '#81b068',
500: '#478e28',
950: '#000000',
},
}SCSS
$custom: #478e28; $custom-light: #81b068; $custom-dark: #000000;
JSON
{
"hex": "#478e28",
"rgb": {
"r": 71,
"g": 142,
"b": 40
},
"hsl": {
"h": 101.765,
"s": 56.044,
"l": 35.686
},
"oklch": {
"l": 0.57914,
"c": 0.15327,
"h": 137.9
},
"luminance": 0.20839
}Semantic roles & 50–950 ramp
primary
#478E28
secondary
#9B5BB7
accent
#48DFB1
background
#F8FAF6
surface
#EFF5EB
border
#CACFC6
text
#0B1006
muted
#7C7F7A