#478C1A#478C1A
#478C1A is a mid, vivid yellow-green. Relative luminance 0.202; OKLCH L 57.3% C 0.159 H 136.3°. Best body text is #000000 at 5.03:1 contrast (WCAG AA passes).
Color values
| HEX | #478C1A |
|---|---|
| RGB | rgb(71, 140, 26) |
| HSL | hsl(96, 69%, 33%) |
| HSV | hsv(96, 81%, 55%) |
| CMYK | cmyk(49.3%, 0%, 81.4%, 45.1%) |
| CIE-LAB | lab(52.03, -41.26, 49.56) |
| CIE-LCH | lch(52.03, 64.49, 129.78°) |
| OKLab | oklab(57.28% -0.115 0.1097) |
| OKLCH | oklch(57.28% 0.159 136.3) |
| XYZ | xyz(12.1627, 20.1695, 4.2293) |
| Luminance | 0.2017 (WCAG relative) |
| Temperature | warm |
| Family | yellow-green |
Closest named colors
Sap Green
#5C8B15
ΔE00 3.70
Forestgreen (CSS)
#228B22
ΔE00 4.27
Mossy Green
#638B27
ΔE00 4.53
Dark Grass Green
#388004
ΔE00 4.69
True Green
#089404
ΔE00 4.84
Emerald Green
#028F1E
ΔE00 5.06
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#478C1A #5F1A8C
analogous
#808C1A #478C1A #1A8C26
triadic
#478C1A #1A478C #8C1A47
tetradic
#478C1A #1A808C #5F1A8C #8C261A
square
#478C1A #1A808C #5F1A8C #8C261A
split-complementary
#478C1A #261A8C #8C1A80
monochromatic
#132507 #2D5810 #478C1A #61C024 #80DC44
Accessibility & contrast
On white
4.17
#478C1A on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
5.03
#478C1A on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #478C1A
5.03:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##478C1A | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##478C1A | 1.00 | 4.17 | 5.03 | 5.03 |
| #FFFFFF | 4.17 | 1.00 | 21.00 | 21.00 |
| #000000 | 5.03 | 21.00 | 1.00 | 1.00 |
| ##000000 | 5.03 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#918000
Deuteranopia (green-blind)
#887A27
Tritanopia (blue-blind)
#448777
Achromatopsia (no color)
#7C7C7C
Design tokens & code
CSS
--color: #478c1a; /* rgb */ color: rgb(71, 140, 26); /* oklch */ color: oklch(57.3% 0.159 136.3);
Tailwind
colors: {
custom: {
50: '#81ae61',
500: '#478c1a',
950: '#000000',
},
}SCSS
$custom: #478c1a; $custom-light: #81ae61; $custom-dark: #000000;
JSON
{
"hex": "#478c1a",
"rgb": {
"r": 71,
"g": 140,
"b": 26
},
"hsl": {
"h": 96.316,
"s": 68.675,
"l": 32.549
},
"oklch": {
"l": 0.57275,
"c": 0.15892,
"h": 136.3
},
"luminance": 0.2017
}Semantic roles & 50–950 ramp
primary
#478C1A
secondary
#8E44BE
accent
#3CECA6
background
#F8FAF6
surface
#EFF4EB
border
#CACEC6
text
#0B1005
muted
#7C7F7A