#4D7418#4D7418

#4D7418 is a mid, vivid yellow-green. Relative luminance 0.141; OKLCH L 51.1% C 0.126 H 130.4°. Best body text is #FFFFFF at 5.49:1 contrast (WCAG AA passes).

Color values

HEX#4D7418
RGBrgb(77, 116, 24)
HSLhsl(85, 66%, 27%)
HSVhsv(85, 79%, 45%)
CMYKcmyk(33.6%, 0%, 79.3%, 54.5%)
CIE-LABlab(44.42, -28.65, 43.16)
CIE-LCHlch(44.42, 51.80, 123.58°)
OKLaboklab(51.13% -0.0815 0.0959)
OKLCHoklch(51.13% 0.126 130.4)
XYZxyz(9.4708, 14.1342, 3.0932)
Luminance0.1414 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4D7418 #3F1874
analogous
#746D18 #4D7418 #1F7418
triadic
#4D7418 #184D74 #74184D
tetradic
#4D7418 #18746D #3F1874 #74181F
square
#4D7418 #18746D #3F1874 #74181F
split-complementary
#4D7418 #181F74 #6D1874
monochromatic
#111905 #2B410E #4D7418 #6FA722 #90D532

Accessibility & contrast

On white

5.49
#4D7418 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.83
#4D7418 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #4D7418
5.49:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4D7418#FFFFFF#000000##FFFFFF
##4D74181.005.493.835.49
#FFFFFF5.491.0021.001.00
#0000003.8321.001.0021.00
##FFFFFF5.491.0021.001.00

Color blindness preview

Protanopia (red-blind)
#7A6B03
Deuteranopia (green-blind)
#746821
Tritanopia (blue-blind)
#4F6F63
Achromatopsia (no color)
#696969

Design tokens & code

CSS
--color: #4d7418;
/* rgb */ color: rgb(77, 116, 24);
/* oklch */ color: oklch(51.1% 0.126 130.4);
Tailwind
colors: {
  custom: {
    50: '#839c5d',
    500: '#4d7418',
    950: '#000000',
  },
}
SCSS
$custom: #4d7418;
$custom-light: #839c5d;
$custom-dark: #000000;
JSON
{
  "hex": "#4d7418",
  "rgb": {
    "r": 77,
    "g": 116,
    "b": 24
  },
  "hsl": {
    "h": 85.435,
    "s": 65.714,
    "l": 27.451
  },
  "oklch": {
    "l": 0.51126,
    "c": 0.12582,
    "h": 130.4
  },
  "luminance": 0.14135
}

Semantic roles & 50–950 ramp

primary
#4D7418
secondary
#6C3FA9
accent
#3FE987
background
#F8F9F5
surface
#EFF2E9
border
#CACCC5
text
#0B0E04
muted
#7C7E79

Preview Lab

Preview with #4D7418

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

Preview Lab → · Contrast checker → · Palette generator →

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