#474517#474517

#474517 is a dark, moderate yellow. Relative luminance 0.057; OKLCH L 38.2% C 0.065 H 106.8°. Best body text is #FFFFFF at 9.85:1 contrast (WCAG AA passes).

Color values

HEX#474517
RGBrgb(71, 69, 23)
HSLhsl(58, 51%, 18%)
HSVhsv(58, 68%, 28%)
CMYKcmyk(0%, 2.8%, 67.6%, 72.2%)
CIE-LABlab(28.53, -6.09, 27.33)
CIE-LCHlch(28.53, 28.01, 102.57°)
OKLaboklab(38.18% -0.0189 0.0626)
OKLCHoklch(38.18% 0.065 106.8)
XYZxyz(4.8815, 5.6579, 1.6454)
Luminance0.0566 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#474517 #171947
analogous
#472D17 #474517 #314717
triadic
#474517 #174745 #451747
tetradic
#474517 #17472D #171947 #471731
square
#474517 #17472D #171947 #471731
split-complementary
#474517 #173147 #2D1747
monochromatic
#171607 #191808 #474517 #757226 #A39F35

Accessibility & contrast

On white

9.85
#474517 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.13
#474517 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #474517
9.85:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##474517#FFFFFF#000000##FFFFFF
##4745171.009.852.139.85
#FFFFFF9.851.0021.001.00
#0000002.1321.001.0021.00
##FFFFFF9.851.0021.001.00

Color blindness preview

Protanopia (red-blind)
#4B4212
Deuteranopia (green-blind)
#4C441A
Tritanopia (blue-blind)
#4C403B
Achromatopsia (no color)
#434343

Design tokens & code

CSS
--color: #474517;
/* rgb */ color: rgb(71, 69, 23);
/* oklch */ color: oklch(38.2% 0.065 106.8);
Tailwind
colors: {
  custom: {
    50: '#7c7856',
    500: '#474517',
    950: '#000000',
  },
}
SCSS
$custom: #474517;
$custom-light: #7c7856;
$custom-dark: #000000;
JSON
{
  "hex": "#474517",
  "rgb": {
    "r": 71,
    "g": 69,
    "b": 23
  },
  "hsl": {
    "h": 57.5,
    "s": 51.064,
    "l": 18.431
  },
  "oklch": {
    "l": 0.3818,
    "c": 0.06535,
    "h": 106.8
  },
  "luminance": 0.05658
}

Semantic roles & 50–950 ramp

primary
#474517
secondary
#3C3E7E
accent
#53DB4D
background
#F7F7F5
surface
#EEEDE9
border
#C9C8C5
text
#0A0803
muted
#7C7B78

Preview Lab

Preview with #474517

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

Preview Lab → · Contrast checker → · Palette generator →

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