#4F7D1E#4F7D1E
#4F7D1E is a mid, vivid yellow-green. Relative luminance 0.164; OKLCH L 53.7% C 0.133 H 132.2°. Best body text is #FFFFFF at 4.90:1 contrast (WCAG AA passes).
Color values
| HEX | #4F7D1E |
|---|---|
| RGB | rgb(79, 125, 30) |
| HSL | hsl(89, 61%, 30%) |
| HSV | hsv(89, 76%, 49%) |
| CMYK | cmyk(36.8%, 0%, 76%, 51%) |
| CIE-LAB | lab(47.52, -31.69, 44.00) |
| CIE-LCH | lch(47.52, 54.22, 125.77°) |
| OKLab | oklab(53.7% -0.0894 0.0986) |
| OKLCH | oklch(53.7% 0.133 132.2) |
| XYZ | xyz(10.7923, 16.4228, 3.8293) |
| Luminance | 0.1642 (WCAG relative) |
| Temperature | warm |
| Family | yellow-green |
Closest named colors
Avocado
#568203
ΔE00 3.60
Dark Grass Green
#388004
ΔE00 3.69
Dirty Green
#667E2C
ΔE00 4.76
Tree Green
#2A7E19
ΔE00 5.11
Swamp
#698339
ΔE00 5.73
Sap Green
#5C8B15
ΔE00 5.81
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#4F7D1E #4C1E7D
analogous
#7D7B1E #4F7D1E #1F7D1E
triadic
#4F7D1E #1E4F7D #7D1E4F
tetradic
#4F7D1E #1E7D7B #4C1E7D #7D1E1F
square
#4F7D1E #1E7D7B #4C1E7D #7D1E1F
split-complementary
#4F7D1E #1E1F7D #7B1E7D
monochromatic
#111A06 #304C12 #4F7D1E #6EAE2A #8DD243
Accessibility & contrast
On white
4.90
#4F7D1E on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
4.28
#4F7D1E on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #4F7D1E
4.90:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##4F7D1E | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##4F7D1E | 1.00 | 4.90 | 4.28 | 4.90 |
| #FFFFFF | 4.90 | 1.00 | 21.00 | 1.00 |
| #000000 | 4.28 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 4.90 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#83730B
Deuteranopia (green-blind)
#7C6F27
Tritanopia (blue-blind)
#50786B
Achromatopsia (no color)
#717171
Design tokens & code
CSS
--color: #4f7d1e; /* rgb */ color: rgb(79, 125, 30); /* oklch */ color: oklch(53.7% 0.133 132.2);
Tailwind
colors: {
custom: {
50: '#84a361',
500: '#4f7d1e',
950: '#000000',
},
}SCSS
$custom: #4f7d1e; $custom-light: #84a361; $custom-dark: #000000;
JSON
{
"hex": "#4f7d1e",
"rgb": {
"r": 79,
"g": 125,
"b": 30
},
"hsl": {
"h": 89.053,
"s": 61.29,
"l": 30.392
},
"oklch": {
"l": 0.53696,
"c": 0.13309,
"h": 132.2
},
"luminance": 0.16423
}Semantic roles & 50–950 ramp
primary
#4F7D1E
secondary
#7A46B0
accent
#43E491
background
#F8FAF5
surface
#EFF3EA
border
#CACDC6
text
#0B0F05
muted
#7C7F79