#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
RGBrgb(77, 127, 22)
HSLhsl(89, 70%, 29%)
HSVhsv(89, 83%, 50%)
CMYKcmyk(39.4%, 0%, 82.7%, 50.2%)
CIE-LABlab(48.02, -33.83, 47.19)
CIE-LCHlch(48.02, 58.06, 125.64°)
OKLaboklab(54.06% -0.0956 0.104)
OKLCHoklch(54.06% 0.141 132.6)
XYZxyz(10.7946, 16.8140, 3.4356)
Luminance0.1681 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

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
##4D7F161.004.814.364.81
#FFFFFF4.811.0021.001.00
#0000004.3621.001.0021.00
##FFFFFF4.811.0021.001.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

Preview Lab

Preview with #4D7F16

Body copy rendered with the generated semantic roles for this colour.

Preview Lab → · Contrast checker → · Palette generator →

#4D7F16 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva