#4D7415#4D7415

#4D7415 is a mid, vivid yellow-green. Relative luminance 0.141; OKLCH L 51.1% C 0.128 H 130.1°. Best body text is #FFFFFF at 5.49:1 contrast (WCAG AA passes).

Color values

HEX#4D7415
RGBrgb(77, 116, 21)
HSLhsl(85, 69%, 27%)
HSVhsv(85, 82%, 45%)
CMYKcmyk(33.6%, 0%, 81.9%, 54.5%)
CIE-LABlab(44.41, -28.82, 44.17)
CIE-LCHlch(44.41, 52.74, 123.12°)
OKLaboklab(51.11% -0.0822 0.0975)
OKLCHoklch(51.11% 0.128 130.1)
XYZxyz(9.4413, 14.1224, 2.9378)
Luminance0.1412 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4D7415 #3C1574
analogous
#746C15 #4D7415 #1D7415
triadic
#4D7415 #154D74 #74154D
tetradic
#4D7415 #15746C #3C1574 #74151D
square
#4D7415 #15746C #3C1574 #74151D
split-complementary
#4D7415 #151D74 #6C1574
monochromatic
#111A05 #2B400C #4D7415 #6FA81E #91D92B

Accessibility & contrast

On white

5.49
#4D7415 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.82
#4D7415 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #4D7415
5.49:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4D7415#FFFFFF#000000##FFFFFF
##4D74151.005.493.825.49
#FFFFFF5.491.0021.001.00
#0000003.8221.001.0021.00
##FFFFFF5.491.0021.001.00

Color blindness preview

Protanopia (red-blind)
#7A6B00
Deuteranopia (green-blind)
#74681F
Tritanopia (blue-blind)
#4F6F62
Achromatopsia (no color)
#696969

Design tokens & code

CSS
--color: #4d7415;
/* rgb */ color: rgb(77, 116, 21);
/* oklch */ color: oklch(51.1% 0.128 130.1);
Tailwind
colors: {
  custom: {
    50: '#839c5b',
    500: '#4d7415',
    950: '#000000',
  },
}
SCSS
$custom: #4d7415;
$custom-light: #839c5b;
$custom-dark: #000000;
JSON
{
  "hex": "#4d7415",
  "rgb": {
    "r": 77,
    "g": 116,
    "b": 21
  },
  "hsl": {
    "h": 84.632,
    "s": 69.343,
    "l": 26.863
  },
  "oklch": {
    "l": 0.51107,
    "c": 0.1275,
    "h": 130.1
  },
  "luminance": 0.14123
}

Semantic roles & 50–950 ramp

primary
#4D7415
secondary
#683BAA
accent
#3CEC84
background
#F8F9F5
surface
#EFF2E9
border
#CACCC5
text
#0B0E04
muted
#7C7E79

Preview Lab

Preview with #4D7415

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

Preview Lab → · Contrast checker → · Palette generator →

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