#474712#474712

#474712 is a dark, moderate yellow. Relative luminance 0.059; OKLCH L 38.6% C 0.072 H 109.4°. Best body text is #FFFFFF at 9.64:1 contrast (WCAG AA passes).

Color values

HEX#474712
RGBrgb(71, 71, 18)
HSLhsl(60, 60%, 17%)
HSVhsv(60, 75%, 28%)
CMYKcmyk(0%, 0%, 74.6%, 72.2%)
CIE-LABlab(29.13, -7.68, 30.43)
CIE-LCHlch(29.13, 31.39, 104.16°)
OKLaboklab(38.64% -0.024 0.0682)
OKLCHoklch(38.64% 0.072 109.4)
XYZxyz(4.9611, 5.8899, 1.4477)
Luminance0.0589 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#474712 #121247
analogous
#472D12 #474712 #2D4712
triadic
#474712 #124747 #471247
tetradic
#474712 #12472D #121247 #47122D
square
#474712 #12472D #121247 #47122D
split-complementary
#474712 #122D47 #2D1247
monochromatic
#181806 #181806 #474712 #78781E #A9A92B

Accessibility & contrast

On white

9.64
#474712 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #474712
9.64:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##474712#FFFFFF#000000##FFFFFF
##4747121.009.642.189.64
#FFFFFF9.641.0021.001.00
#0000002.1821.001.0021.00
##FFFFFF9.641.0021.001.00

Color blindness preview

Protanopia (red-blind)
#4D440A
Deuteranopia (green-blind)
#4E4516
Tritanopia (blue-blind)
#4C423C
Achromatopsia (no color)
#454545

Design tokens & code

CSS
--color: #474712;
/* rgb */ color: rgb(71, 71, 18);
/* oklch */ color: oklch(38.6% 0.072 109.4);
Tailwind
colors: {
  custom: {
    50: '#7c7a53',
    500: '#474712',
    950: '#000000',
  },
}
SCSS
$custom: #474712;
$custom-light: #7c7a53;
$custom-dark: #000000;
JSON
{
  "hex": "#474712",
  "rgb": {
    "r": 71,
    "g": 71,
    "b": 18
  },
  "hsl": {
    "h": 60,
    "s": 59.551,
    "l": 17.451
  },
  "oklch": {
    "l": 0.38643,
    "c": 0.07232,
    "h": 109.4
  },
  "luminance": 0.0589
}

Semantic roles & 50–950 ramp

primary
#474712
secondary
#353580
accent
#45E345
background
#F7F7F4
surface
#EEEDE7
border
#C9C8C3
text
#0A0903
muted
#7C7B78

Preview Lab

Preview with #474712

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

Preview Lab → · Contrast checker → · Palette generator →

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