#4F7C15#4F7C15
#4F7C15 is a mid, vivid yellow-green. Relative luminance 0.161; OKLCH L 53.4% C 0.137 H 131.3°. Best body text is #FFFFFF at 4.97:1 contrast (WCAG AA passes).
Color values
| HEX | #4F7C15 |
|---|---|
| RGB | rgb(79, 124, 21) |
| HSL | hsl(86, 71%, 28%) |
| HSV | hsv(86, 83%, 49%) |
| CMYK | cmyk(36.3%, 0%, 83.1%, 51.4%) |
| CIE-LAB | lab(47.15, -31.76, 46.73) |
| CIE-LCH | lch(47.15, 56.50, 124.20°) |
| OKLab | oklab(53.37% -0.0902 0.1028) |
| OKLCH | oklch(53.37% 0.137 131.3) |
| XYZ | xyz(10.5674, 16.1313, 3.2662) |
| Luminance | 0.1613 (WCAG relative) |
| Temperature | warm |
| Family | yellow-green |
Closest named colors
Avocado
#568203
ΔE00 3.06
Dark Grass Green
#388004
ΔE00 3.74
Dirty Green
#667E2C
ΔE00 4.84
Tree Green
#2A7E19
ΔE00 5.56
Sap Green
#5C8B15
ΔE00 5.81
Mossy Green
#638B27
ΔE00 6.15
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#4F7C15 #42157C
analogous
#7C7515 #4F7C15 #1B7C15
triadic
#4F7C15 #154F7C #7C154F
tetradic
#4F7C15 #157C75 #42157C #7C151B
square
#4F7C15 #157C75 #42157C #7C151B
split-complementary
#4F7C15 #151B7C #75157C
monochromatic
#111A04 #2E480C #4F7C15 #70B01E #91DC30
Accessibility & contrast
On white
4.97
#4F7C15 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
4.23
#4F7C15 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #4F7C15
4.97:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##4F7C15 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##4F7C15 | 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)
#827200
Deuteranopia (green-blind)
#7C6F21
Tritanopia (blue-blind)
#517669
Achromatopsia (no color)
#707070
Design tokens & code
CSS
--color: #4f7c15; /* rgb */ color: rgb(79, 124, 21); /* oklch */ color: oklch(53.4% 0.137 131.3);
Tailwind
colors: {
custom: {
50: '#85a25d',
500: '#4f7c15',
950: '#000000',
},
}SCSS
$custom: #4f7c15; $custom-light: #85a25d; $custom-dark: #000000;
JSON
{
"hex": "#4f7c15",
"rgb": {
"r": 79,
"g": 124,
"b": 21
},
"hsl": {
"h": 86.214,
"s": 71.034,
"l": 28.431
},
"oklch": {
"l": 0.53371,
"c": 0.13682,
"h": 131.3
},
"luminance": 0.16132
}Semantic roles & 50–950 ramp
primary
#4F7C15
secondary
#6F3CB1
accent
#3AEE89
background
#F8FAF5
surface
#F0F3E9
border
#CBCDC5
text
#0B0F05
muted
#7C7F79