#474118#474118

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

Color values

HEX#474118
RGBrgb(71, 65, 24)
HSLhsl(52, 49%, 19%)
HSVhsv(52, 66%, 28%)
CMYKcmyk(0%, 8.5%, 66.2%, 72.2%)
CIE-LABlab(27.26, -3.54, 25.40)
CIE-LCHlch(27.26, 25.64, 97.94°)
OKLaboklab(37.17% -0.0114 0.0586)
OKLCHoklch(37.17% 0.06 101)
XYZxyz(4.6539, 5.1863, 1.6199)
Luminance0.0519 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#474118 #181E47
analogous
#472918 #474118 #354718
triadic
#474118 #184741 #411847
tetradic
#474118 #184729 #181E47 #471835
square
#474118 #184729 #181E47 #471835
split-complementary
#474118 #183547 #291847
monochromatic
#171508 #191709 #474118 #756B27 #A29537

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##474118#FFFFFF#000000##FFFFFF
##4741181.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)
#473F14
Deuteranopia (green-blind)
#49411A
Tritanopia (blue-blind)
#4D3C38
Achromatopsia (no color)
#404040

Design tokens & code

CSS
--color: #474118;
/* rgb */ color: rgb(71, 65, 24);
/* oklch */ color: oklch(37.2% 0.060 101.0);
Tailwind
colors: {
  custom: {
    50: '#7c7557',
    500: '#474118',
    950: '#000000',
  },
}
SCSS
$custom: #474118;
$custom-light: #7c7557;
$custom-dark: #000000;
JSON
{
  "hex": "#474118",
  "rgb": {
    "r": 71,
    "g": 65,
    "b": 24
  },
  "hsl": {
    "h": 52.34,
    "s": 49.474,
    "l": 18.627
  },
  "oklch": {
    "l": 0.37171,
    "c": 0.05972,
    "h": 101
  },
  "luminance": 0.05186
}

Semantic roles & 50–950 ramp

primary
#474118
secondary
#3D457E
accent
#60D94F
background
#F7F7F5
surface
#EEEDE9
border
#C9C8C5
text
#0A0803
muted
#7C7B78

Preview Lab

Preview with #474118

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

Preview Lab → · Contrast checker → · Palette generator →

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