#474612#474612

#474612 is a dark, moderate yellow. Relative luminance 0.058; OKLCH L 38.4% C 0.071 H 108.3°. Best body text is #FFFFFF at 9.75:1 contrast (WCAG AA passes).

Color values

HEX#474612
RGBrgb(71, 70, 18)
HSLhsl(59, 60%, 17%)
HSVhsv(59, 75%, 28%)
CMYKcmyk(0%, 1.4%, 74.6%, 72.2%)
CIE-LABlab(28.81, -7.07, 30.11)
CIE-LCHlch(28.81, 30.93, 103.22°)
OKLaboklab(38.38% -0.0223 0.0675)
OKLCHoklch(38.38% 0.071 108.3)
XYZxyz(4.8980, 5.7637, 1.4266)
Luminance0.0576 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#474612 #121347
analogous
#472C12 #474612 #2D4712
triadic
#474612 #124746 #461247
tetradic
#474612 #12472C #121347 #47122D
square
#474612 #12472C #121347 #47122D
split-complementary
#474612 #122D47 #2C1247
monochromatic
#181806 #181806 #474612 #78761E #A9A62B

Accessibility & contrast

On white

9.75
#474612 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.15
#474612 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #474612
9.75:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##474612#FFFFFF#000000##FFFFFF
##4746121.009.752.159.75
#FFFFFF9.751.0021.001.00
#0000002.1521.001.0021.00
##FFFFFF9.751.0021.001.00

Color blindness preview

Protanopia (red-blind)
#4C430A
Deuteranopia (green-blind)
#4D4515
Tritanopia (blue-blind)
#4D413C
Achromatopsia (no color)
#444444

Design tokens & code

CSS
--color: #474612;
/* rgb */ color: rgb(71, 70, 18);
/* oklch */ color: oklch(38.4% 0.071 108.3);
Tailwind
colors: {
  custom: {
    50: '#7c7953',
    500: '#474612',
    950: '#000000',
  },
}
SCSS
$custom: #474612;
$custom-light: #7c7953;
$custom-dark: #000000;
JSON
{
  "hex": "#474612",
  "rgb": {
    "r": 71,
    "g": 70,
    "b": 18
  },
  "hsl": {
    "h": 58.868,
    "s": 59.551,
    "l": 17.451
  },
  "oklch": {
    "l": 0.38384,
    "c": 0.07111,
    "h": 108.3
  },
  "luminance": 0.05764
}

Semantic roles & 50–950 ramp

primary
#474612
secondary
#353680
accent
#48E345
background
#F7F7F4
surface
#EEEDE7
border
#C9C8C3
text
#0A0903
muted
#7C7B78

Preview Lab

Preview with #474612

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

Preview Lab → · Contrast checker → · Palette generator →

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