#4D7117#4D7117

#4D7117 is a mid, vivid yellow-green. Relative luminance 0.135; OKLCH L 50.3% C 0.122 H 129.5°. Best body text is #FFFFFF at 5.69:1 contrast (WCAG AA passes).

Color values

HEX#4D7117
RGBrgb(77, 113, 23)
HSLhsl(84, 66%, 27%)
HSVhsv(84, 80%, 44%)
CMYKcmyk(31.9%, 0%, 79.6%, 55.7%)
CIE-LABlab(43.43, -27.27, 42.56)
CIE-LCHlch(43.43, 50.55, 122.65°)
OKLaboklab(50.32% -0.0778 0.0945)
OKLCHoklch(50.32% 0.122 129.5)
XYZxyz(9.1203, 13.4496, 2.9260)
Luminance0.1345 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4D7117 #3B1771
analogous
#716817 #4D7117 #207117
triadic
#4D7117 #174D71 #71174D
tetradic
#4D7117 #177168 #3B1771 #711720
square
#4D7117 #177168 #3B1771 #711720
split-complementary
#4D7117 #172071 #681771
monochromatic
#111905 #2A3E0D #4D7117 #70A421 #92D42E

Accessibility & contrast

On white

5.69
#4D7117 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.69
#4D7117 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #4D7117
5.69:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4D7117#FFFFFF#000000##FFFFFF
##4D71171.005.693.695.69
#FFFFFF5.691.0021.001.00
#0000003.6921.001.0021.00
##FFFFFF5.691.0021.001.00

Color blindness preview

Protanopia (red-blind)
#776803
Deuteranopia (green-blind)
#726620
Tritanopia (blue-blind)
#4F6C60
Achromatopsia (no color)
#676767

Design tokens & code

CSS
--color: #4d7117;
/* rgb */ color: rgb(77, 113, 23);
/* oklch */ color: oklch(50.3% 0.122 129.5);
Tailwind
colors: {
  custom: {
    50: '#829a5c',
    500: '#4d7117',
    950: '#000000',
  },
}
SCSS
$custom: #4d7117;
$custom-light: #829a5c;
$custom-dark: #000000;
JSON
{
  "hex": "#4d7117",
  "rgb": {
    "r": 77,
    "g": 113,
    "b": 23
  },
  "hsl": {
    "h": 84,
    "s": 66.176,
    "l": 26.667
  },
  "oklch": {
    "l": 0.50316,
    "c": 0.1224,
    "h": 129.5
  },
  "luminance": 0.1345
}

Semantic roles & 50–950 ramp

primary
#4D7117
secondary
#673DA7
accent
#3FE983
background
#F8F9F5
surface
#EFF2E9
border
#CACCC5
text
#0B0E04
muted
#7C7E79

Preview Lab

Preview with #4D7117

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

Preview Lab → · Contrast checker → · Palette generator →

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