#4D7717#4D7717

#4D7717 is a mid, vivid yellow-green. Relative luminance 0.148; OKLCH L 51.9% C 0.130 H 131.0°. Best body text is #FFFFFF at 5.29:1 contrast (WCAG AA passes).

Color values

HEX#4D7717
RGBrgb(77, 119, 23)
HSLhsl(86, 68%, 28%)
HSVhsv(86, 81%, 47%)
CMYKcmyk(35.3%, 0%, 80.7%, 53.3%)
CIE-LABlab(45.40, -30.12, 44.43)
CIE-LCHlch(45.40, 53.68, 124.13°)
OKLaboklab(51.92% -0.0856 0.0984)
OKLCHoklch(51.92% 0.13 131)
XYZxyz(9.8120, 14.8329, 3.1565)
Luminance0.1483 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4D7717 #411777
analogous
#777117 #4D7717 #1D7717
triadic
#4D7717 #174D77 #77174D
tetradic
#4D7717 #177771 #411777 #77171D
square
#4D7717 #177771 #411777 #77171D
split-complementary
#4D7717 #171D77 #711777
monochromatic
#111A05 #2C440D #4D7717 #6EAA21 #8FD731

Accessibility & contrast

On white

5.29
#4D7717 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.97
#4D7717 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #4D7717
5.29:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4D7717#FFFFFF#000000##FFFFFF
##4D77171.005.293.975.29
#FFFFFF5.291.0021.001.00
#0000003.9721.001.0021.00
##FFFFFF5.291.0021.001.00

Color blindness preview

Protanopia (red-blind)
#7D6D00
Deuteranopia (green-blind)
#776A21
Tritanopia (blue-blind)
#4F7265
Achromatopsia (no color)
#6B6B6B

Design tokens & code

CSS
--color: #4d7717;
/* rgb */ color: rgb(77, 119, 23);
/* oklch */ color: oklch(51.9% 0.130 131.0);
Tailwind
colors: {
  custom: {
    50: '#839e5d',
    500: '#4d7717',
    950: '#000000',
  },
}
SCSS
$custom: #4d7717;
$custom-light: #839e5d;
$custom-dark: #000000;
JSON
{
  "hex": "#4d7717",
  "rgb": {
    "r": 77,
    "g": 119,
    "b": 23
  },
  "hsl": {
    "h": 86.25,
    "s": 67.606,
    "l": 27.843
  },
  "oklch": {
    "l": 0.51923,
    "c": 0.13037,
    "h": 131
  },
  "luminance": 0.14833
}

Semantic roles & 50–950 ramp

primary
#4D7717
secondary
#6E3EAC
accent
#3DEA89
background
#F8F9F5
surface
#EFF2E9
border
#CACCC5
text
#0B0E04
muted
#7C7E79

Preview Lab

Preview with #4D7717

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

Preview Lab → · Contrast checker → · Palette generator →

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