#4C511E#4C511E

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

Color values

HEX#4C511E
RGBrgb(76, 81, 30)
HSLhsl(66, 46%, 22%)
HSVhsv(66, 63%, 32%)
CMYKcmyk(6.2%, 0%, 63%, 68.2%)
CIE-LABlab(32.95, -10.19, 28.68)
CIE-LCHlch(32.95, 30.44, 109.56°)
OKLaboklab(41.85% -0.0299 0.0664)
OKLCHoklch(41.85% 0.073 114.3)
XYZxyz(6.1574, 7.5152, 2.3543)
Luminance0.0751 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4C511E #231E51
analogous
#513D1E #4C511E #33511E
triadic
#4C511E #1E4C51 #511E4C
tetradic
#4C511E #1E513D #231E51 #511E33
square
#4C511E #1E513D #231E51 #511E33
split-complementary
#4C511E #1E3351 #3D1E51
monochromatic
#151608 #22240D #4C511E #767E2F #A0AA3F

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##4C511E#FFFFFF#000000##FFFFFF
##4C511E1.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)
#574D18
Deuteranopia (green-blind)
#574E21
Tritanopia (blue-blind)
#514C46
Achromatopsia (no color)
#4D4D4D

Design tokens & code

CSS
--color: #4c511e;
/* rgb */ color: rgb(76, 81, 30);
/* oklch */ color: oklch(41.8% 0.073 114.3);
Tailwind
colors: {
  custom: {
    50: '#80815c',
    500: '#4c511e',
    950: '#000000',
  },
}
SCSS
$custom: #4c511e;
$custom-light: #80815c;
$custom-dark: #000000;
JSON
{
  "hex": "#4c511e",
  "rgb": {
    "r": 76,
    "g": 81,
    "b": 30
  },
  "hsl": {
    "h": 65.882,
    "s": 45.946,
    "l": 21.765
  },
  "oklch": {
    "l": 0.41848,
    "c": 0.0728,
    "h": 114.3
  },
  "luminance": 0.07515
}

Semantic roles & 50–950 ramp

primary
#4C511E
secondary
#4B4586
accent
#52D65F
background
#F7F7F5
surface
#EEEEE9
border
#C9C9C5
text
#0A0A04
muted
#7C7C79

Preview Lab

Preview with #4C511E

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

Preview Lab → · Contrast checker → · Palette generator →

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