#4E400D#4E400D

#4E400D is a dark, moderate yellow. Relative luminance 0.053; OKLCH L 37.6% C 0.069 H 92.9°. Best body text is #FFFFFF at 10.18:1 contrast (WCAG AA passes).

Color values

HEX#4E400D
RGBrgb(78, 64, 13)
HSLhsl(47, 71%, 18%)
HSVhsv(47, 83%, 31%)
CMYKcmyk(0%, 17.9%, 83.3%, 69.4%)
CIE-LABlab(27.62, -0.05, 31.44)
CIE-LCHlch(27.62, 31.44, 90.10°)
OKLaboklab(37.6% -0.0035 0.069)
OKLCHoklch(37.6% 0.069 92.9)
XYZxyz(5.0482, 5.3159, 1.1409)
Luminance0.0532 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4E400D #0D1B4E
analogous
#4E1F0D #4E400D #3B4E0D
triadic
#4E400D #0D4E40 #400D4E
tetradic
#4E400D #0D4E1F #0D1B4E #4E0D3B
square
#4E400D #0D4E1F #0D1B4E #4E0D3B
split-complementary
#4E400D #0D3B4E #1F0D4E
monochromatic
#1A1604 #1A1604 #4E400D #826B16 #B7961E

Accessibility & contrast

On white

10.18
#4E400D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.06
#4E400D on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4E400D
10.18:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4E400D#FFFFFF#000000##FFFFFF
##4E400D1.0010.182.0610.18
#FFFFFF10.181.0021.001.00
#0000002.0621.001.0021.00
##FFFFFF10.181.0021.001.00

Color blindness preview

Protanopia (red-blind)
#483F05
Deuteranopia (green-blind)
#4B4310
Tritanopia (blue-blind)
#553A36
Achromatopsia (no color)
#414141

Design tokens & code

CSS
--color: #4e400d;
/* rgb */ color: rgb(78, 64, 13);
/* oklch */ color: oklch(37.6% 0.069 92.9);
Tailwind
colors: {
  custom: {
    50: '#827450',
    500: '#4e400d',
    950: '#000000',
  },
}
SCSS
$custom: #4e400d;
$custom-light: #827450;
$custom-dark: #000000;
JSON
{
  "hex": "#4e400d",
  "rgb": {
    "r": 78,
    "g": 64,
    "b": 13
  },
  "hsl": {
    "h": 47.077,
    "s": 71.429,
    "l": 17.843
  },
  "oklch": {
    "l": 0.37603,
    "c": 0.06906,
    "h": 92.9
  },
  "luminance": 0.05316
}

Semantic roles & 50–950 ramp

primary
#4E400D
secondary
#2E4189
accent
#61EE3A
background
#F8F7F4
surface
#EFEDE7
border
#CAC8C3
text
#0B0802
muted
#7C7B78

Preview Lab

Preview with #4E400D

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

Preview Lab → · Contrast checker → · Palette generator →

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