#4E540C#4E540C

#4E540C is a dark, moderate yellow. Relative luminance 0.080; OKLCH L 42.6% C 0.090 H 114.6°. Best body text is #FFFFFF at 8.09:1 contrast (WCAG AA passes).

Color values

HEX#4E540C
RGBrgb(78, 84, 12)
HSLhsl(65, 75%, 19%)
HSVhsv(65, 86%, 33%)
CMYKcmyk(7.1%, 0%, 85.7%, 67.1%)
CIE-LABlab(33.96, -12.14, 37.62)
CIE-LCHlch(33.96, 39.53, 107.88°)
OKLaboklab(42.65% -0.0374 0.0819)
OKLCHoklch(42.65% 0.09 114.6)
XYZxyz(6.3788, 7.9870, 1.5534)
Luminance0.0799 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4E540C #120C54
analogous
#54360C #4E540C #2A540C
triadic
#4E540C #0C4E54 #540C4E
tetradic
#4E540C #0C5436 #120C54 #540C2A
square
#4E540C #0C5436 #120C54 #540C2A
split-complementary
#4E540C #0C2A54 #360C54
monochromatic
#191B04 #1C1E04 #4E540C #808A14 #B1BF1B

Accessibility & contrast

On white

8.09
#4E540C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.60
#4E540C on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4E540C
8.09:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4E540C#FFFFFF#000000##FFFFFF
##4E540C1.008.092.608.09
#FFFFFF8.091.0021.001.00
#0000002.6021.001.0021.00
##FFFFFF8.091.0021.001.00

Color blindness preview

Protanopia (red-blind)
#5B4F00
Deuteranopia (green-blind)
#5B5013
Tritanopia (blue-blind)
#544E47
Achromatopsia (no color)
#505050

Design tokens & code

CSS
--color: #4e540c;
/* rgb */ color: rgb(78, 84, 12);
/* oklch */ color: oklch(42.6% 0.090 114.6);
Tailwind
colors: {
  custom: {
    50: '#828453',
    500: '#4e540c',
    950: '#000000',
  },
}
SCSS
$custom: #4e540c;
$custom-light: #828453;
$custom-dark: #000000;
JSON
{
  "hex": "#4e540c",
  "rgb": {
    "r": 78,
    "g": 84,
    "b": 12
  },
  "hsl": {
    "h": 65,
    "s": 75,
    "l": 18.824
  },
  "oklch": {
    "l": 0.4265,
    "c": 0.09009,
    "h": 114.6
  },
  "luminance": 0.07987
}

Semantic roles & 50–950 ramp

primary
#4E540C
secondary
#352D8F
accent
#36F246
background
#F8F8F4
surface
#EFEFE7
border
#CACAC3
text
#0B0A03
muted
#7C7C78

Preview Lab

Preview with #4E540C

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

Preview Lab → · Contrast checker → · Palette generator →

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