#4D6A16#4D6A16

#4D6A16 is a mid, moderate yellow-green. Relative luminance 0.119; OKLCH L 48.4% C 0.114 H 127.2°. Best body text is #FFFFFF at 6.20:1 contrast (WCAG AA passes).

Color values

HEX#4D6A16
RGBrgb(77, 106, 22)
HSLhsl(81, 66%, 25%)
HSVhsv(81, 79%, 42%)
CMYKcmyk(27.4%, 0%, 79.2%, 58.4%)
CIE-LABlab(41.13, -23.88, 40.73)
CIE-LCHlch(41.13, 47.21, 120.38°)
OKLaboklab(48.44% -0.0687 0.0904)
OKLCHoklch(48.44% 0.114 127.2)
XYZxyz(8.3594, 11.9436, 2.6238)
Luminance0.1194 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4D6A16 #33166A
analogous
#6A5D16 #4D6A16 #236A16
triadic
#4D6A16 #164D6A #6A164D
tetradic
#4D6A16 #166A5D #33166A #6A1623
square
#4D6A16 #166A5D #33166A #6A1623
split-complementary
#4D6A16 #16236A #5D166A
monochromatic
#121905 #28370B #4D6A16 #729D21 #97CF2B

Accessibility & contrast

On white

6.20
#4D6A16 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.39
#4D6A16 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #4D6A16
6.20:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4D6A16#FFFFFF#000000##FFFFFF
##4D6A161.006.203.396.20
#FFFFFF6.201.0021.001.00
#0000003.3921.001.0021.00
##FFFFFF6.201.0021.001.00

Color blindness preview

Protanopia (red-blind)
#706204
Deuteranopia (green-blind)
#6C601E
Tritanopia (blue-blind)
#50655A
Achromatopsia (no color)
#616161

Design tokens & code

CSS
--color: #4d6a16;
/* rgb */ color: rgb(77, 106, 22);
/* oklch */ color: oklch(48.4% 0.114 127.2);
Tailwind
colors: {
  custom: {
    50: '#82945a',
    500: '#4d6a16',
    950: '#000000',
  },
}
SCSS
$custom: #4d6a16;
$custom-light: #82945a;
$custom-dark: #000000;
JSON
{
  "hex": "#4d6a16",
  "rgb": {
    "r": 77,
    "g": 106,
    "b": 22
  },
  "hsl": {
    "h": 80.714,
    "s": 65.625,
    "l": 25.098
  },
  "oklch": {
    "l": 0.48439,
    "c": 0.11356,
    "h": 127.2
  },
  "luminance": 0.11944
}

Semantic roles & 50–950 ramp

primary
#4D6A16
secondary
#5E3BA0
accent
#3FE97A
background
#F8F9F5
surface
#EFF1E9
border
#CACBC5
text
#0B0D04
muted
#7C7E79

Preview Lab

Preview with #4D6A16

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

Preview Lab → · Contrast checker → · Palette generator →

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