#478B1E#478B1E
#478B1E is a mid, vivid yellow-green. Relative luminance 0.199; OKLCH L 57.0% C 0.156 H 136.6°. Best body text is #000000 at 4.98:1 contrast (WCAG AA passes).
Color values
| HEX | #478B1E |
|---|---|
| RGB | rgb(71, 139, 30) |
| HSL | hsl(97, 64%, 33%) |
| HSV | hsv(97, 78%, 55%) |
| CMYK | cmyk(48.9%, 0%, 78.4%, 45.5%) |
| CIE-LAB | lab(51.72, -40.62, 47.96) |
| CIE-LCH | lch(51.72, 62.85, 130.26°) |
| OKLab | oklab(57.03% -0.113 0.107) |
| OKLCH | oklch(57.03% 0.156 136.6) |
| XYZ | xyz(12.0652, 19.8978, 4.4329) |
| Luminance | 0.1990 (WCAG relative) |
| Temperature | warm |
| Family | yellow-green |
Closest named colors
Sap Green
#5C8B15
ΔE00 3.93
Forestgreen (CSS)
#228B22
ΔE00 4.01
Dark Grass Green
#388004
ΔE00 4.43
Mossy Green
#638B27
ΔE00 4.58
Emerald Green
#028F1E
ΔE00 4.97
True Green
#089404
ΔE00 5.06
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#478B1E #621E8B
analogous
#7D8B1E #478B1E #1E8B2B
triadic
#478B1E #1E478B #8B1E47
tetradic
#478B1E #1E7D8B #621E8B #8B2B1E
square
#478B1E #1E7D8B #621E8B #8B2B1E
split-complementary
#478B1E #2B1E8B #8B1E7D
monochromatic
#142608 #2D5913 #478B1E #61BD29 #80D84B
Accessibility & contrast
On white
4.22
#478B1E on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
4.98
#478B1E on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #478B1E
4.98:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##478B1E | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##478B1E | 1.00 | 4.22 | 4.98 | 4.98 |
| #FFFFFF | 4.22 | 1.00 | 21.00 | 21.00 |
| #000000 | 4.98 | 21.00 | 1.00 | 1.00 |
| ##000000 | 4.98 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#907F03
Deuteranopia (green-blind)
#87792A
Tritanopia (blue-blind)
#448676
Achromatopsia (no color)
#7B7B7B
Design tokens & code
CSS
--color: #478b1e; /* rgb */ color: rgb(71, 139, 30); /* oklch */ color: oklch(57.0% 0.156 136.6);
Tailwind
colors: {
custom: {
50: '#81ad63',
500: '#478b1e',
950: '#000000',
},
}SCSS
$custom: #478b1e; $custom-light: #81ad63; $custom-dark: #000000;
JSON
{
"hex": "#478b1e",
"rgb": {
"r": 71,
"g": 139,
"b": 30
},
"hsl": {
"h": 97.431,
"s": 64.497,
"l": 33.137
},
"oklch": {
"l": 0.57029,
"c": 0.1556,
"h": 136.6
},
"luminance": 0.19899
}Semantic roles & 50–950 ramp
primary
#478B1E
secondary
#904ABB
accent
#40E7A9
background
#F8FAF6
surface
#EFF4EB
border
#CACEC6
text
#0B1006
muted
#7C7F7A