#4D7314#4D7314

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

Color values

HEX#4D7314
RGBrgb(77, 115, 20)
HSLhsl(84, 70%, 26%)
HSVhsv(84, 83%, 45%)
CMYKcmyk(33%, 0%, 82.6%, 54.9%)
CIE-LABlab(44.07, -28.39, 44.18)
CIE-LCHlch(44.07, 52.52, 122.73°)
OKLaboklab(50.83% -0.0811 0.0973)
OKLCHoklch(50.83% 0.127 129.8)
XYZxyz(9.3175, 13.8895, 2.8517)
Luminance0.1389 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4D7314 #3A1473
analogous
#736A14 #4D7314 #1E7314
triadic
#4D7314 #144D73 #73144D
tetradic
#4D7314 #14736A #3A1473 #73141E
square
#4D7314 #14736A #3A1473 #73141E
split-complementary
#4D7314 #141E73 #6A1473
monochromatic
#111A05 #2A3F0B #4D7314 #70A71D #92DA28

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##4D7314#FFFFFF#000000##FFFFFF
##4D73141.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: #4d7314;
/* rgb */ color: rgb(77, 115, 20);
/* oklch */ color: oklch(50.8% 0.127 129.8);
Tailwind
colors: {
  custom: {
    50: '#839b5b',
    500: '#4d7314',
    950: '#000000',
  },
}
SCSS
$custom: #4d7314;
$custom-light: #839b5b;
$custom-dark: #000000;
JSON
{
  "hex": "#4d7314",
  "rgb": {
    "r": 77,
    "g": 115,
    "b": 20
  },
  "hsl": {
    "h": 84,
    "s": 70.37,
    "l": 26.471
  },
  "oklch": {
    "l": 0.50833,
    "c": 0.1267,
    "h": 129.8
  },
  "luminance": 0.1389
}

Semantic roles & 50–950 ramp

primary
#4D7314
secondary
#663AA9
accent
#3BED82
background
#F8F9F5
surface
#EFF2E9
border
#CACCC5
text
#0B0E04
muted
#7C7E79

Preview Lab

Preview with #4D7314

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

Preview Lab → · Contrast checker → · Palette generator →

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