#4D7411#4D7411

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

Color values

HEX#4D7411
RGBrgb(77, 116, 17)
HSLhsl(84, 74%, 26%)
HSVhsv(84, 85%, 45%)
CMYKcmyk(33.6%, 0%, 85.3%, 54.5%)
CIE-LABlab(44.39, -29.01, 45.38)
CIE-LCHlch(44.39, 53.86, 122.59°)
OKLaboklab(51.08% -0.083 0.0994)
OKLCHoklch(51.08% 0.129 129.9)
XYZxyz(9.4071, 14.1087, 2.7578)
Luminance0.1411 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4D7411 #381174
analogous
#746911 #4D7411 #1C7411
triadic
#4D7411 #114D74 #74114D
tetradic
#4D7411 #117469 #381174 #74111C
square
#4D7411 #117469 #381174 #74111C
split-complementary
#4D7411 #111C74 #691174
monochromatic
#121B04 #2A3F09 #4D7411 #70A919 #94DE21

Accessibility & contrast

On white

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

On black

3.82
#4D7411 on #000000
AA ✗AA large ✓AAA ✗

Best text color

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

Contrast matrix

fg \ bg##4D7411#FFFFFF#000000##FFFFFF
##4D74111.005.493.825.49
#FFFFFF5.491.0021.001.00
#0000003.8221.001.0021.00
##FFFFFF5.491.0021.001.00

Color blindness preview

Protanopia (red-blind)
#7A6B00
Deuteranopia (green-blind)
#75681D
Tritanopia (blue-blind)
#4F6F62
Achromatopsia (no color)
#696969

Design tokens & code

CSS
--color: #4d7411;
/* rgb */ color: rgb(77, 116, 17);
/* oklch */ color: oklch(51.1% 0.129 129.9);
Tailwind
colors: {
  custom: {
    50: '#839c5a',
    500: '#4d7411',
    950: '#000000',
  },
}
SCSS
$custom: #4d7411;
$custom-light: #839c5a;
$custom-dark: #000000;
JSON
{
  "hex": "#4d7411",
  "rgb": {
    "r": 77,
    "g": 116,
    "b": 17
  },
  "hsl": {
    "h": 83.636,
    "s": 74.436,
    "l": 26.078
  },
  "oklch": {
    "l": 0.51084,
    "c": 0.12947,
    "h": 129.9
  },
  "luminance": 0.14109
}

Semantic roles & 50–950 ramp

primary
#4D7411
secondary
#6436AB
accent
#37F180
background
#F8F9F5
surface
#EFF2E9
border
#CACCC5
text
#0B0E04
muted
#7C7E79

Preview Lab

Preview with #4D7411

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

Preview Lab → · Contrast checker → · Palette generator →

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