#474810#474810

#474810 is a dark, moderate yellow. Relative luminance 0.060; OKLCH L 38.9% C 0.075 H 110.4°. Best body text is #FFFFFF at 9.54:1 contrast (WCAG AA passes).

Color values

HEX#474810
RGBrgb(71, 72, 16)
HSLhsl(61, 64%, 17%)
HSVhsv(61, 78%, 28%)
CMYKcmyk(1.4%, 0%, 77.8%, 71.8%)
CIE-LABlab(29.44, -8.41, 31.64)
CIE-LCHlch(29.44, 32.74, 104.88°)
OKLaboklab(38.89% -0.0262 0.0704)
OKLCHoklch(38.89% 0.075 110.4)
XYZxyz(5.0096, 6.0119, 1.3866)
Luminance0.0601 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#474810 #111048
analogous
#482D10 #474810 #2B4810
triadic
#474810 #104748 #481047
tetradic
#474810 #10482D #111048 #48102B
square
#474810 #10482D #111048 #48102B
split-complementary
#474810 #102B48 #2D1048
monochromatic
#191906 #191906 #474810 #787A1B #AAAC26

Accessibility & contrast

On white

9.54
#474810 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.20
#474810 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #474810
9.54:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##474810#FFFFFF#000000##FFFFFF
##4748101.009.542.209.54
#FFFFFF9.541.0021.001.00
#0000002.2021.001.0021.00
##FFFFFF9.541.0021.001.00

Color blindness preview

Protanopia (red-blind)
#4E4507
Deuteranopia (green-blind)
#4F4614
Tritanopia (blue-blind)
#4C433D
Achromatopsia (no color)
#454545

Design tokens & code

CSS
--color: #474810;
/* rgb */ color: rgb(71, 72, 16);
/* oklch */ color: oklch(38.9% 0.075 110.4);
Tailwind
colors: {
  custom: {
    50: '#7c7a52',
    500: '#474810',
    950: '#000000',
  },
}
SCSS
$custom: #474810;
$custom-light: #7c7a52;
$custom-dark: #000000;
JSON
{
  "hex": "#474810",
  "rgb": {
    "r": 71,
    "g": 72,
    "b": 16
  },
  "hsl": {
    "h": 61.071,
    "s": 63.636,
    "l": 17.255
  },
  "oklch": {
    "l": 0.38886,
    "c": 0.07511,
    "h": 110.4
  },
  "luminance": 0.06012
}

Semantic roles & 50–950 ramp

primary
#474810
secondary
#333282
accent
#41E744
background
#F7F7F4
surface
#EEEDE7
border
#C9C8C3
text
#0A0902
muted
#7C7B78

Preview Lab

Preview with #474810

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

Preview Lab → · Contrast checker → · Palette generator →

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