#4D7313#4D7313

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

Color values

HEX#4D7313
RGBrgb(77, 115, 19)
HSLhsl(84, 72%, 26%)
HSVhsv(84, 83%, 45%)
CMYKcmyk(33%, 0%, 83.5%, 54.9%)
CIE-LABlab(44.07, -28.44, 44.49)
CIE-LCHlch(44.07, 52.81, 122.59°)
OKLaboklab(50.83% -0.0813 0.0978)
OKLCHoklch(50.83% 0.127 129.7)
XYZxyz(9.3088, 13.8860, 2.8058)
Luminance0.1389 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4D7313 #391373
analogous
#736913 #4D7313 #1D7313
triadic
#4D7313 #134D73 #73134D
tetradic
#4D7313 #137369 #391373 #73131D
square
#4D7313 #137369 #391373 #73131D
split-complementary
#4D7313 #131D73 #691373
monochromatic
#121A04 #2A3E0A #4D7313 #70A81C #93DB25

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##4D7313#FFFFFF#000000##FFFFFF
##4D73131.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)
#74671E
Tritanopia (blue-blind)
#4F6E62
Achromatopsia (no color)
#686868

Design tokens & code

CSS
--color: #4d7313;
/* rgb */ color: rgb(77, 115, 19);
/* oklch */ color: oklch(50.8% 0.127 129.7);
Tailwind
colors: {
  custom: {
    50: '#839b5a',
    500: '#4d7313',
    950: '#000000',
  },
}
SCSS
$custom: #4d7313;
$custom-light: #839b5a;
$custom-dark: #000000;
JSON
{
  "hex": "#4d7313",
  "rgb": {
    "r": 77,
    "g": 115,
    "b": 19
  },
  "hsl": {
    "h": 83.75,
    "s": 71.642,
    "l": 26.275
  },
  "oklch": {
    "l": 0.50827,
    "c": 0.12721,
    "h": 129.7
  },
  "luminance": 0.13886
}

Semantic roles & 50–950 ramp

primary
#4D7313
secondary
#6538AA
accent
#39EE81
background
#F8F9F5
surface
#EFF2E9
border
#CACCC5
text
#0B0E04
muted
#7C7E79

Preview Lab

Preview with #4D7313

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

Preview Lab → · Contrast checker → · Palette generator →

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