#4F7F16#4F7F16
#4F7F16 is a mid, vivid yellow-green. Relative luminance 0.169; OKLCH L 54.2% C 0.140 H 132.0°. Best body text is #FFFFFF at 4.79:1 contrast (WCAG AA passes).
Color values
| HEX | #4F7F16 |
|---|---|
| RGB | rgb(79, 127, 22) |
| HSL | hsl(87, 70%, 29%) |
| HSV | hsv(87, 83%, 50%) |
| CMYK | cmyk(37.8%, 0%, 82.7%, 50.2%) |
| CIE-LAB | lab(48.13, -33.08, 47.33) |
| CIE-LCH | lch(48.13, 57.74, 124.95°) |
| OKLab | oklab(54.18% -0.0937 0.1043) |
| OKLCH | oklch(54.18% 0.14 132) |
| XYZ | xyz(10.9585, 16.8985, 3.4432) |
| Luminance | 0.1690 (WCAG relative) |
| Temperature | warm |
| Family | yellow-green |
Closest named colors
Avocado
#568203
ΔE00 2.50
Dark Grass Green
#388004
ΔE00 3.32
Sap Green
#5C8B15
ΔE00 4.85
Dirty Green
#667E2C
ΔE00 4.96
Mossy Green
#638B27
ΔE00 5.28
Tree Green
#2A7E19
ΔE00 5.38
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#4F7F16 #46167F
analogous
#7F7B16 #4F7F16 #1A7F16
triadic
#4F7F16 #164F7F #7F164F
tetradic
#4F7F16 #167F7B #46167F #7F161A
square
#4F7F16 #167F7B #46167F #7F161A
split-complementary
#4F7F16 #161A7F #7B167F
monochromatic
#101A05 #2F4B0D #4F7F16 #6FB31F #8FDC34
Accessibility & contrast
On white
4.79
#4F7F16 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
4.38
#4F7F16 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #4F7F16
4.79:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##4F7F16 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##4F7F16 | 1.00 | 4.79 | 4.38 | 4.79 |
| #FFFFFF | 4.79 | 1.00 | 21.00 | 1.00 |
| #000000 | 4.38 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 4.79 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#857500
Deuteranopia (green-blind)
#7E7122
Tritanopia (blue-blind)
#50796C
Achromatopsia (no color)
#727272
Design tokens & code
CSS
--color: #4f7f16; /* rgb */ color: rgb(79, 127, 22); /* oklch */ color: oklch(54.2% 0.140 132.0);
Tailwind
colors: {
custom: {
50: '#85a45e',
500: '#4f7f16',
950: '#000000',
},
}SCSS
$custom: #4f7f16; $custom-light: #85a45e; $custom-dark: #000000;
JSON
{
"hex": "#4f7f16",
"rgb": {
"r": 79,
"g": 127,
"b": 22
},
"hsl": {
"h": 87.429,
"s": 70.47,
"l": 29.216
},
"oklch": {
"l": 0.54178,
"c": 0.14019,
"h": 132
},
"luminance": 0.16899
}Semantic roles & 50–950 ramp
primary
#4F7F16
secondary
#733DB4
accent
#3BED8C
background
#F8FAF5
surface
#F0F4E9
border
#CBCEC5
text
#0B0F05
muted
#7C7F79