#4D5013#4D5013

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

Color values

HEX#4D5013
RGBrgb(77, 80, 19)
HSLhsl(63, 62%, 19%)
HSVhsv(63, 76%, 31%)
CMYKcmyk(3.7%, 0%, 76.3%, 68.6%)
CIE-LABlab(32.62, -9.96, 33.66)
CIE-LCHlch(32.62, 35.10, 106.48°)
OKLaboklab(41.57% -0.0306 0.075)
OKLCHoklch(41.57% 0.081 112.2)
XYZxyz(6.0470, 7.3623, 1.7185)
Luminance0.0736 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4D5013 #161350
analogous
#503513 #4D5013 #2F5013
triadic
#4D5013 #134D50 #50134D
tetradic
#4D5013 #135035 #161350 #50132F
square
#4D5013 #135035 #161350 #50132F
split-complementary
#4D5013 #132F50 #351350
monochromatic
#181906 #1D1F07 #4D5013 #7D811F #ACB32A

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##4D5013#FFFFFF#000000##FFFFFF
##4D50131.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)
#574C09
Deuteranopia (green-blind)
#574D18
Tritanopia (blue-blind)
#534B44
Achromatopsia (no color)
#4D4D4D

Design tokens & code

CSS
--color: #4d5013;
/* rgb */ color: rgb(77, 80, 19);
/* oklch */ color: oklch(41.6% 0.081 112.2);
Tailwind
colors: {
  custom: {
    50: '#818055',
    500: '#4d5013',
    950: '#000000',
  },
}
SCSS
$custom: #4d5013;
$custom-light: #818055;
$custom-dark: #000000;
JSON
{
  "hex": "#4d5013",
  "rgb": {
    "r": 77,
    "g": 80,
    "b": 19
  },
  "hsl": {
    "h": 62.951,
    "s": 61.616,
    "l": 19.412
  },
  "oklch": {
    "l": 0.4157,
    "c": 0.08101,
    "h": 112.2
  },
  "luminance": 0.07362
}

Semantic roles & 50–950 ramp

primary
#4D5013
secondary
#3A3689
accent
#43E54B
background
#F8F7F5
surface
#EFEEE9
border
#CAC9C5
text
#0B0A03
muted
#7C7C78

Preview Lab

Preview with #4D5013

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

Preview Lab → · Contrast checker → · Palette generator →

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