#478C1C#478C1C
#478C1C is a mid, vivid yellow-green. Relative luminance 0.202; OKLCH L 57.3% C 0.158 H 136.5°. Best body text is #000000 at 5.04:1 contrast (WCAG AA passes).
Color values
| HEX | #478C1C |
|---|---|
| RGB | rgb(71, 140, 28) |
| HSL | hsl(97, 67%, 33%) |
| HSV | hsv(97, 80%, 55%) |
| CMYK | cmyk(49.3%, 0%, 80%, 45.1%) |
| CIE-LAB | lab(52.04, -41.15, 48.93) |
| CIE-LCH | lch(52.04, 63.93, 130.06°) |
| OKLab | oklab(57.29% -0.1145 0.1087) |
| OKLCH | oklch(57.29% 0.158 136.5) |
| XYZ | xyz(12.1859, 20.1788, 4.3512) |
| Luminance | 0.2018 (WCAG relative) |
| Temperature | warm |
| Family | yellow-green |
Closest named colors
Sap Green
#5C8B15
ΔE00 3.81
Forestgreen (CSS)
#228B22
ΔE00 4.16
Mossy Green
#638B27
ΔE00 4.56
Dark Grass Green
#388004
ΔE00 4.71
True Green
#089404
ΔE00 4.84
Emerald Green
#028F1E
ΔE00 4.97
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#478C1C #611C8C
analogous
#7F8C1C #478C1C #1C8C29
triadic
#478C1C #1C478C #8C1C47
tetradic
#478C1C #1C7F8C #611C8C #8C291C
square
#478C1C #1C7F8C #611C8C #8C291C
split-complementary
#478C1C #291C8C #8C1C7F
monochromatic
#132608 #2D5912 #478C1C #61BF26 #80DA48
Accessibility & contrast
On white
4.17
#478C1C on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
5.04
#478C1C on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #478C1C
5.04:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##478C1C | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##478C1C | 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)
#918000
Deuteranopia (green-blind)
#887A29
Tritanopia (blue-blind)
#438777
Achromatopsia (no color)
#7C7C7C
Design tokens & code
CSS
--color: #478c1c; /* rgb */ color: rgb(71, 140, 28); /* oklch */ color: oklch(57.3% 0.158 136.5);
Tailwind
colors: {
custom: {
50: '#81ae62',
500: '#478c1c',
950: '#000000',
},
}SCSS
$custom: #478c1c; $custom-light: #81ae62; $custom-dark: #000000;
JSON
{
"hex": "#478c1c",
"rgb": {
"r": 71,
"g": 140,
"b": 28
},
"hsl": {
"h": 96.964,
"s": 66.667,
"l": 32.941
},
"oklch": {
"l": 0.57286,
"c": 0.15792,
"h": 136.5
},
"luminance": 0.2018
}Semantic roles & 50–950 ramp
primary
#478C1C
secondary
#8F48BC
accent
#3EEAA8
background
#F8FAF6
surface
#EFF4EB
border
#CACEC6
text
#0B1006
muted
#7C7F7A