#4D5313#4D5313

#4D5313 is a dark, moderate yellow. Relative luminance 0.078; OKLCH L 42.3% C 0.085 H 114.7°. Best body text is #FFFFFF at 8.20:1 contrast (WCAG AA passes).

Color values

HEX#4D5313
RGBrgb(77, 83, 19)
HSLhsl(66, 63%, 20%)
HSVhsv(66, 77%, 33%)
CMYKcmyk(7.2%, 0%, 77.1%, 67.5%)
CIE-LABlab(33.59, -11.69, 34.61)
CIE-LCHlch(33.59, 36.53, 108.67°)
OKLaboklab(42.35% -0.0355 0.077)
OKLCHoklch(42.35% 0.085 114.7)
XYZxyz(6.2715, 7.8114, 1.7933)
Luminance0.0781 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4D5313 #191353
analogous
#533913 #4D5313 #2D5313
triadic
#4D5313 #134D53 #53134D
tetradic
#4D5313 #135339 #191353 #53132D
square
#4D5313 #135339 #191353 #53132D
split-complementary
#4D5313 #132D53 #391353
monochromatic
#171906 #1F2108 #4D5313 #7B851E #A9B72A

Accessibility & contrast

On white

8.20
#4D5313 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.56
#4D5313 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4D5313
8.20:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4D5313#FFFFFF#000000##FFFFFF
##4D53131.008.202.568.20
#FFFFFF8.201.0021.001.00
#0000002.5621.001.0021.00
##FFFFFF8.201.0021.001.00

Color blindness preview

Protanopia (red-blind)
#594E08
Deuteranopia (green-blind)
#595018
Tritanopia (blue-blind)
#524E47
Achromatopsia (no color)
#4F4F4F

Design tokens & code

CSS
--color: #4d5313;
/* rgb */ color: rgb(77, 83, 19);
/* oklch */ color: oklch(42.3% 0.085 114.7);
Tailwind
colors: {
  custom: {
    50: '#818356',
    500: '#4d5313',
    950: '#000000',
  },
}
SCSS
$custom: #4d5313;
$custom-light: #818356;
$custom-dark: #000000;
JSON
{
  "hex": "#4d5313",
  "rgb": {
    "r": 77,
    "g": 83,
    "b": 19
  },
  "hsl": {
    "h": 65.625,
    "s": 62.745,
    "l": 20
  },
  "oklch": {
    "l": 0.42346,
    "c": 0.08479,
    "h": 114.7
  },
  "luminance": 0.07811
}

Semantic roles & 50–950 ramp

primary
#4D5313
secondary
#3E368B
accent
#42E651
background
#F8F8F5
surface
#EFEFE9
border
#CACAC5
text
#0B0A03
muted
#7C7C78

Preview Lab

Preview with #4D5313

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

Preview Lab → · Contrast checker → · Palette generator →

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