#474B16#474B16

#474B16 is a dark, moderate yellow. Relative luminance 0.064; OKLCH L 39.7% C 0.074 H 113.4°. Best body text is #FFFFFF at 9.19:1 contrast (WCAG AA passes).

Color values

HEX#474B16
RGBrgb(71, 75, 22)
HSLhsl(65, 55%, 19%)
HSVhsv(65, 71%, 29%)
CMYKcmyk(5.3%, 0%, 70.7%, 70.6%)
CIE-LABlab(30.47, -9.77, 29.91)
CIE-LCHlch(30.47, 31.47, 108.10°)
OKLaboklab(39.73% -0.0294 0.0679)
OKLCHoklch(39.73% 0.074 113.4)
XYZxyz(5.2596, 6.4298, 1.7229)
Luminance0.0643 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#474B16 #1A164B
analogous
#4B3516 #474B16 #2D4B16
triadic
#474B16 #16474B #4B1647
tetradic
#474B16 #164B35 #1A164B #4B162D
square
#474B16 #164B35 #1A164B #4B162D
split-complementary
#474B16 #162D4B #35164B
monochromatic
#161807 #1A1C08 #474B16 #747A24 #A1AA32

Accessibility & contrast

On white

9.19
#474B16 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.29
#474B16 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #474B16
9.19:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##474B16#FFFFFF#000000##FFFFFF
##474B161.009.192.299.19
#FFFFFF9.191.0021.001.00
#0000002.2921.001.0021.00
##FFFFFF9.191.0021.001.00

Color blindness preview

Protanopia (red-blind)
#51470F
Deuteranopia (green-blind)
#51481A
Tritanopia (blue-blind)
#4C4640
Achromatopsia (no color)
#484848

Design tokens & code

CSS
--color: #474b16;
/* rgb */ color: rgb(71, 75, 22);
/* oklch */ color: oklch(39.7% 0.074 113.4);
Tailwind
colors: {
  custom: {
    50: '#7c7d56',
    500: '#474b16',
    950: '#000000',
  },
}
SCSS
$custom: #474b16;
$custom-light: #7c7d56;
$custom-dark: #000000;
JSON
{
  "hex": "#474b16",
  "rgb": {
    "r": 71,
    "g": 75,
    "b": 22
  },
  "hsl": {
    "h": 64.528,
    "s": 54.639,
    "l": 19.02
  },
  "oklch": {
    "l": 0.39725,
    "c": 0.07394,
    "h": 113.4
  },
  "luminance": 0.0643
}

Semantic roles & 50–950 ramp

primary
#474B16
secondary
#403A83
accent
#4ADE55
background
#F7F7F5
surface
#EEEEE9
border
#C9C9C5
text
#0A0903
muted
#7C7B78

Preview Lab

Preview with #474B16

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

Preview Lab → · Contrast checker → · Palette generator →

#474B16 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva