#4C511F#4C511F

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

Color values

HEX#4C511F
RGBrgb(76, 81, 31)
HSLhsl(66, 45%, 22%)
HSVhsv(66, 62%, 32%)
CMYKcmyk(6.2%, 0%, 61.7%, 68.2%)
CIE-LABlab(32.96, -10.10, 28.17)
CIE-LCHlch(32.96, 29.92, 109.72°)
OKLaboklab(41.86% -0.0295 0.0654)
OKLCHoklch(41.86% 0.072 114.3)
XYZxyz(6.1704, 7.5204, 2.4226)
Luminance0.0752 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4C511F #241F51
analogous
#513D1F #4C511F #33511F
triadic
#4C511F #1F4C51 #511F4C
tetradic
#4C511F #1F513D #241F51 #511F33
square
#4C511F #1F513D #241F51 #511F33
split-complementary
#4C511F #1F3351 #3D1F51
monochromatic
#151608 #22250E #4C511F #767D30 #9FAA41

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##4C511F#FFFFFF#000000##FFFFFF
##4C511F1.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)
#574D1A
Deuteranopia (green-blind)
#574E22
Tritanopia (blue-blind)
#514C46
Achromatopsia (no color)
#4E4E4E

Design tokens & code

CSS
--color: #4c511f;
/* rgb */ color: rgb(76, 81, 31);
/* oklch */ color: oklch(41.9% 0.072 114.3);
Tailwind
colors: {
  custom: {
    50: '#7f815d',
    500: '#4c511f',
    950: '#000000',
  },
}
SCSS
$custom: #4c511f;
$custom-light: #7f815d;
$custom-dark: #000000;
JSON
{
  "hex": "#4c511f",
  "rgb": {
    "r": 76,
    "g": 81,
    "b": 31
  },
  "hsl": {
    "h": 66,
    "s": 44.643,
    "l": 21.961
  },
  "oklch": {
    "l": 0.4186,
    "c": 0.07177,
    "h": 114.3
  },
  "luminance": 0.0752
}

Semantic roles & 50–950 ramp

primary
#4C511F
secondary
#4C4686
accent
#53D460
background
#F7F7F5
surface
#EEEEE9
border
#C9C9C5
text
#0A0A04
muted
#7C7C79

Preview Lab

Preview with #4C511F

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

Preview Lab → · Contrast checker → · Palette generator →

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