#474C15#474C15

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

Color values

HEX#474C15
RGBrgb(71, 76, 21)
HSLhsl(65, 57%, 19%)
HSVhsv(65, 72%, 30%)
CMYKcmyk(6.6%, 0%, 72.4%, 70.2%)
CIE-LABlab(30.79, -10.44, 30.73)
CIE-LCHlch(30.79, 32.45, 108.76°)
OKLaboklab(39.98% -0.0314 0.0694)
OKLCHoklch(39.98% 0.076 114.3)
XYZxyz(5.3185, 6.5627, 1.6959)
Luminance0.0656 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#474C15 #1A154C
analogous
#4C3615 #474C15 #2C4C15
triadic
#474C15 #15474C #4C1547
tetradic
#474C15 #154C36 #1A154C #4C152C
square
#474C15 #154C36 #1A154C #4C152C
split-complementary
#474C15 #152C4C #36154C
monochromatic
#161807 #1A1C08 #474C15 #747C22 #A1AC2F

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##474C15#FFFFFF#000000##FFFFFF
##474C151.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)
#52480D
Deuteranopia (green-blind)
#524919
Tritanopia (blue-blind)
#4C4741
Achromatopsia (no color)
#484848

Design tokens & code

CSS
--color: #474c15;
/* rgb */ color: rgb(71, 76, 21);
/* oklch */ color: oklch(40.0% 0.076 114.3);
Tailwind
colors: {
  custom: {
    50: '#7c7d56',
    500: '#474c15',
    950: '#000000',
  },
}
SCSS
$custom: #474c15;
$custom-light: #7c7d56;
$custom-dark: #000000;
JSON
{
  "hex": "#474c15",
  "rgb": {
    "r": 71,
    "g": 76,
    "b": 21
  },
  "hsl": {
    "h": 65.455,
    "s": 56.701,
    "l": 19.02
  },
  "oklch": {
    "l": 0.39977,
    "c": 0.07615,
    "h": 114.3
  },
  "luminance": 0.06563
}

Semantic roles & 50–950 ramp

primary
#474C15
secondary
#403984
accent
#48E056
background
#F7F7F5
surface
#EEEEE9
border
#C9C9C5
text
#0A0903
muted
#7C7B78

Preview Lab

Preview with #474C15

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

Preview Lab → · Contrast checker → · Palette generator →

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