#474F16#474F16

#474F16 is a dark, moderate yellow. Relative luminance 0.070; OKLCH L 40.8% C 0.079 H 116.9°. Best body text is #FFFFFF at 8.76:1 contrast (WCAG AA passes).

Color values

HEX#474F16
RGBrgb(71, 79, 22)
HSLhsl(68, 56%, 20%)
HSVhsv(68, 72%, 31%)
CMYKcmyk(10.1%, 0%, 72.2%, 69%)
CIE-LABlab(31.78, -12.11, 31.28)
CIE-LCHlch(31.78, 33.54, 111.15°)
OKLaboklab(40.78% -0.0359 0.0707)
OKLCHoklch(40.78% 0.079 116.9)
XYZxyz(5.5395, 6.9896, 1.8162)
Luminance0.0699 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#474F16 #1E164F
analogous
#4F3B16 #474F16 #2B4F16
triadic
#474F16 #16474F #4F1647
tetradic
#474F16 #164F3B #1E164F #4F162B
square
#474F16 #164F3B #1E164F #4F162B
split-complementary
#474F16 #162B4F #3B164F
monochromatic
#161807 #1C1F09 #474F16 #727F23 #9DAF31

Accessibility & contrast

On white

8.76
#474F16 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.40
#474F16 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #474F16
8.76:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##474F16#FFFFFF#000000##FFFFFF
##474F161.008.762.408.76
#FFFFFF8.761.0021.001.00
#0000002.4021.001.0021.00
##FFFFFF8.761.0021.001.00

Color blindness preview

Protanopia (red-blind)
#554B0E
Deuteranopia (green-blind)
#544B1A
Tritanopia (blue-blind)
#4C4A43
Achromatopsia (no color)
#4B4B4B

Design tokens & code

CSS
--color: #474f16;
/* rgb */ color: rgb(71, 79, 22);
/* oklch */ color: oklch(40.8% 0.079 116.9);
Tailwind
colors: {
  custom: {
    50: '#7c8057',
    500: '#474f16',
    950: '#000000',
  },
}
SCSS
$custom: #474f16;
$custom-light: #7c8057;
$custom-dark: #000000;
JSON
{
  "hex": "#474f16",
  "rgb": {
    "r": 71,
    "g": 79,
    "b": 22
  },
  "hsl": {
    "h": 68.421,
    "s": 56.436,
    "l": 19.804
  },
  "oklch": {
    "l": 0.40776,
    "c": 0.07933,
    "h": 116.9
  },
  "luminance": 0.06989
}

Semantic roles & 50–950 ramp

primary
#474F16
secondary
#453A86
accent
#48E05D
background
#F7F7F5
surface
#EEEEE9
border
#C9C9C5
text
#0A0A03
muted
#7C7C78

Preview Lab

Preview with #474F16

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

Preview Lab → · Contrast checker → · Palette generator →

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