#4D5310#4D5310

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

Color values

HEX#4D5310
RGBrgb(77, 83, 16)
HSLhsl(65, 68%, 19%)
HSVhsv(65, 81%, 33%)
CMYKcmyk(7.2%, 0%, 80.7%, 67.5%)
CIE-LABlab(33.57, -11.86, 35.80)
CIE-LCHlch(33.57, 37.71, 108.33°)
OKLaboklab(42.32% -0.0363 0.0789)
OKLCHoklch(42.32% 0.087 114.7)
XYZxyz(6.2475, 7.8018, 1.6669)
Luminance0.0780 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4D5310 #161053
analogous
#533810 #4D5310 #2C5310
triadic
#4D5310 #104D53 #53104D
tetradic
#4D5310 #105338 #161053 #53102C
square
#4D5310 #105338 #161053 #53102C
split-complementary
#4D5310 #102C53 #381053
monochromatic
#181A05 #1D2006 #4D5310 #7D861A #ACBA24

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##4D5310#FFFFFF#000000##FFFFFF
##4D53101.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)
#5A4E03
Deuteranopia (green-blind)
#595016
Tritanopia (blue-blind)
#534E46
Achromatopsia (no color)
#4F4F4F

Design tokens & code

CSS
--color: #4d5310;
/* rgb */ color: rgb(77, 83, 16);
/* oklch */ color: oklch(42.3% 0.087 114.7);
Tailwind
colors: {
  custom: {
    50: '#818354',
    500: '#4d5310',
    950: '#000000',
  },
}
SCSS
$custom: #4d5310;
$custom-light: #818354;
$custom-dark: #000000;
JSON
{
  "hex": "#4d5310",
  "rgb": {
    "r": 77,
    "g": 83,
    "b": 16
  },
  "hsl": {
    "h": 65.373,
    "s": 67.677,
    "l": 19.412
  },
  "oklch": {
    "l": 0.42323,
    "c": 0.08685,
    "h": 114.7
  },
  "luminance": 0.07802
}

Semantic roles & 50–950 ramp

primary
#4D5310
secondary
#3A328D
accent
#3DEB4D
background
#F8F8F5
surface
#EFEFE9
border
#CACAC5
text
#0B0A03
muted
#7C7C78

Preview Lab

Preview with #4D5310

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

Preview Lab → · Contrast checker → · Palette generator →

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