#4D7F16#4D7F16
#4D7F16 is a mid, vivid yellow-green. Relative luminance 0.168; OKLCH L 54.1% C 0.141 H 132.6°. Best body text is #FFFFFF at 4.81:1 contrast (WCAG AA passes).
Color values
| HEX | #4D7F16 |
|---|---|
| RGB | rgb(77, 127, 22) |
| HSL | hsl(89, 70%, 29%) |
| HSV | hsv(89, 83%, 50%) |
| CMYK | cmyk(39.4%, 0%, 82.7%, 50.2%) |
| CIE-LAB | lab(48.02, -33.83, 47.19) |
| CIE-LCH | lch(48.02, 58.06, 125.64°) |
| OKLab | oklab(54.06% -0.0956 0.104) |
| OKLCH | oklch(54.06% 0.141 132.6) |
| XYZ | xyz(10.7946, 16.8140, 3.4356) |
| Luminance | 0.1681 (WCAG relative) |
| Temperature | warm |
| Family | yellow-green |
Closest named colors
Avocado
#568203
ΔE00 2.78
Dark Grass Green
#388004
ΔE00 2.99
Tree Green
#2A7E19
ΔE00 5.01
Sap Green
#5C8B15
ΔE00 5.02
Dirty Green
#667E2C
ΔE00 5.26
Mossy Green
#638B27
ΔE00 5.48
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#4D7F16 #48167F
analogous
#7F7D16 #4D7F16 #197F16
triadic
#4D7F16 #164D7F #7F164D
tetradic
#4D7F16 #167F7D #48167F #7F1619
square
#4D7F16 #167F7D #48167F #7F1619
split-complementary
#4D7F16 #16197F #7D167F
monochromatic
#101A05 #2D4B0D #4D7F16 #6DB31F #8CDC34
Accessibility & contrast
On white
4.81
#4D7F16 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
4.36
#4D7F16 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #4D7F16
4.81:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##4D7F16 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##4D7F16 | 1.00 | 4.81 | 4.36 | 4.81 |
| #FFFFFF | 4.81 | 1.00 | 21.00 | 1.00 |
| #000000 | 4.36 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 4.81 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#857400
Deuteranopia (green-blind)
#7E7122
Tritanopia (blue-blind)
#4E7A6C
Achromatopsia (no color)
#727272
Design tokens & code
CSS
--color: #4d7f16; /* rgb */ color: rgb(77, 127, 22); /* oklch */ color: oklch(54.1% 0.141 132.6);
Tailwind
colors: {
custom: {
50: '#84a45e',
500: '#4d7f16',
950: '#000000',
},
}SCSS
$custom: #4d7f16; $custom-light: #84a45e; $custom-dark: #000000;
JSON
{
"hex": "#4d7f16",
"rgb": {
"r": 77,
"g": 127,
"b": 22
},
"hsl": {
"h": 88.571,
"s": 70.47,
"l": 29.216
},
"oklch": {
"l": 0.54062,
"c": 0.1413,
"h": 132.6
},
"luminance": 0.16814
}Semantic roles & 50–950 ramp
primary
#4D7F16
secondary
#763DB4
accent
#3BED90
background
#F8FAF5
surface
#EFF4E9
border
#CACEC5
text
#0B0F05
muted
#7C7F79