#4D7511#4D7511

#4D7511 is a mid, vivid yellow-green. Relative luminance 0.143; OKLCH L 51.4% C 0.131 H 130.1°. Best body text is #FFFFFF at 5.43:1 contrast (WCAG AA passes).

Color values

HEX#4D7511
RGBrgb(77, 117, 17)
HSLhsl(84, 75%, 26%)
HSVhsv(84, 85%, 46%)
CMYKcmyk(34.2%, 0%, 85.5%, 54.1%)
CIE-LABlab(44.72, -29.48, 45.68)
CIE-LCHlch(44.72, 54.37, 122.84°)
OKLaboklab(51.35% -0.0843 0.1)
OKLCHoklch(51.35% 0.131 130.1)
XYZxyz(9.5230, 14.3405, 2.7965)
Luminance0.1434 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4D7511 #391175
analogous
#756B11 #4D7511 #1B7511
triadic
#4D7511 #114D75 #75114D
tetradic
#4D7511 #11756B #391175 #75111B
square
#4D7511 #11756B #391175 #75111B
split-complementary
#4D7511 #111B75 #6B1175
monochromatic
#121B04 #2A4009 #4D7511 #70AA19 #93DF22

Accessibility & contrast

On white

5.43
#4D7511 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.87
#4D7511 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #4D7511
5.43:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4D7511#FFFFFF#000000##FFFFFF
##4D75111.005.433.875.43
#FFFFFF5.431.0021.001.00
#0000003.8721.001.0021.00
##FFFFFF5.431.0021.001.00

Color blindness preview

Protanopia (red-blind)
#7B6C00
Deuteranopia (green-blind)
#75691D
Tritanopia (blue-blind)
#4F7063
Achromatopsia (no color)
#6A6A6A

Design tokens & code

CSS
--color: #4d7511;
/* rgb */ color: rgb(77, 117, 17);
/* oklch */ color: oklch(51.4% 0.131 130.1);
Tailwind
colors: {
  custom: {
    50: '#839d5a',
    500: '#4d7511',
    950: '#000000',
  },
}
SCSS
$custom: #4d7511;
$custom-light: #839d5a;
$custom-dark: #000000;
JSON
{
  "hex": "#4d7511",
  "rgb": {
    "r": 77,
    "g": 117,
    "b": 17
  },
  "hsl": {
    "h": 84,
    "s": 74.627,
    "l": 26.275
  },
  "oklch": {
    "l": 0.51353,
    "c": 0.13077,
    "h": 130.1
  },
  "luminance": 0.14341
}

Semantic roles & 50–950 ramp

primary
#4D7511
secondary
#6536AC
accent
#37F181
background
#F8F9F5
surface
#EFF2E9
border
#CACCC5
text
#0B0E04
muted
#7C7E79

Preview Lab

Preview with #4D7511

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

Preview Lab → · Contrast checker → · Palette generator →

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