#474E15#474E15

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

Color values

HEX#474E15
RGBrgb(71, 78, 21)
HSLhsl(67, 58%, 19%)
HSVhsv(67, 73%, 31%)
CMYKcmyk(9%, 0%, 73.1%, 69.4%)
CIE-LABlab(31.45, -11.60, 31.40)
CIE-LCHlch(31.45, 33.48, 110.28°)
OKLaboklab(40.5% -0.0346 0.0708)
OKLCHoklch(40.5% 0.079 116)
XYZxyz(5.4584, 6.8426, 1.7425)
Luminance0.0684 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#474E15 #1C154E
analogous
#4E3915 #474E15 #2B4E15
triadic
#474E15 #15474E #4E1547
tetradic
#474E15 #154E39 #1C154E #4E152B
square
#474E15 #154E39 #1C154E #4E152B
split-complementary
#474E15 #152B4E #39154E
monochromatic
#161806 #1B1E08 #474E15 #737E22 #9FAE2F

Accessibility & contrast

On white

8.87
#474E15 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #474E15
8.87:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##474E15#FFFFFF#000000##FFFFFF
##474E151.008.872.378.87
#FFFFFF8.871.0021.001.00
#0000002.3721.001.0021.00
##FFFFFF8.871.0021.001.00

Color blindness preview

Protanopia (red-blind)
#544A0D
Deuteranopia (green-blind)
#534A19
Tritanopia (blue-blind)
#4C4942
Achromatopsia (no color)
#4A4A4A

Design tokens & code

CSS
--color: #474e15;
/* rgb */ color: rgb(71, 78, 21);
/* oklch */ color: oklch(40.5% 0.079 116.0);
Tailwind
colors: {
  custom: {
    50: '#7c7f56',
    500: '#474e15',
    950: '#000000',
  },
}
SCSS
$custom: #474e15;
$custom-light: #7c7f56;
$custom-dark: #000000;
JSON
{
  "hex": "#474e15",
  "rgb": {
    "r": 71,
    "g": 78,
    "b": 21
  },
  "hsl": {
    "h": 67.368,
    "s": 57.576,
    "l": 19.412
  },
  "oklch": {
    "l": 0.40503,
    "c": 0.07883,
    "h": 116
  },
  "luminance": 0.06843
}

Semantic roles & 50–950 ramp

primary
#474E15
secondary
#423986
accent
#47E15A
background
#F7F7F5
surface
#EEEEE9
border
#C9C9C5
text
#0A0A03
muted
#7C7C78

Preview Lab

Preview with #474E15

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

Preview Lab → · Contrast checker → · Palette generator →

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