#4E511D#4E511D

#4E511D is a dark, moderate yellow. Relative luminance 0.076; OKLCH L 42.0% C 0.073 H 112.2°. Best body text is #FFFFFF at 8.34:1 contrast (WCAG AA passes).

Color values

HEX#4E511D
RGBrgb(78, 81, 29)
HSLhsl(63, 47%, 22%)
HSVhsv(63, 64%, 32%)
CMYKcmyk(3.7%, 0%, 64.2%, 68.2%)
CIE-LABlab(33.12, -9.31, 29.44)
CIE-LCHlch(33.12, 30.88, 107.55°)
OKLaboklab(42.02% -0.0277 0.0678)
OKLCHoklch(42.02% 0.073 112.2)
XYZxyz(6.3062, 7.5934, 2.2956)
Luminance0.0759 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4E511D #201D51
analogous
#513A1D #4E511D #34511D
triadic
#4E511D #1D4E51 #511D4E
tetradic
#4E511D #1D513A #201D51 #511D34
square
#4E511D #1D513A #201D51 #511D34
split-complementary
#4E511D #1D3451 #3A1D51
monochromatic
#161708 #23240D #4E511D #797E2D #A5AB3D

Accessibility & contrast

On white

8.34
#4E511D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.52
#4E511D on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4E511D
8.34:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4E511D#FFFFFF#000000##FFFFFF
##4E511D1.008.342.528.34
#FFFFFF8.341.0021.001.00
#0000002.5221.001.0021.00
##FFFFFF8.341.0021.001.00

Color blindness preview

Protanopia (red-blind)
#574D17
Deuteranopia (green-blind)
#574F20
Tritanopia (blue-blind)
#534C46
Achromatopsia (no color)
#4E4E4E

Design tokens & code

CSS
--color: #4e511d;
/* rgb */ color: rgb(78, 81, 29);
/* oklch */ color: oklch(42.0% 0.073 112.2);
Tailwind
colors: {
  custom: {
    50: '#81815b',
    500: '#4e511d',
    950: '#000000',
  },
}
SCSS
$custom: #4e511d;
$custom-light: #81815b;
$custom-dark: #000000;
JSON
{
  "hex": "#4e511d",
  "rgb": {
    "r": 78,
    "g": 81,
    "b": 29
  },
  "hsl": {
    "h": 63.462,
    "s": 47.273,
    "l": 21.569
  },
  "oklch": {
    "l": 0.42024,
    "c": 0.07324,
    "h": 112.2
  },
  "luminance": 0.07593
}

Semantic roles & 50–950 ramp

primary
#4E511D
secondary
#474486
accent
#51D759
background
#F8F7F5
surface
#EFEEE9
border
#CAC9C5
text
#0A0A04
muted
#7C7C79

Preview Lab

Preview with #4E511D

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

Preview Lab → · Contrast checker → · Palette generator →

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