#4D7116#4D7116

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

Color values

HEX#4D7116
RGBrgb(77, 113, 22)
HSLhsl(84, 67%, 26%)
HSVhsv(84, 81%, 44%)
CMYKcmyk(31.9%, 0%, 80.5%, 55.7%)
CIE-LABlab(43.43, -27.33, 42.91)
CIE-LCHlch(43.43, 50.87, 122.49°)
OKLaboklab(50.31% -0.0781 0.095)
OKLCHoklch(50.31% 0.123 129.4)
XYZxyz(9.1105, 13.4457, 2.8742)
Luminance0.1345 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4D7116 #3A1671
analogous
#716816 #4D7116 #207116
triadic
#4D7116 #164D71 #71164D
tetradic
#4D7116 #167168 #3A1671 #711620
square
#4D7116 #167168 #3A1671 #711620
split-complementary
#4D7116 #162071 #681671
monochromatic
#111A05 #2A3E0C #4D7116 #70A420 #92D62C

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##4D7116#FFFFFF#000000##FFFFFF
##4D71161.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)
#776801
Deuteranopia (green-blind)
#72661F
Tritanopia (blue-blind)
#4F6C60
Achromatopsia (no color)
#676767

Design tokens & code

CSS
--color: #4d7116;
/* rgb */ color: rgb(77, 113, 22);
/* oklch */ color: oklch(50.3% 0.123 129.4);
Tailwind
colors: {
  custom: {
    50: '#829a5b',
    500: '#4d7116',
    950: '#000000',
  },
}
SCSS
$custom: #4d7116;
$custom-light: #829a5b;
$custom-dark: #000000;
JSON
{
  "hex": "#4d7116",
  "rgb": {
    "r": 77,
    "g": 113,
    "b": 22
  },
  "hsl": {
    "h": 83.736,
    "s": 67.407,
    "l": 26.471
  },
  "oklch": {
    "l": 0.50309,
    "c": 0.12297,
    "h": 129.4
  },
  "luminance": 0.13446
}

Semantic roles & 50–950 ramp

primary
#4D7116
secondary
#663CA7
accent
#3EEA82
background
#F8F9F5
surface
#EFF2E9
border
#CACCC5
text
#0B0E04
muted
#7C7E79

Preview Lab

Preview with #4D7116

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

Preview Lab → · Contrast checker → · Palette generator →

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