#474A11#474A11

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

Color values

HEX#474A11
RGBrgb(71, 74, 17)
HSLhsl(63, 63%, 18%)
HSVhsv(63, 77%, 29%)
CMYKcmyk(4.1%, 0%, 77%, 71%)
CIE-LABlab(30.10, -9.53, 31.86)
CIE-LCHlch(30.10, 33.25, 106.66°)
OKLaboklab(39.42% -0.0293 0.071)
OKLCHoklch(39.42% 0.077 112.4)
XYZxyz(5.1486, 6.2777, 1.4707)
Luminance0.0628 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#474A11 #14114A
analogous
#4A3011 #474A11 #2A4A11
triadic
#474A11 #11474A #4A1147
tetradic
#474A11 #114A30 #14114A #4A112A
square
#474A11 #114A30 #14114A #4A112A
split-complementary
#474A11 #112A4A #30114A
monochromatic
#181906 #181906 #474A11 #777C1C #A6AE28

Accessibility & contrast

On white

9.31
#474A11 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #474A11
9.31:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##474A11#FFFFFF#000000##FFFFFF
##474A111.009.312.269.31
#FFFFFF9.311.0021.001.00
#0000002.2621.001.0021.00
##FFFFFF9.311.0021.001.00

Color blindness preview

Protanopia (red-blind)
#504608
Deuteranopia (green-blind)
#504815
Tritanopia (blue-blind)
#4C453F
Achromatopsia (no color)
#474747

Design tokens & code

CSS
--color: #474a11;
/* rgb */ color: rgb(71, 74, 17);
/* oklch */ color: oklch(39.4% 0.077 112.4);
Tailwind
colors: {
  custom: {
    50: '#7c7c53',
    500: '#474a11',
    950: '#000000',
  },
}
SCSS
$custom: #474a11;
$custom-light: #7c7c53;
$custom-dark: #000000;
JSON
{
  "hex": "#474a11",
  "rgb": {
    "r": 71,
    "g": 74,
    "b": 17
  },
  "hsl": {
    "h": 63.158,
    "s": 62.637,
    "l": 17.843
  },
  "oklch": {
    "l": 0.39416,
    "c": 0.07683,
    "h": 112.4
  },
  "luminance": 0.06278
}

Semantic roles & 50–950 ramp

primary
#474A11
secondary
#383383
accent
#42E64B
background
#F7F7F4
surface
#EEEEE7
border
#C9C9C3
text
#0A0903
muted
#7C7B78

Preview Lab

Preview with #474A11

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

Preview Lab → · Contrast checker → · Palette generator →

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