#474E16#474E16

#474E16 is a dark, moderate yellow. Relative luminance 0.068; OKLCH L 40.5% C 0.078 H 116.1°. Best body text is #FFFFFF at 8.86:1 contrast (WCAG AA passes).

Color values

HEX#474E16
RGBrgb(71, 78, 22)
HSLhsl(68, 56%, 20%)
HSVhsv(68, 72%, 31%)
CMYKcmyk(9%, 0%, 71.8%, 69.4%)
CIE-LABlab(31.45, -11.53, 30.94)
CIE-LCHlch(31.45, 33.02, 110.43°)
OKLaboklab(40.51% -0.0343 0.07)
OKLCHoklch(40.51% 0.078 116.1)
XYZxyz(5.4679, 6.8464, 1.7923)
Luminance0.0685 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#474E16 #1D164E
analogous
#4E3916 #474E16 #2B4E16
triadic
#474E16 #16474E #4E1647
tetradic
#474E16 #164E39 #1D164E #4E162B
square
#474E16 #164E39 #1D164E #4E162B
split-complementary
#474E16 #162B4E #39164E
monochromatic
#161807 #1C1E09 #474E16 #727E23 #9EAD31

Accessibility & contrast

On white

8.86
#474E16 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.37
#474E16 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #474E16
8.86:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##474E16#FFFFFF#000000##FFFFFF
##474E161.008.862.378.86
#FFFFFF8.861.0021.001.00
#0000002.3721.001.0021.00
##FFFFFF8.861.0021.001.00

Color blindness preview

Protanopia (red-blind)
#544A0E
Deuteranopia (green-blind)
#534A1A
Tritanopia (blue-blind)
#4C4943
Achromatopsia (no color)
#4A4A4A

Design tokens & code

CSS
--color: #474e16;
/* rgb */ color: rgb(71, 78, 22);
/* oklch */ color: oklch(40.5% 0.078 116.1);
Tailwind
colors: {
  custom: {
    50: '#7c7f57',
    500: '#474e16',
    950: '#000000',
  },
}
SCSS
$custom: #474e16;
$custom-light: #7c7f57;
$custom-dark: #000000;
JSON
{
  "hex": "#474e16",
  "rgb": {
    "r": 71,
    "g": 78,
    "b": 22
  },
  "hsl": {
    "h": 67.5,
    "s": 56,
    "l": 19.608
  },
  "oklch": {
    "l": 0.40513,
    "c": 0.07797,
    "h": 116.1
  },
  "luminance": 0.06846
}

Semantic roles & 50–950 ramp

primary
#474E16
secondary
#443A85
accent
#49DF5B
background
#F7F7F5
surface
#EEEEE9
border
#C9C9C5
text
#0A0A03
muted
#7C7C78

Preview Lab

Preview with #474E16

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

Preview Lab → · Contrast checker → · Palette generator →

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