#474012#474012

#474012 is a dark, moderate yellow. Relative luminance 0.051; OKLCH L 36.8% C 0.064 H 100.6°. Best body text is #FFFFFF at 10.45:1 contrast (WCAG AA passes).

Color values

HEX#474012
RGBrgb(71, 64, 18)
HSLhsl(52, 60%, 17%)
HSVhsv(52, 75%, 28%)
CMYKcmyk(0%, 9.9%, 74.6%, 72.2%)
CIE-LABlab(26.88, -3.38, 28.13)
CIE-LCHlch(26.88, 28.33, 96.86°)
OKLaboklab(36.85% -0.0118 0.0634)
OKLCHoklch(36.85% 0.064 100.6)
XYZxyz(4.5413, 5.0503, 1.3077)
Luminance0.0505 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#474012 #121947
analogous
#472512 #474012 #344712
triadic
#474012 #124740 #401247
tetradic
#474012 #124725 #121947 #471234
square
#474012 #124725 #121947 #471234
split-complementary
#474012 #123447 #251247
monochromatic
#181606 #181606 #474012 #786C1E #A9982B

Accessibility & contrast

On white

10.45
#474012 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.01
#474012 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #474012
10.45:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##474012#FFFFFF#000000##FFFFFF
##4740121.0010.452.0110.45
#FFFFFF10.451.0021.001.00
#0000002.0121.001.0021.00
##FFFFFF10.451.0021.001.00

Color blindness preview

Protanopia (red-blind)
#473E0C
Deuteranopia (green-blind)
#494115
Tritanopia (blue-blind)
#4D3B37
Achromatopsia (no color)
#404040

Design tokens & code

CSS
--color: #474012;
/* rgb */ color: rgb(71, 64, 18);
/* oklch */ color: oklch(36.8% 0.064 100.6);
Tailwind
colors: {
  custom: {
    50: '#7c7453',
    500: '#474012',
    950: '#000000',
  },
}
SCSS
$custom: #474012;
$custom-light: #7c7453;
$custom-dark: #000000;
JSON
{
  "hex": "#474012",
  "rgb": {
    "r": 71,
    "g": 64,
    "b": 18
  },
  "hsl": {
    "h": 52.075,
    "s": 59.551,
    "l": 17.451
  },
  "oklch": {
    "l": 0.36848,
    "c": 0.06444,
    "h": 100.6
  },
  "luminance": 0.0505
}

Semantic roles & 50–950 ramp

primary
#474012
secondary
#353F80
accent
#5AE345
background
#F7F7F4
surface
#EEEDE7
border
#C9C8C3
text
#0A0802
muted
#7C7B78

Preview Lab

Preview with #474012

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

Preview Lab → · Contrast checker → · Palette generator →

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