#4D7716#4D7716

#4D7716 is a mid, vivid yellow-green. Relative luminance 0.148; OKLCH L 51.9% C 0.131 H 130.9°. Best body text is #FFFFFF at 5.30:1 contrast (WCAG AA passes).

Color values

HEX#4D7716
RGBrgb(77, 119, 22)
HSLhsl(86, 69%, 28%)
HSVhsv(86, 82%, 47%)
CMYKcmyk(35.3%, 0%, 81.5%, 53.3%)
CIE-LABlab(45.40, -30.18, 44.76)
CIE-LCHlch(45.40, 53.98, 123.99°)
OKLaboklab(51.92% -0.0858 0.0989)
OKLCHoklch(51.92% 0.131 130.9)
XYZxyz(9.8021, 14.8290, 3.1047)
Luminance0.1483 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4D7716 #401677
analogous
#777016 #4D7716 #1D7716
triadic
#4D7716 #164D77 #77164D
tetradic
#4D7716 #167770 #401677 #77161D
square
#4D7716 #167770 #401677 #77161D
split-complementary
#4D7716 #161D77 #701677
monochromatic
#111A05 #2C430C #4D7716 #6EAB20 #8FD92F

Accessibility & contrast

On white

5.30
#4D7716 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.97
#4D7716 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #4D7716
5.30:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4D7716#FFFFFF#000000##FFFFFF
##4D77161.005.303.975.30
#FFFFFF5.301.0021.001.00
#0000003.9721.001.0021.00
##FFFFFF5.301.0021.001.00

Color blindness preview

Protanopia (red-blind)
#7D6D00
Deuteranopia (green-blind)
#776A20
Tritanopia (blue-blind)
#4F7265
Achromatopsia (no color)
#6B6B6B

Design tokens & code

CSS
--color: #4d7716;
/* rgb */ color: rgb(77, 119, 22);
/* oklch */ color: oklch(51.9% 0.131 130.9);
Tailwind
colors: {
  custom: {
    50: '#839e5c',
    500: '#4d7716',
    950: '#000000',
  },
}
SCSS
$custom: #4d7716;
$custom-light: #839e5c;
$custom-dark: #000000;
JSON
{
  "hex": "#4d7716",
  "rgb": {
    "r": 77,
    "g": 119,
    "b": 22
  },
  "hsl": {
    "h": 85.979,
    "s": 68.794,
    "l": 27.647
  },
  "oklch": {
    "l": 0.51917,
    "c": 0.13092,
    "h": 130.9
  },
  "luminance": 0.14829
}

Semantic roles & 50–950 ramp

primary
#4D7716
secondary
#6D3CAC
accent
#3CEC88
background
#F8F9F5
surface
#EFF2E9
border
#CACCC5
text
#0B0E04
muted
#7C7E79

Preview Lab

Preview with #4D7716

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

Preview Lab → · Contrast checker → · Palette generator →

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