#4D7514#4D7514

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

Color values

HEX#4D7514
RGBrgb(77, 117, 20)
HSLhsl(85, 71%, 27%)
HSVhsv(85, 83%, 46%)
CMYKcmyk(34.2%, 0%, 82.9%, 54.1%)
CIE-LABlab(44.73, -29.34, 44.79)
CIE-LCHlch(44.73, 53.54, 123.23°)
OKLaboklab(51.37% -0.0837 0.0986)
OKLCHoklch(51.37% 0.129 130.3)
XYZxyz(9.5481, 14.3505, 2.9285)
Luminance0.1435 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4D7514 #3C1475
analogous
#756D14 #4D7514 #1D7514
triadic
#4D7514 #144D75 #75144D
tetradic
#4D7514 #14756D #3C1475 #75141D
square
#4D7514 #14756D #3C1475 #75141D
split-complementary
#4D7514 #141D75 #6D1475
monochromatic
#111A04 #2B410B #4D7514 #6FA91D #91DA29

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##4D7514#FFFFFF#000000##FFFFFF
##4D75141.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)
#75691F
Tritanopia (blue-blind)
#4F7063
Achromatopsia (no color)
#6A6A6A

Design tokens & code

CSS
--color: #4d7514;
/* rgb */ color: rgb(77, 117, 20);
/* oklch */ color: oklch(51.4% 0.129 130.3);
Tailwind
colors: {
  custom: {
    50: '#839d5b',
    500: '#4d7514',
    950: '#000000',
  },
}
SCSS
$custom: #4d7514;
$custom-light: #839d5b;
$custom-dark: #000000;
JSON
{
  "hex": "#4d7514",
  "rgb": {
    "r": 77,
    "g": 117,
    "b": 20
  },
  "hsl": {
    "h": 84.742,
    "s": 70.803,
    "l": 26.863
  },
  "oklch": {
    "l": 0.51369,
    "c": 0.12933,
    "h": 130.3
  },
  "luminance": 0.14351
}

Semantic roles & 50–950 ramp

primary
#4D7514
secondary
#683AAB
accent
#3AEE84
background
#F8F9F5
surface
#EFF2E9
border
#CACCC5
text
#0B0E04
muted
#7C7E79

Preview Lab

Preview with #4D7514

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

Preview Lab → · Contrast checker → · Palette generator →

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