#474506#474506

#474506 is a dark, moderate yellow. Relative luminance 0.056; OKLCH L 38.0% C 0.078 H 107.6°. Best body text is #FFFFFF at 9.90:1 contrast (WCAG AA passes).

Color values

HEX#474506
RGBrgb(71, 69, 6)
HSLhsl(58, 84%, 15%)
HSVhsv(58, 92%, 28%)
CMYKcmyk(0%, 2.8%, 91.5%, 72.2%)
CIE-LABlab(28.40, -7.10, 34.62)
CIE-LCHlch(28.40, 35.34, 101.59°)
OKLaboklab(38.04% -0.0237 0.0744)
OKLCHoklch(38.04% 0.078 107.6)
XYZxyz(4.7597, 5.6092, 1.0042)
Luminance0.0561 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#474506 #060847
analogous
#472506 #474506 #284706
triadic
#474506 #064745 #450647
tetradic
#474506 #064725 #060847 #470628
square
#474506 #064725 #060847 #470628
split-complementary
#474506 #062847 #250647
monochromatic
#1C1B02 #1C1B02 #474506 #7F7C0B #B8B310

Accessibility & contrast

On white

9.90
#474506 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.12
#474506 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #474506
9.90:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##474506#FFFFFF#000000##FFFFFF
##4745061.009.902.129.90
#FFFFFF9.901.0021.001.00
#0000002.1221.001.0021.00
##FFFFFF9.901.0021.001.00

Color blindness preview

Protanopia (red-blind)
#4C4200
Deuteranopia (green-blind)
#4D440C
Tritanopia (blue-blind)
#4D403A
Achromatopsia (no color)
#434343

Design tokens & code

CSS
--color: #474506;
/* rgb */ color: rgb(71, 69, 6);
/* oklch */ color: oklch(38.0% 0.078 107.6);
Tailwind
colors: {
  custom: {
    50: '#7d784d',
    500: '#474506',
    950: '#000000',
  },
}
SCSS
$custom: #474506;
$custom-light: #7d784d;
$custom-dark: #000000;
JSON
{
  "hex": "#474506",
  "rgb": {
    "r": 71,
    "g": 69,
    "b": 6
  },
  "hsl": {
    "h": 58.154,
    "s": 84.416,
    "l": 15.098
  },
  "oklch": {
    "l": 0.38037,
    "c": 0.07811,
    "h": 107.6
  },
  "luminance": 0.05609
}

Semantic roles & 50–950 ramp

primary
#474506
secondary
#232686
accent
#33FB2D
background
#F7F7F4
surface
#EEEDE7
border
#C9C8C3
text
#0A0802
muted
#7C7B78

Preview Lab

Preview with #474506

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

Preview Lab → · Contrast checker → · Palette generator →

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