#478C1F#478C1F
#478C1F is a mid, vivid yellow-green. Relative luminance 0.202; OKLCH L 57.3% C 0.156 H 136.7°. Best body text is #000000 at 5.04:1 contrast (WCAG AA passes).
Color values
| HEX | #478C1F |
|---|---|
| RGB | rgb(71, 140, 31) |
| HSL | hsl(98, 64%, 34%) |
| HSV | hsv(98, 78%, 55%) |
| CMYK | cmyk(49.3%, 0%, 77.9%, 45.1%) |
| CIE-LAB | lab(52.06, -40.96, 47.94) |
| CIE-LCH | lch(52.06, 63.05, 130.52°) |
| OKLab | oklab(57.31% -0.1138 0.1071) |
| OKLCH | oklch(57.31% 0.156 136.7) |
| XYZ | xyz(12.2236, 20.1939, 4.5498) |
| Luminance | 0.2019 (WCAG relative) |
| Temperature | warm |
| Family | yellow-green |
Closest named colors
Sap Green
#5C8B15
ΔE00 3.99
Forestgreen (CSS)
#228B22
ΔE00 3.99
Mossy Green
#638B27
ΔE00 4.61
Dark Grass Green
#388004
ΔE00 4.77
Emerald Green
#028F1E
ΔE00 4.85
True Green
#089404
ΔE00 4.86
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#478C1F #641F8C
analogous
#7D8C1F #478C1F #1F8C2D
triadic
#478C1F #1F478C #8C1F47
tetradic
#478C1F #1F7D8C #641F8C #8C2D1F
square
#478C1F #1F7D8C #641F8C #8C2D1F
split-complementary
#478C1F #2D1F8C #8C1F7D
monochromatic
#142809 #2E5A14 #478C1F #60BE2A #80D84E
Accessibility & contrast
On white
4.17
#478C1F on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
5.04
#478C1F on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #478C1F
5.04:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##478C1F | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##478C1F | 1.00 | 4.17 | 5.04 | 5.04 |
| #FFFFFF | 4.17 | 1.00 | 21.00 | 21.00 |
| #000000 | 5.04 | 21.00 | 1.00 | 1.00 |
| ##000000 | 5.04 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#918005
Deuteranopia (green-blind)
#887A2B
Tritanopia (blue-blind)
#438777
Achromatopsia (no color)
#7C7C7C
Design tokens & code
CSS
--color: #478c1f; /* rgb */ color: rgb(71, 140, 31); /* oklch */ color: oklch(57.3% 0.156 136.7);
Tailwind
colors: {
custom: {
50: '#81ae63',
500: '#478c1f',
950: '#000000',
},
}SCSS
$custom: #478c1f; $custom-light: #81ae63; $custom-dark: #000000;
JSON
{
"hex": "#478c1f",
"rgb": {
"r": 71,
"g": 140,
"b": 31
},
"hsl": {
"h": 97.982,
"s": 63.743,
"l": 33.529
},
"oklch": {
"l": 0.57306,
"c": 0.1563,
"h": 136.7
},
"luminance": 0.20195
}Semantic roles & 50–950 ramp
primary
#478C1F
secondary
#924CBB
accent
#41E7AA
background
#F8FAF6
surface
#EFF4EB
border
#CACEC6
text
#0B1006
muted
#7C7F7A