#4F7D2C#4F7D2C
#4F7D2C is a mid, vivid yellow-green. Relative luminance 0.165; OKLCH L 53.8% C 0.123 H 134.0°. Best body text is #FFFFFF at 4.88:1 contrast (WCAG AA passes).
Color values
| HEX | #4F7D2C |
|---|---|
| RGB | rgb(79, 125, 44) |
| HSL | hsl(94, 48%, 33%) |
| HSV | hsv(94, 65%, 49%) |
| CMYK | cmyk(36.8%, 0%, 64.8%, 51%) |
| CIE-LAB | lab(47.64, -30.55, 38.15) |
| CIE-LCH | lch(47.64, 48.87, 128.68°) |
| OKLab | oklab(53.83% -0.0851 0.0883) |
| OKLCH | oklch(53.83% 0.123 134) |
| XYZ | xyz(11.0125, 16.5109, 4.9891) |
| Luminance | 0.1651 (WCAG relative) |
| Temperature | warm |
| Family | yellow-green |
Closest named colors
Dark Grass Green
#388004
ΔE00 4.74
Tree Green
#2A7E19
ΔE00 5.01
Dirty Green
#667E2C
ΔE00 5.15
Swamp
#698339
ΔE00 5.43
Avocado
#568203
ΔE00 5.43
Military Green
#667C3E
ΔE00 5.46
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#4F7D2C #5A2C7D
analogous
#777D2C #4F7D2C #2C7D31
triadic
#4F7D2C #2C4F7D #7D2C4F
tetradic
#4F7D2C #2C777D #5A2C7D #7D312C
square
#4F7D2C #2C777D #5A2C7D #7D312C
split-complementary
#4F7D2C #312C7D #7D2C77
monochromatic
#16220C #32501C #4F7D2C #6CAA3C #8BC65D
Accessibility & contrast
On white
4.88
#4F7D2C on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
4.30
#4F7D2C on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #4F7D2C
4.88:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##4F7D2C | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##4F7D2C | 1.00 | 4.88 | 4.30 | 4.88 |
| #FFFFFF | 4.88 | 1.00 | 21.00 | 1.00 |
| #000000 | 4.30 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 4.88 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#827322
Deuteranopia (green-blind)
#7B7032
Tritanopia (blue-blind)
#4F786C
Achromatopsia (no color)
#717171
Design tokens & code
CSS
--color: #4f7d2c; /* rgb */ color: rgb(79, 125, 44); /* oklch */ color: oklch(53.8% 0.123 134.0);
Tailwind
colors: {
custom: {
50: '#84a369',
500: '#4f7d2c',
950: '#000000',
},
}SCSS
$custom: #4f7d2c; $custom-light: #84a369; $custom-dark: #000000;
JSON
{
"hex": "#4f7d2c",
"rgb": {
"r": 79,
"g": 125,
"b": 44
},
"hsl": {
"h": 94.074,
"s": 47.929,
"l": 33.137
},
"oklch": {
"l": 0.53825,
"c": 0.12264,
"h": 134
},
"luminance": 0.16511
}Semantic roles & 50–950 ramp
primary
#4F7D2C
secondary
#8859AC
accent
#50D89D
background
#F8FAF6
surface
#EFF3EB
border
#CACDC6
text
#0B0F06
muted
#7C7F7A