#474D0D#474D0D

#474D0D is a dark, moderate yellow. Relative luminance 0.067; OKLCH L 40.2% C 0.083 H 115.0°. Best body text is #FFFFFF at 8.99:1 contrast (WCAG AA passes).

Color values

HEX#474D0D
RGBrgb(71, 77, 13)
HSLhsl(66, 71%, 18%)
HSVhsv(66, 83%, 30%)
CMYKcmyk(7.8%, 0%, 83.1%, 69.8%)
CIE-LABlab(31.06, -11.52, 34.41)
CIE-LCHlch(31.06, 36.28, 108.51°)
OKLaboklab(40.17% -0.0352 0.0756)
OKLCHoklch(40.17% 0.083 115)
XYZxyz(5.3252, 6.6765, 1.3889)
Luminance0.0668 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#474D0D #130D4D
analogous
#4D330D #474D0D #274D0D
triadic
#474D0D #0D474D #4D0D47
tetradic
#474D0D #0D4D33 #130D4D #4D0D27
square
#474D0D #0D4D33 #130D4D #4D0D27
split-complementary
#474D0D #0D274D #330D4D
monochromatic
#181A04 #181A04 #474D0D #778116 #A8B61F

Accessibility & contrast

On white

8.99
#474D0D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #474D0D
8.99:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##474D0D#FFFFFF#000000##FFFFFF
##474D0D1.008.992.348.99
#FFFFFF8.991.0021.001.00
#0000002.3421.001.0021.00
##FFFFFF8.991.0021.001.00

Color blindness preview

Protanopia (red-blind)
#534901
Deuteranopia (green-blind)
#534A13
Tritanopia (blue-blind)
#4C4841
Achromatopsia (no color)
#494949

Design tokens & code

CSS
--color: #474d0d;
/* rgb */ color: rgb(71, 77, 13);
/* oklch */ color: oklch(40.2% 0.083 115.0);
Tailwind
colors: {
  custom: {
    50: '#7d7e52',
    500: '#474d0d',
    950: '#000000',
  },
}
SCSS
$custom: #474d0d;
$custom-light: #7d7e52;
$custom-dark: #000000;
JSON
{
  "hex": "#474d0d",
  "rgb": {
    "r": 71,
    "g": 77,
    "b": 13
  },
  "hsl": {
    "h": 65.625,
    "s": 71.111,
    "l": 17.647
  },
  "oklch": {
    "l": 0.40174,
    "c": 0.0834,
    "h": 115
  },
  "luminance": 0.06676
}

Semantic roles & 50–950 ramp

primary
#474D0D
secondary
#362E88
accent
#3AEE4B
background
#F7F7F4
surface
#EEEEE7
border
#C9C9C3
text
#0A0A02
muted
#7C7C78

Preview Lab

Preview with #474D0D

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

Preview Lab → · Contrast checker → · Palette generator →

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