#4D7519#4D7519

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

Color values

HEX#4D7519
RGBrgb(77, 117, 25)
HSLhsl(86, 65%, 28%)
HSVhsv(86, 79%, 46%)
CMYKcmyk(34.2%, 0%, 78.6%, 54.1%)
CIE-LABlab(44.76, -29.06, 43.12)
CIE-LCHlch(44.76, 52.00, 123.98°)
OKLaboklab(51.4% -0.0825 0.0959)
OKLCHoklch(51.4% 0.127 130.7)
XYZxyz(9.5973, 14.3702, 3.1876)
Luminance0.1437 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4D7519 #411975
analogous
#756F19 #4D7519 #1F7519
triadic
#4D7519 #194D75 #75194D
tetradic
#4D7519 #19756F #411975 #75191F
square
#4D7519 #19756F #411975 #75191F
split-complementary
#4D7519 #191F75 #6F1975
monochromatic
#111905 #2C430E #4D7519 #6EA724 #8FD435

Accessibility & contrast

On white

5.42
#4D7519 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

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

Best text color

#FFFFFF on #4D7519
5.42:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4D7519#FFFFFF#000000##FFFFFF
##4D75191.005.423.875.42
#FFFFFF5.421.0021.001.00
#0000003.8721.001.0021.00
##FFFFFF5.421.0021.001.00

Color blindness preview

Protanopia (red-blind)
#7B6C05
Deuteranopia (green-blind)
#756922
Tritanopia (blue-blind)
#4F7064
Achromatopsia (no color)
#6A6A6A

Design tokens & code

CSS
--color: #4d7519;
/* rgb */ color: rgb(77, 117, 25);
/* oklch */ color: oklch(51.4% 0.127 130.7);
Tailwind
colors: {
  custom: {
    50: '#839d5d',
    500: '#4d7519',
    950: '#000000',
  },
}
SCSS
$custom: #4d7519;
$custom-light: #839d5d;
$custom-dark: #000000;
JSON
{
  "hex": "#4d7519",
  "rgb": {
    "r": 77,
    "g": 117,
    "b": 25
  },
  "hsl": {
    "h": 86.087,
    "s": 64.789,
    "l": 27.843
  },
  "oklch": {
    "l": 0.514,
    "c": 0.12657,
    "h": 130.7
  },
  "luminance": 0.14371
}

Semantic roles & 50–950 ramp

primary
#4D7519
secondary
#6E40AA
accent
#40E889
background
#F8F9F5
surface
#EFF2E9
border
#CACCC5
text
#0B0E05
muted
#7C7E79

Preview Lab

Preview with #4D7519

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

Preview Lab → · Contrast checker → · Palette generator →

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