#4F7C19#4F7C19
#4F7C19 is a mid, vivid yellow-green. Relative luminance 0.161; OKLCH L 53.4% C 0.135 H 131.6°. Best body text is #FFFFFF at 4.97:1 contrast (WCAG AA passes).
Color values
| HEX | #4F7C19 |
|---|---|
| RGB | rgb(79, 124, 25) |
| HSL | hsl(87, 66%, 29%) |
| HSV | hsv(87, 80%, 49%) |
| CMYK | cmyk(36.3%, 0%, 79.8%, 51.4%) |
| CIE-LAB | lab(47.17, -31.54, 45.45) |
| CIE-LCH | lch(47.17, 55.33, 124.76°) |
| OKLab | oklab(53.4% -0.0894 0.1008) |
| OKLCH | oklch(53.4% 0.135 131.6) |
| XYZ | xyz(10.6075, 16.1473, 3.4774) |
| Luminance | 0.1615 (WCAG relative) |
| Temperature | warm |
| Family | yellow-green |
Closest named colors
Avocado
#568203
ΔE00 3.35
Dark Grass Green
#388004
ΔE00 3.76
Dirty Green
#667E2C
ΔE00 4.77
Tree Green
#2A7E19
ΔE00 5.38
Sap Green
#5C8B15
ΔE00 5.92
Swamp
#698339
ΔE00 6.03
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#4F7C19 #46197C
analogous
#7C7819 #4F7C19 #1D7C19
triadic
#4F7C19 #194F7C #7C194F
tetradic
#4F7C19 #197C78 #46197C #7C191D
square
#4F7C19 #197C78 #46197C #7C191D
split-complementary
#4F7C19 #191D7C #78197C
monochromatic
#101905 #2F490F #4F7C19 #6FAF23 #8FD738
Accessibility & contrast
On white
4.97
#4F7C19 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
4.23
#4F7C19 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #4F7C19
4.97:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##4F7C19 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##4F7C19 | 1.00 | 4.97 | 4.23 | 4.97 |
| #FFFFFF | 4.97 | 1.00 | 21.00 | 1.00 |
| #000000 | 4.23 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 4.97 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#827201
Deuteranopia (green-blind)
#7C6F23
Tritanopia (blue-blind)
#507769
Achromatopsia (no color)
#707070
Design tokens & code
CSS
--color: #4f7c19; /* rgb */ color: rgb(79, 124, 25); /* oklch */ color: oklch(53.4% 0.135 131.6);
Tailwind
colors: {
custom: {
50: '#85a25e',
500: '#4f7c19',
950: '#000000',
},
}SCSS
$custom: #4f7c19; $custom-light: #85a25e; $custom-dark: #000000;
JSON
{
"hex": "#4f7c19",
"rgb": {
"r": 79,
"g": 124,
"b": 25
},
"hsl": {
"h": 87.273,
"s": 66.443,
"l": 29.216
},
"oklch": {
"l": 0.53395,
"c": 0.13473,
"h": 131.6
},
"luminance": 0.16148
}Semantic roles & 50–950 ramp
primary
#4F7C19
secondary
#7340B0
accent
#3EE98C
background
#F8FAF5
surface
#F0F3EA
border
#CBCDC6
text
#0B0F05
muted
#7C7F79