#474D16#474D16

#474D16 is a dark, moderate yellow. Relative luminance 0.067; OKLCH L 40.3% C 0.077 H 115.2°. Best body text is #FFFFFF at 8.97:1 contrast (WCAG AA passes).

Color values

HEX#474D16
RGBrgb(71, 77, 22)
HSLhsl(67, 56%, 19%)
HSVhsv(67, 71%, 30%)
CMYKcmyk(7.8%, 0%, 71.4%, 69.8%)
CIE-LABlab(31.13, -10.95, 30.60)
CIE-LCHlch(31.13, 32.50, 109.68°)
OKLaboklab(40.25% -0.0326 0.0693)
OKLCHoklch(40.25% 0.077 115.2)
XYZxyz(5.3974, 6.7054, 1.7688)
Luminance0.0670 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#474D16 #1C164D
analogous
#4D3816 #474D16 #2C4D16
triadic
#474D16 #16474D #4D1647
tetradic
#474D16 #164D38 #1C164D #4D162C
square
#474D16 #164D38 #1C164D #4D162C
split-complementary
#474D16 #162C4D #38164D
monochromatic
#161807 #1B1D08 #474D16 #737D24 #9FAC31

Accessibility & contrast

On white

8.97
#474D16 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.34
#474D16 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #474D16
8.97:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##474D16#FFFFFF#000000##FFFFFF
##474D161.008.972.348.97
#FFFFFF8.971.0021.001.00
#0000002.3421.001.0021.00
##FFFFFF8.971.0021.001.00

Color blindness preview

Protanopia (red-blind)
#53490F
Deuteranopia (green-blind)
#524A1A
Tritanopia (blue-blind)
#4C4842
Achromatopsia (no color)
#494949

Design tokens & code

CSS
--color: #474d16;
/* rgb */ color: rgb(71, 77, 22);
/* oklch */ color: oklch(40.3% 0.077 115.2);
Tailwind
colors: {
  custom: {
    50: '#7c7e57',
    500: '#474d16',
    950: '#000000',
  },
}
SCSS
$custom: #474d16;
$custom-light: #7c7e57;
$custom-dark: #000000;
JSON
{
  "hex": "#474d16",
  "rgb": {
    "r": 71,
    "g": 77,
    "b": 22
  },
  "hsl": {
    "h": 66.545,
    "s": 55.556,
    "l": 19.412
  },
  "oklch": {
    "l": 0.4025,
    "c": 0.07662,
    "h": 115.2
  },
  "luminance": 0.06705
}

Semantic roles & 50–950 ramp

primary
#474D16
secondary
#423A85
accent
#49DF59
background
#F7F7F5
surface
#EEEEE9
border
#C9C9C5
text
#0A0A03
muted
#7C7C78

Preview Lab

Preview with #474D16

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

Preview Lab → · Contrast checker → · Palette generator →

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