#478E27#478E27
#478E27 is a mid, vivid green. Relative luminance 0.208; OKLCH L 57.9% C 0.154 H 137.7°. Best body text is #000000 at 5.17:1 contrast (WCAG AA passes).
Color values
| HEX | #478E27 |
|---|---|
| RGB | rgb(71, 142, 39) |
| HSL | hsl(101, 57%, 35%) |
| HSV | hsv(101, 73%, 56%) |
| CMYK | cmyk(50%, 0%, 72.5%, 44.3%) |
| CIE-LAB | lab(52.76, -41.20, 45.65) |
| CIE-LCH | lch(52.76, 61.50, 132.06°) |
| OKLab | oklab(57.9% -0.1139 0.1035) |
| OKLCH | oklch(57.9% 0.154 137.7) |
| XYZ | xyz(12.6373, 20.8312, 5.2740) |
| Luminance | 0.2083 (WCAG relative) |
| Temperature | warm |
| Family | green |
Closest named colors
Forestgreen (CSS)
#228B22
ΔE00 3.80
Emerald Green
#028F1E
ΔE00 4.53
Fern Green
#548D44
ΔE00 4.54
Sap Green
#5C8B15
ΔE00 4.65
True Green
#089404
ΔE00 4.67
Mossy Green
#638B27
ΔE00 4.97
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#478E27 #6E278E
analogous
#7A8E27 #478E27 #278E3A
triadic
#478E27 #27478E #8E2747
tetradic
#478E27 #277A8E #6E278E #8E3A27
square
#478E27 #277A8E #6E278E #8E3A27
split-complementary
#478E27 #3A278E #8E277A
monochromatic
#172E0D #2F5E1A #478E27 #5FBE34 #81D25D
Accessibility & contrast
On white
4.06
#478E27 on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
5.17
#478E27 on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #478E27
5.17:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##478E27 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##478E27 | 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)
#938216
Deuteranopia (green-blind)
#897C31
Tritanopia (blue-blind)
#42897A
Achromatopsia (no color)
#7E7E7E
Design tokens & code
CSS
--color: #478e27; /* rgb */ color: rgb(71, 142, 39); /* oklch */ color: oklch(57.9% 0.154 137.7);
Tailwind
colors: {
custom: {
50: '#81b068',
500: '#478e27',
950: '#000000',
},
}SCSS
$custom: #478e27; $custom-light: #81b068; $custom-dark: #000000;
JSON
{
"hex": "#478e27",
"rgb": {
"r": 71,
"g": 142,
"b": 39
},
"hsl": {
"h": 101.359,
"s": 56.906,
"l": 35.49
},
"oklch": {
"l": 0.57905,
"c": 0.15394,
"h": 137.7
},
"luminance": 0.20832
}Semantic roles & 50–950 ramp
primary
#478E27
secondary
#9A59B8
accent
#48E0B1
background
#F8FAF6
surface
#EFF5EB
border
#CACFC6
text
#0B1006
muted
#7C7F7A