#474704#474704

#474704 is a dark, moderate yellow. Relative luminance 0.059; OKLCH L 38.5% C 0.082 H 109.7°. Best body text is #FFFFFF at 9.67:1 contrast (WCAG AA passes).

Color values

HEX#474704
RGBrgb(71, 71, 4)
HSLhsl(60, 89%, 15%)
HSVhsv(60, 94%, 28%)
CMYKcmyk(0%, 0%, 94.4%, 72.2%)
CIE-LABlab(29.04, -8.39, 35.94)
CIE-LCHlch(29.04, 36.91, 103.15°)
OKLaboklab(38.54% -0.0275 0.0768)
OKLCHoklch(38.54% 0.082 109.7)
XYZxyz(4.8739, 5.8550, 0.9882)
Luminance0.0585 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#474704 #040447
analogous
#472604 #474704 #264704
triadic
#474704 #044747 #470447
tetradic
#474704 #044726 #040447 #470426
square
#474704 #044726 #040447 #470426
split-complementary
#474704 #042647 #260447
monochromatic
#1D1D02 #1D1D02 #474704 #818107 #BBBB0B

Accessibility & contrast

On white

9.67
#474704 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.17
#474704 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #474704
9.67:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##474704#FFFFFF#000000##FFFFFF
##4747041.009.672.179.67
#FFFFFF9.671.0021.001.00
#0000002.1721.001.0021.00
##FFFFFF9.671.0021.001.00

Color blindness preview

Protanopia (red-blind)
#4E4300
Deuteranopia (green-blind)
#4E450A
Tritanopia (blue-blind)
#4D423B
Achromatopsia (no color)
#444444

Design tokens & code

CSS
--color: #474704;
/* rgb */ color: rgb(71, 71, 4);
/* oklch */ color: oklch(38.5% 0.082 109.7);
Tailwind
colors: {
  custom: {
    50: '#7d7a4d',
    500: '#474704',
    950: '#000000',
  },
}
SCSS
$custom: #474704;
$custom-light: #7d7a4d;
$custom-dark: #000000;
JSON
{
  "hex": "#474704",
  "rgb": {
    "r": 71,
    "g": 71,
    "b": 4
  },
  "hsl": {
    "h": 60,
    "s": 89.333,
    "l": 14.706
  },
  "oklch": {
    "l": 0.38544,
    "c": 0.08151,
    "h": 109.7
  },
  "luminance": 0.05855
}

Semantic roles & 50–950 ramp

primary
#474704
secondary
#1F1F88
accent
#29FF29
background
#F7F7F4
surface
#EEEDE7
border
#C9C8C3
text
#0A0901
muted
#7C7B77

Preview Lab

Preview with #474704

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

Preview Lab → · Contrast checker → · Palette generator →

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