#474017#474017

#474017 is a dark, muted yellow. Relative luminance 0.051; OKLCH L 36.9% C 0.060 H 99.7°. Best body text is #FFFFFF at 10.43:1 contrast (WCAG AA passes).

Color values

HEX#474017
RGBrgb(71, 64, 23)
HSLhsl(51, 51%, 18%)
HSVhsv(51, 68%, 28%)
CMYKcmyk(0%, 9.9%, 67.6%, 72.2%)
CIE-LABlab(26.93, -3.00, 25.57)
CIE-LCHlch(26.93, 25.75, 96.69°)
OKLaboklab(36.91% -0.01 0.0588)
OKLCHoklch(36.91% 0.06 99.7)
XYZxyz(4.5868, 5.0684, 1.5471)
Luminance0.0507 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#474017 #171E47
analogous
#472817 #474017 #364717
triadic
#474017 #174740 #401747
tetradic
#474017 #174728 #171E47 #471736
square
#474017 #174728 #171E47 #471736
split-complementary
#474017 #173647 #281747
monochromatic
#171507 #191608 #474017 #756A26 #A39335

Accessibility & contrast

On white

10.43
#474017 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #474017
10.43:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##474017#FFFFFF#000000##FFFFFF
##4740171.0010.432.0110.43
#FFFFFF10.431.0021.001.00
#0000002.0121.001.0021.00
##FFFFFF10.431.0021.001.00

Color blindness preview

Protanopia (red-blind)
#463E13
Deuteranopia (green-blind)
#484119
Tritanopia (blue-blind)
#4D3B37
Achromatopsia (no color)
#404040

Design tokens & code

CSS
--color: #474017;
/* rgb */ color: rgb(71, 64, 23);
/* oklch */ color: oklch(36.9% 0.060 99.7);
Tailwind
colors: {
  custom: {
    50: '#7c7456',
    500: '#474017',
    950: '#000000',
  },
}
SCSS
$custom: #474017;
$custom-light: #7c7456;
$custom-dark: #000000;
JSON
{
  "hex": "#474017",
  "rgb": {
    "r": 71,
    "g": 64,
    "b": 23
  },
  "hsl": {
    "h": 51.25,
    "s": 51.064,
    "l": 18.431
  },
  "oklch": {
    "l": 0.36905,
    "c": 0.05968,
    "h": 99.7
  },
  "luminance": 0.05068
}

Semantic roles & 50–950 ramp

primary
#474017
secondary
#3C457E
accent
#62DB4D
background
#F7F7F5
surface
#EEEDE9
border
#C9C8C5
text
#0A0803
muted
#7C7B78

Preview Lab

Preview with #474017

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

Preview Lab → · Contrast checker → · Palette generator →

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