#4C511C#4C511C

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

Color values

HEX#4C511C
RGBrgb(76, 81, 28)
HSLhsl(66, 49%, 21%)
HSVhsv(66, 65%, 32%)
CMYKcmyk(6.2%, 0%, 65.4%, 68.2%)
CIE-LABlab(32.93, -10.36, 29.69)
CIE-LCHlch(32.93, 31.45, 109.24°)
OKLaboklab(41.82% -0.0306 0.0682)
OKLCHoklch(41.82% 0.075 114.2)
XYZxyz(6.1327, 7.5053, 2.2240)
Luminance0.0751 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4C511C #211C51
analogous
#513C1C #4C511C #32511C
triadic
#4C511C #1C4C51 #511C4C
tetradic
#4C511C #1C513C #211C51 #511C32
square
#4C511C #1C513C #211C51 #511C32
split-complementary
#4C511C #1C3251 #3C1C51
monochromatic
#151708 #21240C #4C511C #777E2C #A1AC3B

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##4C511C#FFFFFF#000000##FFFFFF
##4C511C1.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)
#574D16
Deuteranopia (green-blind)
#574E1F
Tritanopia (blue-blind)
#514C46
Achromatopsia (no color)
#4D4D4D

Design tokens & code

CSS
--color: #4c511c;
/* rgb */ color: rgb(76, 81, 28);
/* oklch */ color: oklch(41.8% 0.075 114.2);
Tailwind
colors: {
  custom: {
    50: '#80815b',
    500: '#4c511c',
    950: '#000000',
  },
}
SCSS
$custom: #4c511c;
$custom-light: #80815b;
$custom-dark: #000000;
JSON
{
  "hex": "#4c511c",
  "rgb": {
    "r": 76,
    "g": 81,
    "b": 28
  },
  "hsl": {
    "h": 65.66,
    "s": 48.624,
    "l": 21.373
  },
  "oklch": {
    "l": 0.41824,
    "c": 0.0748,
    "h": 114.2
  },
  "luminance": 0.07505
}

Semantic roles & 50–950 ramp

primary
#4C511C
secondary
#494287
accent
#50D85C
background
#F7F7F5
surface
#EEEEE9
border
#C9C9C5
text
#0A0A04
muted
#7C7C79

Preview Lab

Preview with #4C511C

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

Preview Lab → · Contrast checker → · Palette generator →

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