#478C2A#478C2A
#478C2A is a mid, vivid green. Relative luminance 0.203; OKLCH L 57.4% C 0.149 H 137.9°. Best body text is #000000 at 5.05:1 contrast (WCAG AA passes).
Color values
| HEX | #478C2A |
|---|---|
| RGB | rgb(71, 140, 42) |
| HSL | hsl(102, 54%, 36%) |
| HSV | hsv(102, 70%, 55%) |
| CMYK | cmyk(49.3%, 0%, 70%, 45.1%) |
| CIE-LAB | lab(52.13, -40.12, 43.77) |
| CIE-LCH | lch(52.13, 59.38, 132.51°) |
| OKLab | oklab(57.39% -0.1108 0.1) |
| OKLCH | oklch(57.39% 0.149 137.9) |
| XYZ | xyz(12.3941, 20.2621, 5.4479) |
| Luminance | 0.2026 (WCAG relative) |
| Temperature | warm |
| Family | green |
Closest named colors
Forestgreen (CSS)
#228B22
ΔE00 3.57
Fern Green
#548D44
ΔE00 4.07
Emerald Green
#028F1E
ΔE00 4.59
Sap Green
#5C8B15
ΔE00 4.91
Moss Green (survey)
#658B38
ΔE00 5.01
Mossy Green
#638B27
ΔE00 5.07
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#478C2A #6F2A8C
analogous
#788C2A #478C2A #2A8C3E
triadic
#478C2A #2A478C #8C2A47
tetradic
#478C2A #2A788C #6F2A8C #8C3E2A
square
#478C2A #2A788C #6F2A8C #8C3E2A
split-complementary
#478C2A #3E2A8C #8C2A78
monochromatic
#172E0E #2F5D1C #478C2A #5FBB38 #82D061
Accessibility & contrast
On white
4.16
#478C2A on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
5.05
#478C2A on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #478C2A
5.05:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##478C2A | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##478C2A | 1.00 | 4.16 | 5.05 | 5.05 |
| #FFFFFF | 4.16 | 1.00 | 21.00 | 21.00 |
| #000000 | 5.05 | 21.00 | 1.00 | 1.00 |
| ##000000 | 5.05 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#90801C
Deuteranopia (green-blind)
#877A33
Tritanopia (blue-blind)
#428778
Achromatopsia (no color)
#7C7C7C
Design tokens & code
CSS
--color: #478c2a; /* rgb */ color: rgb(71, 140, 42); /* oklch */ color: oklch(57.4% 0.149 137.9);
Tailwind
colors: {
custom: {
50: '#81ae69',
500: '#478c2a',
950: '#000000',
},
}SCSS
$custom: #478c2a; $custom-light: #81ae69; $custom-dark: #000000;
JSON
{
"hex": "#478c2a",
"rgb": {
"r": 71,
"g": 140,
"b": 42
},
"hsl": {
"h": 102.245,
"s": 53.846,
"l": 35.686
},
"oklch": {
"l": 0.57393,
"c": 0.14925,
"h": 137.9
},
"luminance": 0.20263
}Semantic roles & 50–950 ramp
primary
#478C2A
secondary
#9B5CB5
accent
#4BDDB2
background
#F8FAF6
surface
#EFF4EB
border
#CACEC6
text
#0B1007
muted
#7C7F7A