#4E7D1E#4E7D1E
#4E7D1E is a mid, vivid yellow-green. Relative luminance 0.164; OKLCH L 53.6% C 0.134 H 132.6°. Best body text is #FFFFFF at 4.91:1 contrast (WCAG AA passes).
Color values
| HEX | #4E7D1E |
|---|---|
| RGB | rgb(78, 125, 30) |
| HSL | hsl(90, 61%, 30%) |
| HSV | hsv(90, 76%, 49%) |
| CMYK | cmyk(37.6%, 0%, 76%, 51%) |
| CIE-LAB | lab(47.47, -32.08, 43.93) |
| CIE-LCH | lch(47.47, 54.39, 126.14°) |
| OKLab | oklab(53.64% -0.0904 0.0984) |
| OKLCH | oklch(53.64% 0.134 132.6) |
| XYZ | xyz(10.7097, 16.3802, 3.8255) |
| Luminance | 0.1638 (WCAG relative) |
| Temperature | warm |
| Family | yellow-green |
Closest named colors
Dark Grass Green
#388004
ΔE00 3.55
Avocado
#568203
ΔE00 3.71
Tree Green
#2A7E19
ΔE00 4.92
Dirty Green
#667E2C
ΔE00 4.93
Swamp
#698339
ΔE00 5.86
Sap Green
#5C8B15
ΔE00 5.89
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#4E7D1E #4D1E7D
analogous
#7D7C1E #4E7D1E #1F7D1E
triadic
#4E7D1E #1E4E7D #7D1E4E
tetradic
#4E7D1E #1E7D7C #4D1E7D #7D1E1F
square
#4E7D1E #1E7D7C #4D1E7D #7D1E1F
split-complementary
#4E7D1E #1E1F7D #7C1E7D
monochromatic
#101A06 #2F4C12 #4E7D1E #6DAE2A #8BD243
Accessibility & contrast
On white
4.91
#4E7D1E on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
4.28
#4E7D1E on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #4E7D1E
4.91:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##4E7D1E | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##4E7D1E | 1.00 | 4.91 | 4.28 | 4.91 |
| #FFFFFF | 4.91 | 1.00 | 21.00 | 1.00 |
| #000000 | 4.28 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 4.91 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#82730B
Deuteranopia (green-blind)
#7C6F27
Tritanopia (blue-blind)
#4F786B
Achromatopsia (no color)
#717171
Design tokens & code
CSS
--color: #4e7d1e; /* rgb */ color: rgb(78, 125, 30); /* oklch */ color: oklch(53.6% 0.134 132.6);
Tailwind
colors: {
custom: {
50: '#84a361',
500: '#4e7d1e',
950: '#000000',
},
}SCSS
$custom: #4e7d1e; $custom-light: #84a361; $custom-dark: #000000;
JSON
{
"hex": "#4e7d1e",
"rgb": {
"r": 78,
"g": 125,
"b": 30
},
"hsl": {
"h": 89.684,
"s": 61.29,
"l": 30.392
},
"oklch": {
"l": 0.53637,
"c": 0.13364,
"h": 132.6
},
"luminance": 0.16381
}Semantic roles & 50–950 ramp
primary
#4E7D1E
secondary
#7B46B0
accent
#43E493
background
#F8FAF5
surface
#EFF3EA
border
#CACDC6
text
#0B0F05
muted
#7C7F79