#4E540F#4E540F

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

Color values

HEX#4E540F
RGBrgb(78, 84, 15)
HSLhsl(65, 70%, 19%)
HSVhsv(65, 82%, 33%)
CMYKcmyk(7.1%, 0%, 82.1%, 67.1%)
CIE-LABlab(33.97, -12.00, 36.59)
CIE-LCHlch(33.97, 38.50, 108.16°)
OKLaboklab(42.67% -0.0368 0.0804)
OKLCHoklch(42.67% 0.088 114.6)
XYZxyz(6.3986, 7.9950, 1.6580)
Luminance0.0799 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4E540F #150F54
analogous
#54380F #4E540F #2C540F
triadic
#4E540F #0F4E54 #540F4E
tetradic
#4E540F #0F5438 #150F54 #540F2C
square
#4E540F #0F5438 #150F54 #540F2C
split-complementary
#4E540F #0F2C54 #380F54
monochromatic
#181A05 #1E2006 #4E540F #7E8818 #AEBC22

Accessibility & contrast

On white

8.08
#4E540F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #4E540F
8.08:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4E540F#FFFFFF#000000##FFFFFF
##4E540F1.008.082.608.08
#FFFFFF8.081.0021.001.00
#0000002.6021.001.0021.00
##FFFFFF8.081.0021.001.00

Color blindness preview

Protanopia (red-blind)
#5B4F02
Deuteranopia (green-blind)
#5A5015
Tritanopia (blue-blind)
#544F47
Achromatopsia (no color)
#505050

Design tokens & code

CSS
--color: #4e540f;
/* rgb */ color: rgb(78, 84, 15);
/* oklch */ color: oklch(42.7% 0.088 114.6);
Tailwind
colors: {
  custom: {
    50: '#828454',
    500: '#4e540f',
    950: '#000000',
  },
}
SCSS
$custom: #4e540f;
$custom-light: #828454;
$custom-dark: #000000;
JSON
{
  "hex": "#4e540f",
  "rgb": {
    "r": 78,
    "g": 84,
    "b": 15
  },
  "hsl": {
    "h": 65.217,
    "s": 69.697,
    "l": 19.412
  },
  "oklch": {
    "l": 0.42669,
    "c": 0.08837,
    "h": 114.6
  },
  "luminance": 0.07995
}

Semantic roles & 50–950 ramp

primary
#4E540F
secondary
#39318E
accent
#3BED4B
background
#F8F8F5
surface
#EFEFE9
border
#CACAC5
text
#0B0A03
muted
#7C7C78

Preview Lab

Preview with #4E540F

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

Preview Lab → · Contrast checker → · Palette generator →

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