#474F15#474F15

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

Color values

HEX#474F15
RGBrgb(71, 79, 21)
HSLhsl(68, 58%, 20%)
HSVhsv(68, 73%, 31%)
CMYKcmyk(10.1%, 0%, 73.4%, 69%)
CIE-LABlab(31.77, -12.18, 31.74)
CIE-LCHlch(31.77, 34.00, 110.99°)
OKLaboklab(40.77% -0.0362 0.0715)
OKLCHoklch(40.77% 0.08 116.8)
XYZxyz(5.5300, 6.9858, 1.7664)
Luminance0.0699 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#474F15 #1D154F
analogous
#4F3A15 #474F15 #2A4F15
triadic
#474F15 #15474F #4F1547
tetradic
#474F15 #154F3A #1D154F #4F152A
square
#474F15 #154F3A #1D154F #4F152A
split-complementary
#474F15 #152A4F #3A154F
monochromatic
#161806 #1C1F08 #474F15 #727F22 #9EB02F

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##474F15#FFFFFF#000000##FFFFFF
##474F151.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)
#554B0D
Deuteranopia (green-blind)
#544B19
Tritanopia (blue-blind)
#4C4A43
Achromatopsia (no color)
#4B4B4B

Design tokens & code

CSS
--color: #474f15;
/* rgb */ color: rgb(71, 79, 21);
/* oklch */ color: oklch(40.8% 0.080 116.8);
Tailwind
colors: {
  custom: {
    50: '#7c8056',
    500: '#474f15',
    950: '#000000',
  },
}
SCSS
$custom: #474f15;
$custom-light: #7c8056;
$custom-dark: #000000;
JSON
{
  "hex": "#474f15",
  "rgb": {
    "r": 71,
    "g": 79,
    "b": 21
  },
  "hsl": {
    "h": 68.276,
    "s": 58,
    "l": 19.608
  },
  "oklch": {
    "l": 0.40767,
    "c": 0.08018,
    "h": 116.8
  },
  "luminance": 0.06986
}

Semantic roles & 50–950 ramp

primary
#474F15
secondary
#443987
accent
#47E15C
background
#F7F7F5
surface
#EEEEE9
border
#C9C9C5
text
#0A0A03
muted
#7C7C78

Preview Lab

Preview with #474F15

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

Preview Lab → · Contrast checker → · Palette generator →

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