#4F7D2F#4F7D2F
#4F7D2F is a mid, vivid yellow-green. Relative luminance 0.165; OKLCH L 53.9% C 0.120 H 134.5°. Best body text is #FFFFFF at 4.88:1 contrast (WCAG AA passes).
Color values
| HEX | #4F7D2F |
|---|---|
| RGB | rgb(79, 125, 47) |
| HSL | hsl(95, 45%, 34%) |
| HSV | hsv(95, 62%, 49%) |
| CMYK | cmyk(36.8%, 0%, 62.4%, 51%) |
| CIE-LAB | lab(47.67, -30.25, 36.76) |
| CIE-LCH | lch(47.67, 47.60, 129.45°) |
| OKLab | oklab(53.86% -0.0841 0.0857) |
| OKLCH | oklch(53.86% 0.12 134.5) |
| XYZ | xyz(11.0709, 16.5343, 5.2969) |
| Luminance | 0.1653 (WCAG relative) |
| Temperature | warm |
| Family | yellow-green |
Closest named colors
Dark Grass Green
#388004
ΔE00 5.11
Tree Green
#2A7E19
ΔE00 5.13
Military Green
#667C3E
ΔE00 5.33
Dirty Green
#667E2C
ΔE00 5.36
Swamp
#698339
ΔE00 5.46
Avocado
#568203
ΔE00 5.91
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#4F7D2F #5D2F7D
analogous
#767D2F #4F7D2F #2F7D36
triadic
#4F7D2F #2F4F7D #7D2F4F
tetradic
#4F7D2F #2F767D #5D2F7D #7D362F
square
#4F7D2F #2F767D #5D2F7D #7D362F
split-complementary
#4F7D2F #362F7D #7D2F76
monochromatic
#17240E #33511E #4F7D2F #6BA940 #8AC462
Accessibility & contrast
On white
4.88
#4F7D2F on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
4.31
#4F7D2F on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #4F7D2F
4.88:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##4F7D2F | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##4F7D2F | 1.00 | 4.88 | 4.31 | 4.88 |
| #FFFFFF | 4.88 | 1.00 | 21.00 | 1.00 |
| #000000 | 4.31 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 4.88 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#827326
Deuteranopia (green-blind)
#7B7035
Tritanopia (blue-blind)
#4F786C
Achromatopsia (no color)
#717171
Design tokens & code
CSS
--color: #4f7d2f; /* rgb */ color: rgb(79, 125, 47); /* oklch */ color: oklch(53.9% 0.120 134.5);
Tailwind
colors: {
custom: {
50: '#84a36b',
500: '#4f7d2f',
950: '#000000',
},
}SCSS
$custom: #4f7d2f; $custom-light: #84a36b; $custom-dark: #000000;
JSON
{
"hex": "#4f7d2f",
"rgb": {
"r": 79,
"g": 125,
"b": 47
},
"hsl": {
"h": 95.385,
"s": 45.349,
"l": 33.725
},
"oklch": {
"l": 0.53859,
"c": 0.12002,
"h": 134.5
},
"luminance": 0.16535
}Semantic roles & 50–950 ramp
primary
#4F7D2F
secondary
#8B5DAB
accent
#53D5A0
background
#F8FAF6
surface
#EFF3EB
border
#CACDC6
text
#0B0F07
muted
#7C7F7A