#4F7C17#4F7C17
#4F7C17 is a mid, vivid yellow-green. Relative luminance 0.161; OKLCH L 53.4% C 0.136 H 131.4°. Best body text is #FFFFFF at 4.97:1 contrast (WCAG AA passes).
Color values
| HEX | #4F7C17 |
|---|---|
| RGB | rgb(79, 124, 23) |
| HSL | hsl(87, 69%, 29%) |
| HSV | hsv(87, 81%, 49%) |
| CMYK | cmyk(36.3%, 0%, 81.5%, 51.4%) |
| CIE-LAB | lab(47.16, -31.65, 46.11) |
| CIE-LCH | lch(47.16, 55.93, 124.47°) |
| OKLab | oklab(53.38% -0.0898 0.1019) |
| OKLCH | oklch(53.38% 0.136 131.4) |
| XYZ | xyz(10.5867, 16.1390, 3.3678) |
| Luminance | 0.1614 (WCAG relative) |
| Temperature | warm |
| Family | yellow-green |
Closest named colors
Avocado
#568203
ΔE00 3.20
Dark Grass Green
#388004
ΔE00 3.74
Dirty Green
#667E2C
ΔE00 4.80
Tree Green
#2A7E19
ΔE00 5.47
Sap Green
#5C8B15
ΔE00 5.86
Swamp
#698339
ΔE00 6.11
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#4F7C17 #44177C
analogous
#7C7717 #4F7C17 #1D7C17
triadic
#4F7C17 #174F7C #7C174F
tetradic
#4F7C17 #177C77 #44177C #7C171D
square
#4F7C17 #177C77 #44177C #7C171D
split-complementary
#4F7C17 #171D7C #77177C
monochromatic
#101A05 #2E480D #4F7C17 #70B021 #90D934
Accessibility & contrast
On white
4.97
#4F7C17 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
4.23
#4F7C17 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #4F7C17
4.97:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##4F7C17 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##4F7C17 | 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)
#7C6F22
Tritanopia (blue-blind)
#507669
Achromatopsia (no color)
#707070
Design tokens & code
CSS
--color: #4f7c17; /* rgb */ color: rgb(79, 124, 23); /* oklch */ color: oklch(53.4% 0.136 131.4);
Tailwind
colors: {
custom: {
50: '#85a25e',
500: '#4f7c17',
950: '#000000',
},
}SCSS
$custom: #4f7c17; $custom-light: #85a25e; $custom-dark: #000000;
JSON
{
"hex": "#4f7c17",
"rgb": {
"r": 79,
"g": 124,
"b": 23
},
"hsl": {
"h": 86.733,
"s": 68.707,
"l": 28.824
},
"oklch": {
"l": 0.53383,
"c": 0.13581,
"h": 131.4
},
"luminance": 0.16139
}Semantic roles & 50–950 ramp
primary
#4F7C17
secondary
#713EB1
accent
#3CEC8A
background
#F8FAF5
surface
#F0F3E9
border
#CBCDC5
text
#0B0F05
muted
#7C7F79