#4C511D#4C511D

#4C511D is a dark, moderate yellow. Relative luminance 0.075; OKLCH L 41.8% C 0.074 H 114.2°. Best body text is #FFFFFF at 8.39:1 contrast (WCAG AA passes).

Color values

HEX#4C511D
RGBrgb(76, 81, 29)
HSLhsl(66, 47%, 22%)
HSVhsv(66, 64%, 32%)
CMYKcmyk(6.2%, 0%, 64.2%, 68.2%)
CIE-LABlab(32.94, -10.28, 29.19)
CIE-LCHlch(32.94, 30.95, 109.40°)
OKLaboklab(41.84% -0.0303 0.0673)
OKLCHoklch(41.84% 0.074 114.2)
XYZxyz(6.1448, 7.5102, 2.2881)
Luminance0.0751 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4C511D #221D51
analogous
#513C1D #4C511D #32511D
triadic
#4C511D #1D4C51 #511D4C
tetradic
#4C511D #1D513C #221D51 #511D32
square
#4C511D #1D513C #221D51 #511D32
split-complementary
#4C511D #1D3251 #3C1D51
monochromatic
#151708 #22240D #4C511D #767E2D #A1AB3D

Accessibility & contrast

On white

8.39
#4C511D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.50
#4C511D on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4C511D
8.39:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4C511D#FFFFFF#000000##FFFFFF
##4C511D1.008.392.508.39
#FFFFFF8.391.0021.001.00
#0000002.5021.001.0021.00
##FFFFFF8.391.0021.001.00

Color blindness preview

Protanopia (red-blind)
#574D17
Deuteranopia (green-blind)
#574E20
Tritanopia (blue-blind)
#514C46
Achromatopsia (no color)
#4D4D4D

Design tokens & code

CSS
--color: #4c511d;
/* rgb */ color: rgb(76, 81, 29);
/* oklch */ color: oklch(41.8% 0.074 114.2);
Tailwind
colors: {
  custom: {
    50: '#80815b',
    500: '#4c511d',
    950: '#000000',
  },
}
SCSS
$custom: #4c511d;
$custom-light: #80815b;
$custom-dark: #000000;
JSON
{
  "hex": "#4c511d",
  "rgb": {
    "r": 76,
    "g": 81,
    "b": 29
  },
  "hsl": {
    "h": 65.769,
    "s": 47.273,
    "l": 21.569
  },
  "oklch": {
    "l": 0.41836,
    "c": 0.07382,
    "h": 114.2
  },
  "luminance": 0.0751
}

Semantic roles & 50–950 ramp

primary
#4C511D
secondary
#4A4486
accent
#51D75E
background
#F7F7F5
surface
#EEEEE9
border
#C9C9C5
text
#0A0A04
muted
#7C7C79

Preview Lab

Preview with #4C511D

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

Preview Lab → · Contrast checker → · Palette generator →

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