#474015#474015

#474015 is a dark, moderate yellow. Relative luminance 0.051; OKLCH L 36.9% C 0.062 H 100.1°. Best body text is #FFFFFF at 10.44:1 contrast (WCAG AA passes).

Color values

HEX#474015
RGBrgb(71, 64, 21)
HSLhsl(52, 54%, 18%)
HSVhsv(52, 70%, 28%)
CMYKcmyk(0%, 9.9%, 70.4%, 72.2%)
CIE-LABlab(26.91, -3.16, 26.62)
CIE-LCHlch(26.91, 26.81, 96.77°)
OKLaboklab(36.88% -0.0108 0.0607)
OKLCHoklch(36.88% 0.062 100.1)
XYZxyz(4.5675, 5.0607, 1.4455)
Luminance0.0506 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#474015 #151C47
analogous
#472715 #474015 #354715
triadic
#474015 #154740 #401547
tetradic
#474015 #154727 #151C47 #471535
square
#474015 #154727 #151C47 #471535
split-complementary
#474015 #153547 #271547
monochromatic
#181507 #181507 #474015 #766B23 #A59531

Accessibility & contrast

On white

10.44
#474015 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #474015
10.44:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##474015#FFFFFF#000000##FFFFFF
##4740151.0010.442.0110.44
#FFFFFF10.441.0021.001.00
#0000002.0121.001.0021.00
##FFFFFF10.441.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #474015;
/* rgb */ color: rgb(71, 64, 21);
/* oklch */ color: oklch(36.9% 0.062 100.1);
Tailwind
colors: {
  custom: {
    50: '#7c7454',
    500: '#474015',
    950: '#000000',
  },
}
SCSS
$custom: #474015;
$custom-light: #7c7454;
$custom-dark: #000000;
JSON
{
  "hex": "#474015",
  "rgb": {
    "r": 71,
    "g": 64,
    "b": 21
  },
  "hsl": {
    "h": 51.6,
    "s": 54.348,
    "l": 18.039
  },
  "oklch": {
    "l": 0.36881,
    "c": 0.06167,
    "h": 100.1
  },
  "luminance": 0.05061
}

Semantic roles & 50–950 ramp

primary
#474015
secondary
#39437F
accent
#5FDE4A
background
#F7F7F4
surface
#EEEDE8
border
#C9C8C4
text
#0A0803
muted
#7C7B78

Preview Lab

Preview with #474015

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

Preview Lab → · Contrast checker → · Palette generator →

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