#4E470B#4E470B

#4E470B is a dark, moderate yellow. Relative luminance 0.061; OKLCH L 39.3% C 0.076 H 102.3°. Best body text is #FFFFFF at 9.42:1 contrast (WCAG AA passes).

Color values

HEX#4E470B
RGBrgb(78, 71, 11)
HSLhsl(54, 75%, 17%)
HSVhsv(54, 86%, 31%)
CMYKcmyk(0%, 9%, 85.9%, 69.4%)
CIE-LABlab(29.79, -4.49, 34.24)
CIE-LCHlch(29.79, 34.53, 97.47°)
OKLaboklab(39.32% -0.0162 0.0745)
OKLCHoklch(39.32% 0.076 102.3)
XYZxyz(5.4558, 6.1506, 1.2163)
Luminance0.0615 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4E470B #0B124E
analogous
#4E250B #4E470B #344E0B
triadic
#4E470B #0B4E47 #470B4E
tetradic
#4E470B #0B4E25 #0B124E #4E0B34
square
#4E470B #0B4E25 #0B124E #4E0B34
split-complementary
#4E470B #0B344E #250B4E
monochromatic
#1B1804 #1B1804 #4E470B #847813 #B9A91A

Accessibility & contrast

On white

9.42
#4E470B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #4E470B
9.42:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4E470B#FFFFFF#000000##FFFFFF
##4E470B1.009.422.239.42
#FFFFFF9.421.0021.001.00
#0000002.2321.001.0021.00
##FFFFFF9.421.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #4e470b;
/* rgb */ color: rgb(78, 71, 11);
/* oklch */ color: oklch(39.3% 0.076 102.3);
Tailwind
colors: {
  custom: {
    50: '#827950',
    500: '#4e470b',
    950: '#000000',
  },
}
SCSS
$custom: #4e470b;
$custom-light: #827950;
$custom-dark: #000000;
JSON
{
  "hex": "#4e470b",
  "rgb": {
    "r": 78,
    "g": 71,
    "b": 11
  },
  "hsl": {
    "h": 53.731,
    "s": 75.281,
    "l": 17.451
  },
  "oklch": {
    "l": 0.39321,
    "c": 0.07624,
    "h": 102.3
  },
  "luminance": 0.0615
}

Semantic roles & 50–950 ramp

primary
#4E470B
secondary
#2B358A
accent
#4AF236
background
#F8F7F4
surface
#EFEDE7
border
#CAC8C3
text
#0B0902
muted
#7C7B78

Preview Lab

Preview with #4E470B

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

Preview Lab → · Contrast checker → · Palette generator →

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