#4D7317#4D7317

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

Color values

HEX#4D7317
RGBrgb(77, 115, 23)
HSLhsl(85, 67%, 27%)
HSVhsv(85, 80%, 45%)
CMYKcmyk(33%, 0%, 80%, 54.9%)
CIE-LABlab(44.09, -28.23, 43.19)
CIE-LCHlch(44.09, 51.60, 123.17°)
OKLaboklab(50.85% -0.0804 0.0958)
OKLCHoklch(50.85% 0.125 130)
XYZxyz(9.3459, 13.9008, 3.0012)
Luminance0.1390 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4D7317 #3D1773
analogous
#736B17 #4D7317 #1F7317
triadic
#4D7317 #174D73 #73174D
tetradic
#4D7317 #17736B #3D1773 #73171F
square
#4D7317 #17736B #3D1773 #73171F
split-complementary
#4D7317 #171F73 #6B1773
monochromatic
#111A05 #2B400D #4D7317 #6FA621 #91D52F

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##4D7317#FFFFFF#000000##FFFFFF
##4D73171.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)
#796A02
Deuteranopia (green-blind)
#736720
Tritanopia (blue-blind)
#4F6E62
Achromatopsia (no color)
#686868

Design tokens & code

CSS
--color: #4d7317;
/* rgb */ color: rgb(77, 115, 23);
/* oklch */ color: oklch(50.9% 0.125 130.0);
Tailwind
colors: {
  custom: {
    50: '#839b5c',
    500: '#4d7317',
    950: '#000000',
  },
}
SCSS
$custom: #4d7317;
$custom-light: #839b5c;
$custom-dark: #000000;
JSON
{
  "hex": "#4d7317",
  "rgb": {
    "r": 77,
    "g": 115,
    "b": 23
  },
  "hsl": {
    "h": 84.783,
    "s": 66.667,
    "l": 27.059
  },
  "oklch": {
    "l": 0.50851,
    "c": 0.12508,
    "h": 130
  },
  "luminance": 0.13901
}

Semantic roles & 50–950 ramp

primary
#4D7317
secondary
#6A3DA9
accent
#3EEA85
background
#F8F9F5
surface
#EFF2E9
border
#CACCC5
text
#0B0E04
muted
#7C7E79

Preview Lab

Preview with #4D7317

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

Preview Lab → · Contrast checker → · Palette generator →

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