#4D7216#4D7216

#4D7216 is a mid, vivid yellow-green. Relative luminance 0.137; OKLCH L 50.6% C 0.124 H 129.7°. Best body text is #FFFFFF at 5.62:1 contrast (WCAG AA passes).

Color values

HEX#4D7216
RGBrgb(77, 114, 22)
HSLhsl(84, 68%, 27%)
HSVhsv(84, 81%, 45%)
CMYKcmyk(32.5%, 0%, 80.7%, 55.3%)
CIE-LABlab(43.76, -27.81, 43.22)
CIE-LCHlch(43.76, 51.39, 122.76°)
OKLaboklab(50.58% -0.0794 0.0957)
OKLCHoklch(50.58% 0.124 129.7)
XYZxyz(9.2227, 13.6701, 2.9116)
Luminance0.1367 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4D7216 #3B1672
analogous
#726916 #4D7216 #1F7216
triadic
#4D7216 #164D72 #72164D
tetradic
#4D7216 #167269 #3B1672 #72161F
square
#4D7216 #167269 #3B1672 #72161F
split-complementary
#4D7216 #161F72 #691672
monochromatic
#111A05 #2A3F0C #4D7216 #70A520 #92D62C

Accessibility & contrast

On white

5.62
#4D7216 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.73
#4D7216 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #4D7216
5.62:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4D7216#FFFFFF#000000##FFFFFF
##4D72161.005.623.735.62
#FFFFFF5.621.0021.001.00
#0000003.7321.001.0021.00
##FFFFFF5.621.0021.001.00

Color blindness preview

Protanopia (red-blind)
#786900
Deuteranopia (green-blind)
#736720
Tritanopia (blue-blind)
#4F6D61
Achromatopsia (no color)
#676767

Design tokens & code

CSS
--color: #4d7216;
/* rgb */ color: rgb(77, 114, 22);
/* oklch */ color: oklch(50.6% 0.124 129.7);
Tailwind
colors: {
  custom: {
    50: '#839a5c',
    500: '#4d7216',
    950: '#000000',
  },
}
SCSS
$custom: #4d7216;
$custom-light: #839a5c;
$custom-dark: #000000;
JSON
{
  "hex": "#4d7216",
  "rgb": {
    "r": 77,
    "g": 114,
    "b": 22
  },
  "hsl": {
    "h": 84.13,
    "s": 67.647,
    "l": 26.667
  },
  "oklch": {
    "l": 0.50577,
    "c": 0.12431,
    "h": 129.7
  },
  "luminance": 0.1367
}

Semantic roles & 50–950 ramp

primary
#4D7216
secondary
#673CA8
accent
#3DEB83
background
#F8F9F5
surface
#EFF2E9
border
#CACCC5
text
#0B0E04
muted
#7C7E79

Preview Lab

Preview with #4D7216

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

Preview Lab → · Contrast checker → · Palette generator →

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