#474D17#474D17

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

Color values

HEX#474D17
RGBrgb(71, 77, 23)
HSLhsl(67, 54%, 20%)
HSVhsv(67, 70%, 30%)
CMYKcmyk(7.8%, 0%, 70.1%, 69.8%)
CIE-LABlab(31.14, -10.87, 30.13)
CIE-LCHlch(31.14, 32.03, 109.84°)
OKLaboklab(40.26% -0.0323 0.0685)
OKLCHoklch(40.26% 0.076 115.3)
XYZxyz(5.4072, 6.7093, 1.8206)
Luminance0.0671 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#474D17 #1D174D
analogous
#4D3817 #474D17 #2C4D17
triadic
#474D17 #17474D #4D1747
tetradic
#474D17 #174D38 #1D174D #4D172C
square
#474D17 #174D38 #1D174D #4D172C
split-complementary
#474D17 #172C4D #38174D
monochromatic
#161807 #1C1E09 #474D17 #727C25 #9EAB33

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##474D17#FFFFFF#000000##FFFFFF
##474D171.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)
#534910
Deuteranopia (green-blind)
#524A1B
Tritanopia (blue-blind)
#4C4842
Achromatopsia (no color)
#494949

Design tokens & code

CSS
--color: #474d17;
/* rgb */ color: rgb(71, 77, 23);
/* oklch */ color: oklch(40.3% 0.076 115.3);
Tailwind
colors: {
  custom: {
    50: '#7c7e57',
    500: '#474d17',
    950: '#000000',
  },
}
SCSS
$custom: #474d17;
$custom-light: #7c7e57;
$custom-dark: #000000;
JSON
{
  "hex": "#474d17",
  "rgb": {
    "r": 71,
    "g": 77,
    "b": 23
  },
  "hsl": {
    "h": 66.667,
    "s": 54,
    "l": 19.608
  },
  "oklch": {
    "l": 0.4026,
    "c": 0.07572,
    "h": 115.3
  },
  "luminance": 0.06709
}

Semantic roles & 50–950 ramp

primary
#474D17
secondary
#443C84
accent
#4ADD5B
background
#F7F7F5
surface
#EEEEE9
border
#C9C9C5
text
#0A0A03
muted
#7C7C78

Preview Lab

Preview with #474D17

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

Preview Lab → · Contrast checker → · Palette generator →

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