#474412#474412

#474412 is a dark, moderate yellow. Relative luminance 0.055; OKLCH L 37.9% C 0.069 H 105.9°. Best body text is #FFFFFF at 9.98:1 contrast (WCAG AA passes).

Color values

HEX#474412
RGBrgb(71, 68, 18)
HSLhsl(57, 60%, 17%)
HSVhsv(57, 75%, 28%)
CMYKcmyk(0%, 4.2%, 74.6%, 72.2%)
CIE-LABlab(28.16, -5.86, 29.45)
CIE-LCHlch(28.16, 30.02, 101.25°)
OKLaboklab(37.87% -0.0188 0.0661)
OKLCHoklch(37.87% 0.069 105.9)
XYZxyz(4.7750, 5.5177, 1.3856)
Luminance0.0552 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#474412 #121547
analogous
#472A12 #474412 #2F4712
triadic
#474412 #124744 #441247
tetradic
#474412 #12472A #121547 #47122F
square
#474412 #12472A #121547 #47122F
split-complementary
#474412 #122F47 #2A1247
monochromatic
#181706 #181706 #474412 #78731E #A9A22B

Accessibility & contrast

On white

9.98
#474412 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.10
#474412 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #474412
9.98:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##474412#FFFFFF#000000##FFFFFF
##4744121.009.982.109.98
#FFFFFF9.981.0021.001.00
#0000002.1021.001.0021.00
##FFFFFF9.981.0021.001.00

Color blindness preview

Protanopia (red-blind)
#4A410B
Deuteranopia (green-blind)
#4C4315
Tritanopia (blue-blind)
#4D3F3A
Achromatopsia (no color)
#424242

Design tokens & code

CSS
--color: #474412;
/* rgb */ color: rgb(71, 68, 18);
/* oklch */ color: oklch(37.9% 0.069 105.9);
Tailwind
colors: {
  custom: {
    50: '#7c7753',
    500: '#474412',
    950: '#000000',
  },
}
SCSS
$custom: #474412;
$custom-light: #7c7753;
$custom-dark: #000000;
JSON
{
  "hex": "#474412",
  "rgb": {
    "r": 71,
    "g": 68,
    "b": 18
  },
  "hsl": {
    "h": 56.604,
    "s": 59.551,
    "l": 17.451
  },
  "oklch": {
    "l": 0.37869,
    "c": 0.06877,
    "h": 105.9
  },
  "luminance": 0.05518
}

Semantic roles & 50–950 ramp

primary
#474412
secondary
#353980
accent
#4EE345
background
#F7F7F4
surface
#EEEDE7
border
#C9C8C3
text
#0A0802
muted
#7C7B78

Preview Lab

Preview with #474412

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

Preview Lab → · Contrast checker → · Palette generator →

#474412 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva