#4D5314#4D5314

#4D5314 is a dark, moderate yellow. Relative luminance 0.078; OKLCH L 42.4% C 0.084 H 114.8°. Best body text is #FFFFFF at 8.19:1 contrast (WCAG AA passes).

Color values

HEX#4D5314
RGBrgb(77, 83, 20)
HSLhsl(66, 61%, 20%)
HSVhsv(66, 76%, 33%)
CMYKcmyk(7.2%, 0%, 75.9%, 67.5%)
CIE-LABlab(33.59, -11.63, 34.19)
CIE-LCHlch(33.59, 36.11, 108.79°)
OKLaboklab(42.36% -0.0352 0.0763)
OKLCHoklch(42.36% 0.084 114.8)
XYZxyz(6.2803, 7.8149, 1.8393)
Luminance0.0781 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4D5314 #1A1453
analogous
#533914 #4D5314 #2E5314
triadic
#4D5314 #144D53 #53144D
tetradic
#4D5314 #145339 #1A1453 #53142E
square
#4D5314 #145339 #1A1453 #53142E
split-complementary
#4D5314 #142E53 #391453
monochromatic
#171906 #1F2208 #4D5314 #7B8420 #A9B62C

Accessibility & contrast

On white

8.19
#4D5314 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #4D5314
8.19:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4D5314#FFFFFF#000000##FFFFFF
##4D53141.008.192.568.19
#FFFFFF8.191.0021.001.00
#0000002.5621.001.0021.00
##FFFFFF8.191.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #4d5314;
/* rgb */ color: rgb(77, 83, 20);
/* oklch */ color: oklch(42.4% 0.084 114.8);
Tailwind
colors: {
  custom: {
    50: '#818356',
    500: '#4d5314',
    950: '#000000',
  },
}
SCSS
$custom: #4d5314;
$custom-light: #818356;
$custom-dark: #000000;
JSON
{
  "hex": "#4d5314",
  "rgb": {
    "r": 77,
    "g": 83,
    "b": 20
  },
  "hsl": {
    "h": 65.714,
    "s": 61.165,
    "l": 20.196
  },
  "oklch": {
    "l": 0.42355,
    "c": 0.08404,
    "h": 114.8
  },
  "luminance": 0.07815
}

Semantic roles & 50–950 ramp

primary
#4D5314
secondary
#40388B
accent
#44E453
background
#F8F8F5
surface
#EFEFE9
border
#CACAC5
text
#0B0A03
muted
#7C7C78

Preview Lab

Preview with #4D5314

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

Preview Lab → · Contrast checker → · Palette generator →

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