#4D511D#4D511D

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

Color values

HEX#4D511D
RGBrgb(77, 81, 29)
HSLhsl(65, 47%, 22%)
HSVhsv(65, 64%, 32%)
CMYKcmyk(4.9%, 0%, 64.2%, 68.2%)
CIE-LABlab(33.03, -9.80, 29.32)
CIE-LCHlch(33.03, 30.91, 108.48°)
OKLaboklab(41.93% -0.029 0.0676)
OKLCHoklch(41.93% 0.074 113.2)
XYZxyz(6.2249, 7.5515, 2.2918)
Luminance0.0755 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4D511D #211D51
analogous
#513B1D #4D511D #33511D
triadic
#4D511D #1D4D51 #511D4D
tetradic
#4D511D #1D513B #211D51 #511D33
square
#4D511D #1D513B #211D51 #511D33
split-complementary
#4D511D #1D3351 #3B1D51
monochromatic
#151708 #22240D #4D511D #787E2D #A3AB3D

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##4D511D#FFFFFF#000000##FFFFFF
##4D511D1.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)
#574D17
Deuteranopia (green-blind)
#574E20
Tritanopia (blue-blind)
#524C46
Achromatopsia (no color)
#4E4E4E

Design tokens & code

CSS
--color: #4d511d;
/* rgb */ color: rgb(77, 81, 29);
/* oklch */ color: oklch(41.9% 0.074 113.2);
Tailwind
colors: {
  custom: {
    50: '#80815b',
    500: '#4d511d',
    950: '#000000',
  },
}
SCSS
$custom: #4d511d;
$custom-light: #80815b;
$custom-dark: #000000;
JSON
{
  "hex": "#4d511d",
  "rgb": {
    "r": 77,
    "g": 81,
    "b": 29
  },
  "hsl": {
    "h": 64.615,
    "s": 47.273,
    "l": 21.569
  },
  "oklch": {
    "l": 0.41929,
    "c": 0.07352,
    "h": 113.2
  },
  "luminance": 0.07551
}

Semantic roles & 50–950 ramp

primary
#4D511D
secondary
#494486
accent
#51D75B
background
#F8F7F5
surface
#EFEEE9
border
#CAC9C5
text
#0A0A04
muted
#7C7C79

Preview Lab

Preview with #4D511D

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

Preview Lab → · Contrast checker → · Palette generator →

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