#478E26#478E26
#478E26 is a mid, vivid green. Relative luminance 0.208; OKLCH L 57.9% C 0.155 H 137.6°. Best body text is #000000 at 5.17:1 contrast (WCAG AA passes).
Color values
| HEX | #478E26 |
|---|---|
| RGB | rgb(71, 142, 38) |
| HSL | hsl(101, 58%, 35%) |
| HSV | hsv(101, 73%, 56%) |
| CMYK | cmyk(50%, 0%, 73.2%, 44.3%) |
| CIE-LAB | lab(52.76, -41.28, 46.04) |
| CIE-LCH | lch(52.76, 61.84, 131.88°) |
| OKLab | oklab(57.9% -0.1142 0.1042) |
| OKLCH | oklch(57.9% 0.155 137.6) |
| XYZ | xyz(12.6210, 20.8247, 5.1879) |
| Luminance | 0.2083 (WCAG relative) |
| Temperature | warm |
| Family | green |
Closest named colors
Forestgreen (CSS)
#228B22
ΔE00 3.83
Emerald Green
#028F1E
ΔE00 4.55
Sap Green
#5C8B15
ΔE00 4.57
True Green
#089404
ΔE00 4.63
Fern Green
#548D44
ΔE00 4.65
Mossy Green
#638B27
ΔE00 4.93
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#478E26 #6D268E
analogous
#7B8E26 #478E26 #268E39
triadic
#478E26 #26478E #8E2647
tetradic
#478E26 #267B8E #6D268E #8E3926
square
#478E26 #267B8E #6D268E #8E3926
split-complementary
#478E26 #39268E #8E267B
monochromatic
#172D0C #2F5E19 #478E26 #5FBE33 #81D35B
Accessibility & contrast
On white
4.07
#478E26 on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
5.17
#478E26 on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #478E26
5.17:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##478E26 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##478E26 | 1.00 | 4.07 | 5.17 | 5.17 |
| #FFFFFF | 4.07 | 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)
#938214
Deuteranopia (green-blind)
#897C30
Tritanopia (blue-blind)
#42897A
Achromatopsia (no color)
#7E7E7E
Design tokens & code
CSS
--color: #478e26; /* rgb */ color: rgb(71, 142, 38); /* oklch */ color: oklch(57.9% 0.155 137.6);
Tailwind
colors: {
custom: {
50: '#81b067',
500: '#478e26',
950: '#000000',
},
}SCSS
$custom: #478e26; $custom-light: #81b067; $custom-dark: #000000;
JSON
{
"hex": "#478e26",
"rgb": {
"r": 71,
"g": 142,
"b": 38
},
"hsl": {
"h": 100.962,
"s": 57.778,
"l": 35.294
},
"oklch": {
"l": 0.57897,
"c": 0.1546,
"h": 137.6
},
"luminance": 0.20826
}Semantic roles & 50–950 ramp
primary
#478E26
secondary
#9A58B8
accent
#47E1B0
background
#F8FAF6
surface
#EFF5EB
border
#CACFC6
text
#0B1006
muted
#7C7F7A