#4D7919#4D7919

#4D7919 is a mid, vivid yellow-green. Relative luminance 0.153; OKLCH L 52.5% C 0.132 H 131.6°. Best body text is #FFFFFF at 5.17:1 contrast (WCAG AA passes).

Color values

HEX#4D7919
RGBrgb(77, 121, 25)
HSLhsl(88, 66%, 29%)
HSVhsv(88, 79%, 47%)
CMYKcmyk(36.4%, 0%, 79.3%, 52.5%)
CIE-LABlab(46.07, -30.94, 44.37)
CIE-LCHlch(46.07, 54.09, 124.88°)
OKLaboklab(52.47% -0.0876 0.0986)
OKLCHoklch(52.47% 0.132 131.6)
XYZxyz(10.0733, 15.3223, 3.3463)
Luminance0.1532 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4D7919 #451979
analogous
#797519 #4D7919 #1D7919
triadic
#4D7919 #194D79 #79194D
tetradic
#4D7919 #197975 #451979 #79191D
square
#4D7919 #197975 #451979 #79191D
split-complementary
#4D7919 #191D79 #751979
monochromatic
#101905 #2D460F #4D7919 #6DAC23 #8DD637

Accessibility & contrast

On white

5.17
#4D7919 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.06
#4D7919 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #4D7919
5.17:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4D7919#FFFFFF#000000##FFFFFF
##4D79191.005.174.065.17
#FFFFFF5.171.0021.001.00
#0000004.0621.001.0021.00
##FFFFFF5.171.0021.001.00

Color blindness preview

Protanopia (red-blind)
#7F6F02
Deuteranopia (green-blind)
#796C23
Tritanopia (blue-blind)
#4E7467
Achromatopsia (no color)
#6D6D6D

Design tokens & code

CSS
--color: #4d7919;
/* rgb */ color: rgb(77, 121, 25);
/* oklch */ color: oklch(52.5% 0.132 131.6);
Tailwind
colors: {
  custom: {
    50: '#83a05e',
    500: '#4d7919',
    950: '#000000',
  },
}
SCSS
$custom: #4d7919;
$custom-light: #83a05e;
$custom-dark: #000000;
JSON
{
  "hex": "#4d7919",
  "rgb": {
    "r": 77,
    "g": 121,
    "b": 25
  },
  "hsl": {
    "h": 87.5,
    "s": 65.753,
    "l": 28.627
  },
  "oklch": {
    "l": 0.52471,
    "c": 0.1319,
    "h": 131.6
  },
  "luminance": 0.15323
}

Semantic roles & 50–950 ramp

primary
#4D7919
secondary
#7240AE
accent
#3FE98D
background
#F8F9F5
surface
#EFF2E9
border
#CACCC5
text
#0B0E05
muted
#7C7E79

Preview Lab

Preview with #4D7919

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

Preview Lab → · Contrast checker → · Palette generator →

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