#4D5016#4D5016

#4D5016 is a dark, moderate yellow. Relative luminance 0.074; OKLCH L 41.6% C 0.079 H 112.2°. Best body text is #FFFFFF at 8.49:1 contrast (WCAG AA passes).

Color values

HEX#4D5016
RGBrgb(77, 80, 22)
HSLhsl(63, 57%, 20%)
HSVhsv(63, 73%, 31%)
CMYKcmyk(3.7%, 0%, 72.5%, 68.6%)
CIE-LABlab(32.64, -9.76, 32.34)
CIE-LCHlch(32.64, 33.78, 106.79°)
OKLaboklab(41.6% -0.0297 0.0728)
OKLCHoklch(41.6% 0.079 112.2)
XYZxyz(6.0742, 7.3732, 1.8621)
Luminance0.0737 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4D5016 #191650
analogous
#503616 #4D5016 #305016
triadic
#4D5016 #164D50 #50164D
tetradic
#4D5016 #165036 #191650 #501630
square
#4D5016 #165036 #191650 #501630
split-complementary
#4D5016 #163050 #361650
monochromatic
#171807 #1F2009 #4D5016 #7B8023 #A9B030

Accessibility & contrast

On white

8.49
#4D5016 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.47
#4D5016 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4D5016
8.49:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4D5016#FFFFFF#000000##FFFFFF
##4D50161.008.492.478.49
#FFFFFF8.491.0021.001.00
#0000002.4721.001.0021.00
##FFFFFF8.491.0021.001.00

Color blindness preview

Protanopia (red-blind)
#564C0E
Deuteranopia (green-blind)
#574D1A
Tritanopia (blue-blind)
#534B44
Achromatopsia (no color)
#4D4D4D

Design tokens & code

CSS
--color: #4d5016;
/* rgb */ color: rgb(77, 80, 22);
/* oklch */ color: oklch(41.6% 0.079 112.2);
Tailwind
colors: {
  custom: {
    50: '#818057',
    500: '#4d5016',
    950: '#000000',
  },
}
SCSS
$custom: #4d5016;
$custom-light: #818057;
$custom-dark: #000000;
JSON
{
  "hex": "#4d5016",
  "rgb": {
    "r": 77,
    "g": 80,
    "b": 22
  },
  "hsl": {
    "h": 63.103,
    "s": 56.863,
    "l": 20
  },
  "oklch": {
    "l": 0.41597,
    "c": 0.07863,
    "h": 112.2
  },
  "luminance": 0.07373
}

Semantic roles & 50–950 ramp

primary
#4D5016
secondary
#3E3A87
accent
#48E050
background
#F8F7F5
surface
#EFEEE9
border
#CAC9C5
text
#0A0A03
muted
#7C7C78

Preview Lab

Preview with #4D5016

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

Preview Lab → · Contrast checker → · Palette generator →

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