#4C511B#4C511B

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

Color values

HEX#4C511B
RGBrgb(76, 81, 27)
HSLhsl(66, 50%, 21%)
HSVhsv(66, 67%, 32%)
CMYKcmyk(6.2%, 0%, 66.7%, 68.2%)
CIE-LABlab(32.92, -10.45, 30.19)
CIE-LCHlch(32.92, 31.95, 109.09°)
OKLaboklab(41.81% -0.031 0.0691)
OKLCHoklch(41.81% 0.076 114.2)
XYZxyz(6.1209, 7.5006, 2.1620)
Luminance0.0750 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4C511B #201B51
analogous
#513B1B #4C511B #31511B
triadic
#4C511B #1B4C51 #511B4C
tetradic
#4C511B #1B513B #201B51 #511B31
square
#4C511B #1B513B #201B51 #511B31
split-complementary
#4C511B #1B3151 #3B1B51
monochromatic
#161708 #21230C #4C511B #777F2A #A2AD3A

Accessibility & contrast

On white

8.40
#4C511B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #4C511B
8.40:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4C511B#FFFFFF#000000##FFFFFF
##4C511B1.008.402.508.40
#FFFFFF8.401.0021.001.00
#0000002.5021.001.0021.00
##FFFFFF8.401.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #4c511b;
/* rgb */ color: rgb(76, 81, 27);
/* oklch */ color: oklch(41.8% 0.076 114.2);
Tailwind
colors: {
  custom: {
    50: '#80815a',
    500: '#4c511b',
    950: '#000000',
  },
}
SCSS
$custom: #4c511b;
$custom-light: #80815a;
$custom-dark: #000000;
JSON
{
  "hex": "#4c511b",
  "rgb": {
    "r": 76,
    "g": 81,
    "b": 27
  },
  "hsl": {
    "h": 65.556,
    "s": 50,
    "l": 21.176
  },
  "oklch": {
    "l": 0.41812,
    "c": 0.07577,
    "h": 114.2
  },
  "luminance": 0.075
}

Semantic roles & 50–950 ramp

primary
#4C511B
secondary
#474187
accent
#4EDA5B
background
#F7F7F5
surface
#EEEEE9
border
#C9C9C5
text
#0A0A04
muted
#7C7C79

Preview Lab

Preview with #4C511B

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

Preview Lab → · Contrast checker → · Palette generator →

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