#478F26#478F26
#478F26 is a mid, vivid green. Relative luminance 0.211; OKLCH L 58.2% C 0.156 H 137.7°. Best body text is #000000 at 5.22:1 contrast (WCAG AA passes).
Color values
| HEX | #478F26 |
|---|---|
| RGB | rgb(71, 143, 38) |
| HSL | hsl(101, 58%, 35%) |
| HSV | hsv(101, 73%, 56%) |
| CMYK | cmyk(50.3%, 0%, 73.4%, 43.9%) |
| CIE-LAB | lab(53.08, -41.69, 46.37) |
| CIE-LCH | lch(53.08, 62.36, 131.95°) |
| OKLab | oklab(58.17% -0.1153 0.1049) |
| OKLCH | oklch(58.17% 0.156 137.7) |
| XYZ | xyz(12.7704, 21.1236, 5.2377) |
| Luminance | 0.2112 (WCAG relative) |
| Temperature | warm |
| Family | green |
Closest named colors
Forestgreen (CSS)
#228B22
ΔE00 3.95
True Green
#089404
ΔE00 4.48
Emerald Green
#028F1E
ΔE00 4.55
Sap Green
#5C8B15
ΔE00 4.63
Grass Green
#3F9B0B
ΔE00 4.69
Fern Green
#548D44
ΔE00 4.74
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#478F26 #6E268F
analogous
#7B8F26 #478F26 #268F39
triadic
#478F26 #26478F #8F2647
tetradic
#478F26 #267B8F #6E268F #8F3926
square
#478F26 #267B8F #6E268F #8F3926
split-complementary
#478F26 #39268F #8F267B
monochromatic
#172E0C #2F5F19 #478F26 #5FBF33 #81D45C
Accessibility & contrast
On white
4.02
#478F26 on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
5.22
#478F26 on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #478F26
5.22:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##478F26 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##478F26 | 1.00 | 4.02 | 5.22 | 5.22 |
| #FFFFFF | 4.02 | 1.00 | 21.00 | 21.00 |
| #000000 | 5.22 | 21.00 | 1.00 | 1.00 |
| ##000000 | 5.22 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#948314
Deuteranopia (green-blind)
#8A7C30
Tritanopia (blue-blind)
#428A7A
Achromatopsia (no color)
#7F7F7F
Design tokens & code
CSS
--color: #478f26; /* rgb */ color: rgb(71, 143, 38); /* oklch */ color: oklch(58.2% 0.156 137.7);
Tailwind
colors: {
custom: {
50: '#81b067',
500: '#478f26',
950: '#000000',
},
}SCSS
$custom: #478f26; $custom-light: #81b067; $custom-dark: #000000;
JSON
{
"hex": "#478f26",
"rgb": {
"r": 71,
"g": 143,
"b": 38
},
"hsl": {
"h": 101.143,
"s": 58.011,
"l": 35.49
},
"oklch": {
"l": 0.58166,
"c": 0.15588,
"h": 137.7
},
"luminance": 0.21124
}Semantic roles & 50–950 ramp
primary
#478F26
secondary
#9A58B9
accent
#47E1B1
background
#F8FAF6
surface
#EFF5EB
border
#CACFC6
text
#0B1006
muted
#7C7F7A