#474718#474718

#474718 is a dark, moderate yellow. Relative luminance 0.059; OKLCH L 38.7% C 0.067 H 109.2°. Best body text is #FFFFFF at 9.62:1 contrast (WCAG AA passes).

Color values

HEX#474718
RGBrgb(71, 71, 24)
HSLhsl(60, 49%, 19%)
HSVhsv(60, 66%, 28%)
CMYKcmyk(0%, 0%, 66.2%, 72.2%)
CIE-LABlab(29.19, -7.23, 27.53)
CIE-LCHlch(29.19, 28.46, 104.71°)
OKLaboklab(38.71% -0.0219 0.0632)
OKLCHoklch(38.71% 0.067 109.2)
XYZxyz(5.0168, 5.9122, 1.7409)
Luminance0.0591 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#474718 #181847
analogous
#472F18 #474718 #2F4718
triadic
#474718 #184747 #471847
tetradic
#474718 #18472F #181847 #47182F
square
#474718 #18472F #181847 #47182F
split-complementary
#474718 #182F47 #2F1847
monochromatic
#171708 #191909 #474718 #757527 #A2A237

Accessibility & contrast

On white

9.62
#474718 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.18
#474718 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #474718
9.62:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##474718#FFFFFF#000000##FFFFFF
##4747181.009.622.189.62
#FFFFFF9.621.0021.001.00
#0000002.1821.001.0021.00
##FFFFFF9.621.0021.001.00

Color blindness preview

Protanopia (red-blind)
#4D4413
Deuteranopia (green-blind)
#4E461B
Tritanopia (blue-blind)
#4C423D
Achromatopsia (no color)
#454545

Design tokens & code

CSS
--color: #474718;
/* rgb */ color: rgb(71, 71, 24);
/* oklch */ color: oklch(38.7% 0.067 109.2);
Tailwind
colors: {
  custom: {
    50: '#7c7a57',
    500: '#474718',
    950: '#000000',
  },
}
SCSS
$custom: #474718;
$custom-light: #7c7a57;
$custom-dark: #000000;
JSON
{
  "hex": "#474718",
  "rgb": {
    "r": 71,
    "g": 71,
    "b": 24
  },
  "hsl": {
    "h": 60,
    "s": 49.474,
    "l": 18.627
  },
  "oklch": {
    "l": 0.38707,
    "c": 0.06685,
    "h": 109.2
  },
  "luminance": 0.05912
}

Semantic roles & 50–950 ramp

primary
#474718
secondary
#3D3D7E
accent
#4FD94F
background
#F7F7F5
surface
#EEEDE9
border
#C9C8C5
text
#0A0903
muted
#7C7B78

Preview Lab

Preview with #474718

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

Preview Lab → · Contrast checker → · Palette generator →

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