#4C511A#4C511A

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

Color values

HEX#4C511A
RGBrgb(76, 81, 26)
HSLhsl(65, 51%, 21%)
HSVhsv(65, 68%, 32%)
CMYKcmyk(6.2%, 0%, 67.9%, 68.2%)
CIE-LABlab(32.91, -10.53, 30.68)
CIE-LCHlch(32.91, 32.43, 108.95°)
OKLaboklab(41.8% -0.0314 0.07)
OKLCHoklch(41.8% 0.077 114.1)
XYZxyz(6.1095, 7.4960, 2.1021)
Luminance0.0750 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4C511A #1F1A51
analogous
#513A1A #4C511A #30511A
triadic
#4C511A #1A4C51 #511A4C
tetradic
#4C511A #1A513A #1F1A51 #511A30
square
#4C511A #1A513A #1F1A51 #511A30
split-complementary
#4C511A #1A3051 #3A1A51
monochromatic
#161707 #21230B #4C511A #777F29 #A3AE38

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##4C511A#FFFFFF#000000##FFFFFF
##4C511A1.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)
#574D13
Deuteranopia (green-blind)
#574E1E
Tritanopia (blue-blind)
#514C45
Achromatopsia (no color)
#4D4D4D

Design tokens & code

CSS
--color: #4c511a;
/* rgb */ color: rgb(76, 81, 26);
/* oklch */ color: oklch(41.8% 0.077 114.1);
Tailwind
colors: {
  custom: {
    50: '#808159',
    500: '#4c511a',
    950: '#000000',
  },
}
SCSS
$custom: #4c511a;
$custom-light: #808159;
$custom-dark: #000000;
JSON
{
  "hex": "#4c511a",
  "rgb": {
    "r": 76,
    "g": 81,
    "b": 26
  },
  "hsl": {
    "h": 65.455,
    "s": 51.402,
    "l": 20.98
  },
  "oklch": {
    "l": 0.41801,
    "c": 0.0767,
    "h": 114.1
  },
  "luminance": 0.07496
}

Semantic roles & 50–950 ramp

primary
#4C511A
secondary
#464087
accent
#4DDB5A
background
#F7F7F5
surface
#EEEEE9
border
#C9C9C5
text
#0A0A04
muted
#7C7C79

Preview Lab

Preview with #4C511A

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

Preview Lab → · Contrast checker → · Palette generator →

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