#4E470D#4E470D

#4E470D is a dark, moderate yellow. Relative luminance 0.062; OKLCH L 39.3% C 0.075 H 102.1°. Best body text is #FFFFFF at 9.41:1 contrast (WCAG AA passes).

Color values

HEX#4E470D
RGBrgb(78, 71, 13)
HSLhsl(54, 71%, 18%)
HSVhsv(54, 83%, 31%)
CMYKcmyk(0%, 9%, 83.3%, 69.4%)
CIE-LABlab(29.80, -4.40, 33.48)
CIE-LCHlch(29.80, 33.77, 97.49°)
OKLaboklab(39.33% -0.0158 0.0733)
OKLCHoklch(39.33% 0.075 102.1)
XYZxyz(5.4680, 6.1555, 1.2808)
Luminance0.0616 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4E470D #0D144E
analogous
#4E260D #4E470D #354E0D
triadic
#4E470D #0D4E47 #470D4E
tetradic
#4E470D #0D4E26 #0D144E #4E0D35
square
#4E470D #0D4E26 #0D144E #4E0D35
split-complementary
#4E470D #0D354E #260D4E
monochromatic
#1A1804 #1A1804 #4E470D #827716 #B7A61E

Accessibility & contrast

On white

9.41
#4E470D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.23
#4E470D on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4E470D
9.41:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4E470D#FFFFFF#000000##FFFFFF
##4E470D1.009.412.239.41
#FFFFFF9.411.0021.001.00
#0000002.2321.001.0021.00
##FFFFFF9.411.0021.001.00

Color blindness preview

Protanopia (red-blind)
#4E4503
Deuteranopia (green-blind)
#514811
Tritanopia (blue-blind)
#55413C
Achromatopsia (no color)
#464646

Design tokens & code

CSS
--color: #4e470d;
/* rgb */ color: rgb(78, 71, 13);
/* oklch */ color: oklch(39.3% 0.075 102.1);
Tailwind
colors: {
  custom: {
    50: '#827951',
    500: '#4e470d',
    950: '#000000',
  },
}
SCSS
$custom: #4e470d;
$custom-light: #827951;
$custom-dark: #000000;
JSON
{
  "hex": "#4e470d",
  "rgb": {
    "r": 78,
    "g": 71,
    "b": 13
  },
  "hsl": {
    "h": 53.538,
    "s": 71.429,
    "l": 17.843
  },
  "oklch": {
    "l": 0.39334,
    "c": 0.07501,
    "h": 102.1
  },
  "luminance": 0.06155
}

Semantic roles & 50–950 ramp

primary
#4E470D
secondary
#2E3889
accent
#4DEE3A
background
#F8F7F4
surface
#EFEDE7
border
#CAC8C3
text
#0B0902
muted
#7C7B78

Preview Lab

Preview with #4E470D

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

Preview Lab → · Contrast checker → · Palette generator →

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