#474C16#474C16

#474C16 is a dark, moderate yellow. Relative luminance 0.066; OKLCH L 40.0% C 0.075 H 114.3°. Best body text is #FFFFFF at 9.08:1 contrast (WCAG AA passes).

Color values

HEX#474C16
RGBrgb(71, 76, 22)
HSLhsl(66, 55%, 19%)
HSVhsv(66, 71%, 30%)
CMYKcmyk(6.6%, 0%, 71.1%, 70.2%)
CIE-LABlab(30.80, -10.36, 30.26)
CIE-LCHlch(30.80, 31.98, 108.91°)
OKLaboklab(39.99% -0.031 0.0686)
OKLCHoklch(39.99% 0.075 114.3)
XYZxyz(5.3279, 6.5665, 1.7457)
Luminance0.0657 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#474C16 #1B164C
analogous
#4C3616 #474C16 #2C4C16
triadic
#474C16 #16474C #4C1647
tetradic
#474C16 #164C36 #1B164C #4C162C
square
#474C16 #164C36 #1B164C #4C162C
split-complementary
#474C16 #162C4C #36164C
monochromatic
#161807 #1B1D08 #474C16 #737B24 #A0AB31

Accessibility & contrast

On white

9.08
#474C16 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.31
#474C16 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #474C16
9.08:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##474C16#FFFFFF#000000##FFFFFF
##474C161.009.082.319.08
#FFFFFF9.081.0021.001.00
#0000002.3121.001.0021.00
##FFFFFF9.081.0021.001.00

Color blindness preview

Protanopia (red-blind)
#52480F
Deuteranopia (green-blind)
#52491A
Tritanopia (blue-blind)
#4C4741
Achromatopsia (no color)
#484848

Design tokens & code

CSS
--color: #474c16;
/* rgb */ color: rgb(71, 76, 22);
/* oklch */ color: oklch(40.0% 0.075 114.3);
Tailwind
colors: {
  custom: {
    50: '#7c7d56',
    500: '#474c16',
    950: '#000000',
  },
}
SCSS
$custom: #474c16;
$custom-light: #7c7d56;
$custom-dark: #000000;
JSON
{
  "hex": "#474c16",
  "rgb": {
    "r": 71,
    "g": 76,
    "b": 22
  },
  "hsl": {
    "h": 65.556,
    "s": 55.102,
    "l": 19.216
  },
  "oklch": {
    "l": 0.39987,
    "c": 0.07528,
    "h": 114.3
  },
  "luminance": 0.06566
}

Semantic roles & 50–950 ramp

primary
#474C16
secondary
#413A84
accent
#49DE57
background
#F7F7F5
surface
#EEEEE9
border
#C9C9C5
text
#0A0903
muted
#7C7B78

Preview Lab

Preview with #474C16

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

Preview Lab → · Contrast checker → · Palette generator →

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