#474C17#474C17

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

Color values

HEX#474C17
RGBrgb(71, 76, 23)
HSLhsl(66, 54%, 19%)
HSVhsv(66, 70%, 30%)
CMYKcmyk(6.6%, 0%, 69.7%, 70.2%)
CIE-LABlab(30.81, -10.28, 29.78)
CIE-LCHlch(30.81, 31.50, 109.05°)
OKLaboklab(40% -0.0307 0.0678)
OKLCHoklch(40% 0.074 114.4)
XYZxyz(5.3378, 6.5704, 1.7975)
Luminance0.0657 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#474C17 #1C174C
analogous
#4C3717 #474C17 #2D4C17
triadic
#474C17 #17474C #4C1747
tetradic
#474C17 #174C37 #1C174C #4C172D
square
#474C17 #174C37 #1C174C #4C172D
split-complementary
#474C17 #172D4C #37174C
monochromatic
#161707 #1B1D09 #474C17 #737B25 #9FAA33

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##474C17#FFFFFF#000000##FFFFFF
##474C171.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)
#524810
Deuteranopia (green-blind)
#52491B
Tritanopia (blue-blind)
#4C4741
Achromatopsia (no color)
#484848

Design tokens & code

CSS
--color: #474c17;
/* rgb */ color: rgb(71, 76, 23);
/* oklch */ color: oklch(40.0% 0.074 114.4);
Tailwind
colors: {
  custom: {
    50: '#7c7d57',
    500: '#474c17',
    950: '#000000',
  },
}
SCSS
$custom: #474c17;
$custom-light: #7c7d57;
$custom-dark: #000000;
JSON
{
  "hex": "#474c17",
  "rgb": {
    "r": 71,
    "g": 76,
    "b": 23
  },
  "hsl": {
    "h": 65.66,
    "s": 53.535,
    "l": 19.412
  },
  "oklch": {
    "l": 0.39998,
    "c": 0.07437,
    "h": 114.4
  },
  "luminance": 0.0657
}

Semantic roles & 50–950 ramp

primary
#474C17
secondary
#423C83
accent
#4BDD59
background
#F7F7F5
surface
#EEEEE9
border
#C9C9C5
text
#0A0903
muted
#7C7B78

Preview Lab

Preview with #474C17

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

Preview Lab → · Contrast checker → · Palette generator →

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