#4E470F#4E470F

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

Color values

HEX#4E470F
RGBrgb(78, 71, 15)
HSLhsl(53, 68%, 18%)
HSVhsv(53, 81%, 31%)
CMYKcmyk(0%, 9%, 80.8%, 69.4%)
CIE-LABlab(29.81, -4.30, 32.67)
CIE-LCHlch(29.81, 32.96, 97.50°)
OKLaboklab(39.35% -0.0153 0.0721)
OKLCHoklch(39.35% 0.074 102)
XYZxyz(5.4816, 6.1609, 1.3523)
Luminance0.0616 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4E470F #0F164E
analogous
#4E270F #4E470F #354E0F
triadic
#4E470F #0F4E47 #470F4E
tetradic
#4E470F #0F4E27 #0F164E #4E0F35
square
#4E470F #0F4E27 #0F164E #4E0F35
split-complementary
#4E470F #0F354E #270F4E
monochromatic
#1A1705 #1B1805 #4E470F #817619 #B5A423

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##4E470F#FFFFFF#000000##FFFFFF
##4E470F1.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)
#4E4506
Deuteranopia (green-blind)
#504813
Tritanopia (blue-blind)
#55413C
Achromatopsia (no color)
#464646

Design tokens & code

CSS
--color: #4e470f;
/* rgb */ color: rgb(78, 71, 15);
/* oklch */ color: oklch(39.3% 0.074 102.0);
Tailwind
colors: {
  custom: {
    50: '#827952',
    500: '#4e470f',
    950: '#000000',
  },
}
SCSS
$custom: #4e470f;
$custom-light: #827952;
$custom-dark: #000000;
JSON
{
  "hex": "#4e470f",
  "rgb": {
    "r": 78,
    "g": 71,
    "b": 15
  },
  "hsl": {
    "h": 53.333,
    "s": 67.742,
    "l": 18.235
  },
  "oklch": {
    "l": 0.39349,
    "c": 0.07366,
    "h": 102
  },
  "luminance": 0.06161
}

Semantic roles & 50–950 ramp

primary
#4E470F
secondary
#313A88
accent
#50EB3D
background
#F8F7F4
surface
#EFEDE7
border
#CAC8C3
text
#0B0902
muted
#7C7B78

Preview Lab

Preview with #4E470F

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

Preview Lab → · Contrast checker → · Palette generator →

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