#474A16#474A16

#474A16 is a dark, moderate yellow. Relative luminance 0.063; OKLCH L 39.5% C 0.073 H 112.4°. Best body text is #FFFFFF at 9.30:1 contrast (WCAG AA passes).

Color values

HEX#474A16
RGBrgb(71, 74, 22)
HSLhsl(63, 54%, 19%)
HSVhsv(63, 70%, 29%)
CMYKcmyk(4.1%, 0%, 70.3%, 71%)
CIE-LABlab(30.15, -9.18, 29.57)
CIE-LCHlch(30.15, 30.96, 107.25°)
OKLaboklab(39.46% -0.0277 0.0671)
OKLCHoklch(39.46% 0.073 112.4)
XYZxyz(5.1923, 6.2952, 1.7005)
Luminance0.0630 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#474A16 #19164A
analogous
#4A3316 #474A16 #2D4A16
triadic
#474A16 #16474A #4A1647
tetradic
#474A16 #164A33 #19164A #4A162D
square
#474A16 #164A33 #19164A #4A162D
split-complementary
#474A16 #162D4A #33164A
monochromatic
#171807 #1A1B08 #474A16 #747924 #A2A832

Accessibility & contrast

On white

9.30
#474A16 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.26
#474A16 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #474A16
9.30:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##474A16#FFFFFF#000000##FFFFFF
##474A161.009.302.269.30
#FFFFFF9.301.0021.001.00
#0000002.2621.001.0021.00
##FFFFFF9.301.0021.001.00

Color blindness preview

Protanopia (red-blind)
#50460F
Deuteranopia (green-blind)
#504819
Tritanopia (blue-blind)
#4C453F
Achromatopsia (no color)
#474747

Design tokens & code

CSS
--color: #474a16;
/* rgb */ color: rgb(71, 74, 22);
/* oklch */ color: oklch(39.5% 0.073 112.4);
Tailwind
colors: {
  custom: {
    50: '#7c7c56',
    500: '#474a16',
    950: '#000000',
  },
}
SCSS
$custom: #474a16;
$custom-light: #7c7c56;
$custom-dark: #000000;
JSON
{
  "hex": "#474a16",
  "rgb": {
    "r": 71,
    "g": 74,
    "b": 22
  },
  "hsl": {
    "h": 63.462,
    "s": 54.167,
    "l": 18.824
  },
  "oklch": {
    "l": 0.39464,
    "c": 0.07263,
    "h": 112.4
  },
  "luminance": 0.06295
}

Semantic roles & 50–950 ramp

primary
#474A16
secondary
#3E3A82
accent
#4ADE53
background
#F7F7F5
surface
#EEEEE9
border
#C9C9C5
text
#0A0903
muted
#7C7B78

Preview Lab

Preview with #474A16

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

Preview Lab → · Contrast checker → · Palette generator →

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