#4D7311#4D7311

#4D7311 is a mid, vivid yellow-green. Relative luminance 0.139; OKLCH L 50.8% C 0.128 H 129.6°. Best body text is #FFFFFF at 5.56:1 contrast (WCAG AA passes).

Color values

HEX#4D7311
RGBrgb(77, 115, 17)
HSLhsl(83, 74%, 26%)
HSVhsv(83, 85%, 45%)
CMYKcmyk(33%, 0%, 85.2%, 54.9%)
CIE-LABlab(44.06, -28.54, 45.09)
CIE-LCHlch(44.06, 53.36, 122.33°)
OKLaboklab(50.82% -0.0817 0.0988)
OKLCHoklch(50.82% 0.128 129.6)
XYZxyz(9.2925, 13.8794, 2.7196)
Luminance0.1388 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4D7311 #371173
analogous
#736811 #4D7311 #1C7311
triadic
#4D7311 #114D73 #73114D
tetradic
#4D7311 #117368 #371173 #73111C
square
#4D7311 #117368 #371173 #73111C
split-complementary
#4D7311 #111C73 #681173
monochromatic
#121B04 #293E09 #4D7311 #71A819 #94DE21

Accessibility & contrast

On white

5.56
#4D7311 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.78
#4D7311 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #4D7311
5.56:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4D7311#FFFFFF#000000##FFFFFF
##4D73111.005.563.785.56
#FFFFFF5.561.0021.001.00
#0000003.7821.001.0021.00
##FFFFFF5.561.0021.001.00

Color blindness preview

Protanopia (red-blind)
#796A00
Deuteranopia (green-blind)
#74671C
Tritanopia (blue-blind)
#4F6E61
Achromatopsia (no color)
#686868

Design tokens & code

CSS
--color: #4d7311;
/* rgb */ color: rgb(77, 115, 17);
/* oklch */ color: oklch(50.8% 0.128 129.6);
Tailwind
colors: {
  custom: {
    50: '#839b5a',
    500: '#4d7311',
    950: '#000000',
  },
}
SCSS
$custom: #4d7311;
$custom-light: #839b5a;
$custom-dark: #000000;
JSON
{
  "hex": "#4d7311",
  "rgb": {
    "r": 77,
    "g": 115,
    "b": 17
  },
  "hsl": {
    "h": 83.265,
    "s": 74.242,
    "l": 25.882
  },
  "oklch": {
    "l": 0.50816,
    "c": 0.12817,
    "h": 129.6
  },
  "luminance": 0.1388
}

Semantic roles & 50–950 ramp

primary
#4D7311
secondary
#6336AA
accent
#37F17F
background
#F8F9F5
surface
#EFF2E9
border
#CACCC5
text
#0B0E04
muted
#7C7E79

Preview Lab

Preview with #4D7311

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

Preview Lab → · Contrast checker → · Palette generator →

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