#4D5113#4D5113

#4D5113 is a dark, moderate yellow. Relative luminance 0.075; OKLCH L 41.8% C 0.082 H 113.1°. Best body text is #FFFFFF at 8.39:1 contrast (WCAG AA passes).

Color values

HEX#4D5113
RGBrgb(77, 81, 19)
HSLhsl(64, 62%, 20%)
HSVhsv(64, 77%, 32%)
CMYKcmyk(4.9%, 0%, 76.5%, 68.2%)
CIE-LABlab(32.94, -10.54, 33.97)
CIE-LCHlch(32.94, 35.57, 107.23°)
OKLaboklab(41.83% -0.0323 0.0757)
OKLCHoklch(41.83% 0.082 113.1)
XYZxyz(6.1207, 7.5098, 1.7431)
Luminance0.0751 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4D5113 #171351
analogous
#513613 #4D5113 #2E5113
triadic
#4D5113 #134D51 #51134D
tetradic
#4D5113 #135136 #171351 #51132E
square
#4D5113 #135136 #171351 #51132E
split-complementary
#4D5113 #132E51 #361351
monochromatic
#181906 #1E1F07 #4D5113 #7C831F #ABB42A

Accessibility & contrast

On white

8.39
#4D5113 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.50
#4D5113 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4D5113
8.39:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4D5113#FFFFFF#000000##FFFFFF
##4D51131.008.392.508.39
#FFFFFF8.391.0021.001.00
#0000002.5021.001.0021.00
##FFFFFF8.391.0021.001.00

Color blindness preview

Protanopia (red-blind)
#584D09
Deuteranopia (green-blind)
#584E18
Tritanopia (blue-blind)
#534C45
Achromatopsia (no color)
#4D4D4D

Design tokens & code

CSS
--color: #4d5113;
/* rgb */ color: rgb(77, 81, 19);
/* oklch */ color: oklch(41.8% 0.082 113.1);
Tailwind
colors: {
  custom: {
    50: '#818155',
    500: '#4d5113',
    950: '#000000',
  },
}
SCSS
$custom: #4d5113;
$custom-light: #818155;
$custom-dark: #000000;
JSON
{
  "hex": "#4d5113",
  "rgb": {
    "r": 77,
    "g": 81,
    "b": 19
  },
  "hsl": {
    "h": 63.871,
    "s": 62,
    "l": 19.608
  },
  "oklch": {
    "l": 0.41828,
    "c": 0.08226,
    "h": 113.1
  },
  "luminance": 0.0751
}

Semantic roles & 50–950 ramp

primary
#4D5113
secondary
#3C368A
accent
#43E54D
background
#F8F7F5
surface
#EFEEE9
border
#CAC9C5
text
#0B0A03
muted
#7C7C78

Preview Lab

Preview with #4D5113

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

Preview Lab → · Contrast checker → · Palette generator →

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