#474117#474117

#474117 is a dark, moderate yellow. Relative luminance 0.052; OKLCH L 37.2% C 0.061 H 101.2°. Best body text is #FFFFFF at 10.31:1 contrast (WCAG AA passes).

Color values

HEX#474117
RGBrgb(71, 65, 23)
HSLhsl(53, 51%, 18%)
HSVhsv(53, 68%, 28%)
CMYKcmyk(0%, 8.5%, 67.6%, 72.2%)
CIE-LABlab(27.25, -3.63, 25.93)
CIE-LCHlch(27.25, 26.18, 97.96°)
OKLaboklab(37.16% -0.0118 0.0596)
OKLCHoklch(37.16% 0.061 101.2)
XYZxyz(4.6437, 5.1822, 1.5661)
Luminance0.0518 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#474117 #171D47
analogous
#472917 #474117 #354717
triadic
#474117 #174741 #411747
tetradic
#474117 #174729 #171D47 #471735
square
#474117 #174729 #171D47 #471735
split-complementary
#474117 #173547 #291747
monochromatic
#171507 #191708 #474117 #756B26 #A39635

Accessibility & contrast

On white

10.31
#474117 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.04
#474117 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #474117
10.31:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##474117#FFFFFF#000000##FFFFFF
##4741171.0010.312.0410.31
#FFFFFF10.311.0021.001.00
#0000002.0421.001.0021.00
##FFFFFF10.311.0021.001.00

Color blindness preview

Protanopia (red-blind)
#473F12
Deuteranopia (green-blind)
#494119
Tritanopia (blue-blind)
#4D3C38
Achromatopsia (no color)
#404040

Design tokens & code

CSS
--color: #474117;
/* rgb */ color: rgb(71, 65, 23);
/* oklch */ color: oklch(37.2% 0.061 101.2);
Tailwind
colors: {
  custom: {
    50: '#7c7556',
    500: '#474117',
    950: '#000000',
  },
}
SCSS
$custom: #474117;
$custom-light: #7c7556;
$custom-dark: #000000;
JSON
{
  "hex": "#474117",
  "rgb": {
    "r": 71,
    "g": 65,
    "b": 23
  },
  "hsl": {
    "h": 52.5,
    "s": 51.064,
    "l": 18.431
  },
  "oklch": {
    "l": 0.37158,
    "c": 0.06074,
    "h": 101.2
  },
  "luminance": 0.05182
}

Semantic roles & 50–950 ramp

primary
#474117
secondary
#3C447E
accent
#5FDB4D
background
#F7F7F5
surface
#EEEDE9
border
#C9C8C5
text
#0A0803
muted
#7C7B78

Preview Lab

Preview with #474117

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

Preview Lab → · Contrast checker → · Palette generator →

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