#4F7D1F#4F7D1F
#4F7D1F is a mid, vivid yellow-green. Relative luminance 0.164; OKLCH L 53.7% C 0.132 H 132.3°. Best body text is #FFFFFF at 4.90:1 contrast (WCAG AA passes).
Color values
| HEX | #4F7D1F |
|---|---|
| RGB | rgb(79, 125, 31) |
| HSL | hsl(89, 60%, 31%) |
| HSV | hsv(89, 75%, 49%) |
| CMYK | cmyk(36.8%, 0%, 75.2%, 51%) |
| CIE-LAB | lab(47.53, -31.62, 43.62) |
| CIE-LCH | lch(47.53, 53.88, 125.94°) |
| OKLab | oklab(53.7% -0.0891 0.0979) |
| OKLCH | oklch(53.7% 0.132 132.3) |
| XYZ | xyz(10.8053, 16.4280, 3.8977) |
| Luminance | 0.1643 (WCAG relative) |
| Temperature | warm |
| Family | yellow-green |
Closest named colors
Avocado
#568203
ΔE00 3.71
Dark Grass Green
#388004
ΔE00 3.73
Dirty Green
#667E2C
ΔE00 4.76
Tree Green
#2A7E19
ΔE00 5.08
Swamp
#698339
ΔE00 5.69
Sap Green
#5C8B15
ΔE00 5.86
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#4F7D1F #4D1F7D
analogous
#7D7C1F #4F7D1F #207D1F
triadic
#4F7D1F #1F4F7D #7D1F4F
tetradic
#4F7D1F #1F7D7C #4D1F7D #7D1F20
square
#4F7D1F #1F7D7C #4D1F7D #7D1F20
split-complementary
#4F7D1F #1F207D #7C1F7D
monochromatic
#111B07 #304C13 #4F7D1F #6EAE2B #8DD145
Accessibility & contrast
On white
4.90
#4F7D1F on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
4.29
#4F7D1F on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #4F7D1F
4.90:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##4F7D1F | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##4F7D1F | 1.00 | 4.90 | 4.29 | 4.90 |
| #FFFFFF | 4.90 | 1.00 | 21.00 | 1.00 |
| #000000 | 4.29 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 4.90 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#82730E
Deuteranopia (green-blind)
#7C6F28
Tritanopia (blue-blind)
#50786B
Achromatopsia (no color)
#717171
Design tokens & code
CSS
--color: #4f7d1f; /* rgb */ color: rgb(79, 125, 31); /* oklch */ color: oklch(53.7% 0.132 132.3);
Tailwind
colors: {
custom: {
50: '#84a361',
500: '#4f7d1f',
950: '#000000',
},
}SCSS
$custom: #4f7d1f; $custom-light: #84a361; $custom-dark: #000000;
JSON
{
"hex": "#4f7d1f",
"rgb": {
"r": 79,
"g": 125,
"b": 31
},
"hsl": {
"h": 89.362,
"s": 60.256,
"l": 30.588
},
"oklch": {
"l": 0.53704,
"c": 0.13244,
"h": 132.3
},
"luminance": 0.16428
}Semantic roles & 50–950 ramp
primary
#4F7D1F
secondary
#7B48B0
accent
#44E392
background
#F8FAF6
surface
#EFF3EB
border
#CACDC6
text
#0B0F05
muted
#7C7F7A