#4E511C#4E511C

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

Color values

HEX#4E511C
RGBrgb(78, 81, 28)
HSLhsl(63, 49%, 21%)
HSVhsv(63, 65%, 32%)
CMYKcmyk(3.7%, 0%, 65.4%, 68.2%)
CIE-LABlab(33.11, -9.40, 29.94)
CIE-LCHlch(33.11, 31.38, 107.42°)
OKLaboklab(42.01% -0.0281 0.0687)
OKLCHoklch(42.01% 0.074 112.2)
XYZxyz(6.2941, 7.5885, 2.2316)
Luminance0.0759 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4E511C #1F1C51
analogous
#513A1C #4E511C #34511C
triadic
#4E511C #1C4E51 #511C4E
tetradic
#4E511C #1C513A #1F1C51 #511C34
square
#4E511C #1C513A #1F1C51 #511C34
split-complementary
#4E511C #1C3451 #3A1C51
monochromatic
#161708 #22240C #4E511C #7A7E2C #A6AC3B

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##4E511C#FFFFFF#000000##FFFFFF
##4E511C1.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)
#574D16
Deuteranopia (green-blind)
#574F1F
Tritanopia (blue-blind)
#534C46
Achromatopsia (no color)
#4E4E4E

Design tokens & code

CSS
--color: #4e511c;
/* rgb */ color: rgb(78, 81, 28);
/* oklch */ color: oklch(42.0% 0.074 112.2);
Tailwind
colors: {
  custom: {
    50: '#81815b',
    500: '#4e511c',
    950: '#000000',
  },
}
SCSS
$custom: #4e511c;
$custom-light: #81815b;
$custom-dark: #000000;
JSON
{
  "hex": "#4e511c",
  "rgb": {
    "r": 78,
    "g": 81,
    "b": 28
  },
  "hsl": {
    "h": 63.396,
    "s": 48.624,
    "l": 21.373
  },
  "oklch": {
    "l": 0.42012,
    "c": 0.07422,
    "h": 112.2
  },
  "luminance": 0.07588
}

Semantic roles & 50–950 ramp

primary
#4E511C
secondary
#464287
accent
#50D857
background
#F8F7F5
surface
#EFEEE9
border
#CAC9C5
text
#0A0A04
muted
#7C7C79

Preview Lab

Preview with #4E511C

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

Preview Lab → · Contrast checker → · Palette generator →

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