#4E540D#4E540D

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

Color values

HEX#4E540D
RGBrgb(78, 84, 13)
HSLhsl(65, 73%, 19%)
HSVhsv(65, 85%, 33%)
CMYKcmyk(7.1%, 0%, 84.5%, 67.1%)
CIE-LABlab(33.96, -12.09, 37.29)
CIE-LCHlch(33.96, 39.20, 107.97°)
OKLaboklab(42.66% -0.0372 0.0814)
OKLCHoklch(42.66% 0.09 114.6)
XYZxyz(6.3850, 7.9895, 1.5865)
Luminance0.0799 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4E540D #130D54
analogous
#54370D #4E540D #2B540D
triadic
#4E540D #0D4E54 #540D4E
tetradic
#4E540D #0D5437 #130D54 #540D2B
square
#4E540D #0D5437 #130D54 #540D2B
split-complementary
#4E540D #0D2B54 #370D54
monochromatic
#191A04 #1D1F05 #4E540D #7F8915 #B0BE1D

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##4E540D#FFFFFF#000000##FFFFFF
##4E540D1.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)
#5B4F00
Deuteranopia (green-blind)
#5A5014
Tritanopia (blue-blind)
#544E47
Achromatopsia (no color)
#505050

Design tokens & code

CSS
--color: #4e540d;
/* rgb */ color: rgb(78, 84, 13);
/* oklch */ color: oklch(42.7% 0.090 114.6);
Tailwind
colors: {
  custom: {
    50: '#828453',
    500: '#4e540d',
    950: '#000000',
  },
}
SCSS
$custom: #4e540d;
$custom-light: #828453;
$custom-dark: #000000;
JSON
{
  "hex": "#4e540d",
  "rgb": {
    "r": 78,
    "g": 84,
    "b": 13
  },
  "hsl": {
    "h": 65.07,
    "s": 73.196,
    "l": 19.02
  },
  "oklch": {
    "l": 0.42656,
    "c": 0.08955,
    "h": 114.6
  },
  "luminance": 0.07989
}

Semantic roles & 50–950 ramp

primary
#4E540D
secondary
#362E8F
accent
#38F047
background
#F8F8F4
surface
#EFEFE7
border
#CACAC3
text
#0B0A03
muted
#7C7C78

Preview Lab

Preview with #4E540D

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

Preview Lab → · Contrast checker → · Palette generator →

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