#4E7F40#4E7F40
#4E7F40 is a mid, moderate green. Relative luminance 0.172; OKLCH L 54.6% C 0.107 H 139.0°. Best body text is #FFFFFF at 4.74:1 contrast (WCAG AA passes).
Color values
| HEX | #4E7F40 |
|---|---|
| RGB | rgb(78, 127, 64) |
| HSL | hsl(107, 33%, 37%) |
| HSV | hsv(107, 50%, 50%) |
| CMYK | cmyk(38.6%, 0%, 49.6%, 50.2%) |
| CIE-LAB | lab(48.47, -29.48, 28.99) |
| CIE-LCH | lch(48.47, 41.35, 135.47°) |
| OKLab | oklab(54.57% -0.0807 0.0701) |
| OKLCH | oklch(54.57% 0.107 139) |
| XYZ | xyz(11.6563, 17.1680, 7.5491) |
| Luminance | 0.1717 (WCAG relative) |
| Temperature | neutral |
| Family | green |
Closest named colors
Dark Sage
#598556
ΔE00 4.76
Darkish Green
#287C37
ΔE00 5.11
Fern Green
#548D44
ΔE00 5.19
Military Green
#667C3E
ΔE00 5.87
Swamp
#698339
ΔE00 6.62
Tree Green
#2A7E19
ΔE00 6.66
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#4E7F40 #71407F
analogous
#6D7F40 #4E7F40 #407F52
triadic
#4E7F40 #404E7F #7F404E
tetradic
#4E7F40 #406D7F #71407F #7F5240
square
#4E7F40 #406D7F #71407F #7F5240
split-complementary
#4E7F40 #52407F #7F406D
monochromatic
#1C2E17 #35562B #4E7F40 #67A855 #8BBD7C
Accessibility & contrast
On white
4.74
#4E7F40 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
4.43
#4E7F40 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #4E7F40
4.74:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##4E7F40 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##4E7F40 | 1.00 | 4.74 | 4.43 | 4.74 |
| #FFFFFF | 4.74 | 1.00 | 21.00 | 1.00 |
| #000000 | 4.43 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 4.74 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#82763B
Deuteranopia (green-blind)
#7B7144
Tritanopia (blue-blind)
#4B7B70
Achromatopsia (no color)
#737373
Design tokens & code
CSS
--color: #4e7f40; /* rgb */ color: rgb(78, 127, 64); /* oklch */ color: oklch(54.6% 0.107 139.0);
Tailwind
colors: {
custom: {
50: '#82a476',
500: '#4e7f40',
950: '#000000',
},
}SCSS
$custom: #4e7f40; $custom-light: #82a476; $custom-dark: #000000;
JSON
{
"hex": "#4e7f40",
"rgb": {
"r": 78,
"g": 127,
"b": 64
},
"hsl": {
"h": 106.667,
"s": 32.984,
"l": 37.451
},
"oklch": {
"l": 0.54567,
"c": 0.10694,
"h": 139
},
"luminance": 0.17169
}Semantic roles & 50–950 ramp
primary
#4E7F40
secondary
#9C73A8
accent
#5FC9B1
background
#F8FAF7
surface
#EFF4ED
border
#CACEC8
text
#0B0F08
muted
#7C7F7B