#478B2E#478B2E
#478B2E is a mid, vivid green. Relative luminance 0.200; OKLCH L 57.2% C 0.145 H 138.4°. Best body text is #000000 at 5.00:1 contrast (WCAG AA passes).
Color values
| HEX | #478B2E |
|---|---|
| RGB | rgb(71, 139, 46) |
| HSL | hsl(104, 50%, 36%) |
| HSV | hsv(104, 67%, 55%) |
| CMYK | cmyk(48.9%, 0%, 66.9%, 45.5%) |
| CIE-LAB | lab(51.84, -39.34, 41.73) |
| CIE-LCH | lch(51.84, 57.35, 133.31°) |
| OKLab | oklab(57.16% -0.1084 0.0962) |
| OKLCH | oklch(57.16% 0.145 138.4) |
| XYZ | xyz(12.3239, 20.0012, 5.7955) |
| Luminance | 0.2000 (WCAG relative) |
| Temperature | warm |
| Family | green |
Closest named colors
Forestgreen (CSS)
#228B22
ΔE00 3.54
Fern Green
#548D44
ΔE00 3.57
Emerald Green
#028F1E
ΔE00 4.71
Moss Green (survey)
#658B38
ΔE00 5.00
Dark Grass Green
#388004
ΔE00 5.28
Mossy Green
#638B27
ΔE00 5.36
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#478B2E #722E8B
analogous
#768B2E #478B2E #2E8B44
triadic
#478B2E #2E478B #8B2E47
tetradic
#478B2E #2E768B #722E8B #8B442E
square
#478B2E #2E768B #722E8B #8B442E
split-complementary
#478B2E #442E8B #8B2E76
monochromatic
#182F10 #305D1F #478B2E #5EB93D #82CD67
Accessibility & contrast
On white
4.20
#478B2E on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
5.00
#478B2E on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #478B2E
5.00:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##478B2E | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##478B2E | 1.00 | 4.20 | 5.00 | 5.00 |
| #FFFFFF | 4.20 | 1.00 | 21.00 | 21.00 |
| #000000 | 5.00 | 21.00 | 1.00 | 1.00 |
| ##000000 | 5.00 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#8F7F22
Deuteranopia (green-blind)
#867936
Tritanopia (blue-blind)
#428678
Achromatopsia (no color)
#7C7C7C
Design tokens & code
CSS
--color: #478b2e; /* rgb */ color: rgb(71, 139, 46); /* oklch */ color: oklch(57.2% 0.145 138.4);
Tailwind
colors: {
custom: {
50: '#80ad6b',
500: '#478b2e',
950: '#000000',
},
}SCSS
$custom: #478b2e; $custom-light: #80ad6b; $custom-dark: #000000;
JSON
{
"hex": "#478b2e",
"rgb": {
"r": 71,
"g": 139,
"b": 46
},
"hsl": {
"h": 103.871,
"s": 50.27,
"l": 36.275
},
"oklch": {
"l": 0.57163,
"c": 0.14492,
"h": 138.4
},
"luminance": 0.20002
}Semantic roles & 50–950 ramp
primary
#478B2E
secondary
#9D61B3
accent
#4EDAB4
background
#F8FAF6
surface
#EFF4EB
border
#CACEC6
text
#0B1007
muted
#7C7F7A