#474018#474018

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

Color values

HEX#474018
RGBrgb(71, 64, 24)
HSLhsl(51, 49%, 19%)
HSVhsv(51, 66%, 28%)
CMYKcmyk(0%, 9.9%, 66.2%, 72.2%)
CIE-LABlab(26.94, -2.92, 25.04)
CIE-LCHlch(26.94, 25.21, 96.64°)
OKLaboklab(36.92% -0.0096 0.0578)
OKLCHoklch(36.92% 0.059 99.5)
XYZxyz(4.5970, 5.0725, 1.6009)
Luminance0.0507 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#474018 #181F47
analogous
#472818 #474018 #364718
triadic
#474018 #184740 #401847
tetradic
#474018 #184728 #181F47 #471836
square
#474018 #184728 #181F47 #471836
split-complementary
#474018 #183647 #281847
monochromatic
#171508 #191709 #474018 #756927 #A29237

Accessibility & contrast

On white

10.42
#474018 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #474018
10.42:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##474018#FFFFFF#000000##FFFFFF
##4740181.0010.422.0110.42
#FFFFFF10.421.0021.001.00
#0000002.0121.001.0021.00
##FFFFFF10.421.0021.001.00

Color blindness preview

Protanopia (red-blind)
#463E14
Deuteranopia (green-blind)
#48411A
Tritanopia (blue-blind)
#4D3B37
Achromatopsia (no color)
#404040

Design tokens & code

CSS
--color: #474018;
/* rgb */ color: rgb(71, 64, 24);
/* oklch */ color: oklch(36.9% 0.059 99.5);
Tailwind
colors: {
  custom: {
    50: '#7c7456',
    500: '#474018',
    950: '#000000',
  },
}
SCSS
$custom: #474018;
$custom-light: #7c7456;
$custom-dark: #000000;
JSON
{
  "hex": "#474018",
  "rgb": {
    "r": 71,
    "g": 64,
    "b": 24
  },
  "hsl": {
    "h": 51.064,
    "s": 49.474,
    "l": 18.627
  },
  "oklch": {
    "l": 0.36918,
    "c": 0.05864,
    "h": 99.5
  },
  "luminance": 0.05072
}

Semantic roles & 50–950 ramp

primary
#474018
secondary
#3D477E
accent
#63D94F
background
#F7F7F5
surface
#EEEDE9
border
#C9C8C5
text
#0A0803
muted
#7C7B78

Preview Lab

Preview with #474018

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

Preview Lab → · Contrast checker → · Palette generator →

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