#4E470C#4E470C

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

Color values

HEX#4E470C
RGBrgb(78, 71, 12)
HSLhsl(54, 73%, 18%)
HSVhsv(54, 85%, 31%)
CMYKcmyk(0%, 9%, 84.6%, 69.4%)
CIE-LABlab(29.80, -4.45, 33.87)
CIE-LCHlch(29.80, 34.16, 97.48°)
OKLaboklab(39.33% -0.016 0.0739)
OKLCHoklch(39.33% 0.076 102.2)
XYZxyz(5.4617, 6.1530, 1.2477)
Luminance0.0615 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4E470C #0C134E
analogous
#4E260C #4E470C #344E0C
triadic
#4E470C #0C4E47 #470C4E
tetradic
#4E470C #0C4E26 #0C134E #4E0C34
square
#4E470C #0C4E26 #0C134E #4E0C34
split-complementary
#4E470C #0C344E #260C4E
monochromatic
#1B1804 #1B1804 #4E470C #837714 #B8A81C

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##4E470C#FFFFFF#000000##FFFFFF
##4E470C1.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)
#4E4402
Deuteranopia (green-blind)
#514710
Tritanopia (blue-blind)
#55413C
Achromatopsia (no color)
#464646

Design tokens & code

CSS
--color: #4e470c;
/* rgb */ color: rgb(78, 71, 12);
/* oklch */ color: oklch(39.3% 0.076 102.2);
Tailwind
colors: {
  custom: {
    50: '#827950',
    500: '#4e470c',
    950: '#000000',
  },
}
SCSS
$custom: #4e470c;
$custom-light: #827950;
$custom-dark: #000000;
JSON
{
  "hex": "#4e470c",
  "rgb": {
    "r": 78,
    "g": 71,
    "b": 12
  },
  "hsl": {
    "h": 53.636,
    "s": 73.333,
    "l": 17.647
  },
  "oklch": {
    "l": 0.39327,
    "c": 0.07564,
    "h": 102.2
  },
  "luminance": 0.06153
}

Semantic roles & 50–950 ramp

primary
#4E470C
secondary
#2C368A
accent
#4BF038
background
#F8F7F4
surface
#EFEDE7
border
#CAC8C3
text
#0B0902
muted
#7C7B78

Preview Lab

Preview with #4E470C

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

Preview Lab → · Contrast checker → · Palette generator →

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