#474515#474515

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

Color values

HEX#474515
RGBrgb(71, 69, 21)
HSLhsl(58, 54%, 18%)
HSVhsv(58, 70%, 28%)
CMYKcmyk(0%, 2.8%, 70.4%, 72.2%)
CIE-LABlab(28.51, -6.25, 28.34)
CIE-LCHlch(28.51, 29.02, 102.44°)
OKLaboklab(38.16% -0.0196 0.0644)
OKLCHoklch(38.16% 0.067 106.9)
XYZxyz(4.8622, 5.6501, 1.5438)
Luminance0.0565 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#474515 #151747
analogous
#472C15 #474515 #304715
triadic
#474515 #154745 #451547
tetradic
#474515 #15472C #151747 #471530
square
#474515 #15472C #151747 #471530
split-complementary
#474515 #153047 #2C1547
monochromatic
#181707 #181707 #474515 #767323 #A5A131

Accessibility & contrast

On white

9.86
#474515 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #474515
9.86:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##474515#FFFFFF#000000##FFFFFF
##4745151.009.862.139.86
#FFFFFF9.861.0021.001.00
#0000002.1321.001.0021.00
##FFFFFF9.861.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #474515;
/* rgb */ color: rgb(71, 69, 21);
/* oklch */ color: oklch(38.2% 0.067 106.9);
Tailwind
colors: {
  custom: {
    50: '#7c7855',
    500: '#474515',
    950: '#000000',
  },
}
SCSS
$custom: #474515;
$custom-light: #7c7855;
$custom-dark: #000000;
JSON
{
  "hex": "#474515",
  "rgb": {
    "r": 71,
    "g": 69,
    "b": 21
  },
  "hsl": {
    "h": 57.6,
    "s": 54.348,
    "l": 18.039
  },
  "oklch": {
    "l": 0.38157,
    "c": 0.06727,
    "h": 106.9
  },
  "luminance": 0.0565
}

Semantic roles & 50–950 ramp

primary
#474515
secondary
#393C7F
accent
#50DE4A
background
#F7F7F5
surface
#EEEDE9
border
#C9C8C5
text
#0A0803
muted
#7C7B78

Preview Lab

Preview with #474515

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

Preview Lab → · Contrast checker → · Palette generator →

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