#4D511B#4D511B

#4D511B is a dark, moderate yellow. Relative luminance 0.075; OKLCH L 41.9% C 0.075 H 113.2°. Best body text is #FFFFFF at 8.37:1 contrast (WCAG AA passes).

Color values

HEX#4D511B
RGBrgb(77, 81, 27)
HSLhsl(64, 50%, 21%)
HSVhsv(64, 67%, 32%)
CMYKcmyk(4.9%, 0%, 66.7%, 68.2%)
CIE-LABlab(33.01, -9.97, 30.31)
CIE-LCHlch(33.01, 31.91, 108.20°)
OKLaboklab(41.91% -0.0297 0.0694)
OKLCHoklch(41.91% 0.075 113.2)
XYZxyz(6.2010, 7.5419, 2.1658)
Luminance0.0754 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4D511B #1F1B51
analogous
#513A1B #4D511B #32511B
triadic
#4D511B #1B4D51 #511B4D
tetradic
#4D511B #1B513A #1F1B51 #511B32
square
#4D511B #1B513A #1F1B51 #511B32
split-complementary
#4D511B #1B3251 #3A1B51
monochromatic
#161708 #21230C #4D511B #797F2A #A4AD3A

Accessibility & contrast

On white

8.37
#4D511B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.51
#4D511B on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4D511B
8.37:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4D511B#FFFFFF#000000##FFFFFF
##4D511B1.008.372.518.37
#FFFFFF8.371.0021.001.00
#0000002.5121.001.0021.00
##FFFFFF8.371.0021.001.00

Color blindness preview

Protanopia (red-blind)
#574D15
Deuteranopia (green-blind)
#574E1E
Tritanopia (blue-blind)
#524C46
Achromatopsia (no color)
#4E4E4E

Design tokens & code

CSS
--color: #4d511b;
/* rgb */ color: rgb(77, 81, 27);
/* oklch */ color: oklch(41.9% 0.075 113.2);
Tailwind
colors: {
  custom: {
    50: '#81815a',
    500: '#4d511b',
    950: '#000000',
  },
}
SCSS
$custom: #4d511b;
$custom-light: #81815a;
$custom-dark: #000000;
JSON
{
  "hex": "#4d511b",
  "rgb": {
    "r": 77,
    "g": 81,
    "b": 27
  },
  "hsl": {
    "h": 64.444,
    "s": 50,
    "l": 21.176
  },
  "oklch": {
    "l": 0.41906,
    "c": 0.07546,
    "h": 113.2
  },
  "luminance": 0.07542
}

Semantic roles & 50–950 ramp

primary
#4D511B
secondary
#464187
accent
#4EDA59
background
#F8F7F5
surface
#EFEEE9
border
#CAC9C5
text
#0A0A04
muted
#7C7C79

Preview Lab

Preview with #4D511B

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

Preview Lab → · Contrast checker → · Palette generator →

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