#474D0B#474D0B

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

Color values

HEX#474D0B
RGBrgb(71, 77, 11)
HSLhsl(65, 75%, 17%)
HSVhsv(65, 86%, 30%)
CMYKcmyk(7.8%, 0%, 85.7%, 69.8%)
CIE-LABlab(31.05, -11.61, 35.12)
CIE-LCHlch(31.05, 36.99, 108.30°)
OKLaboklab(40.16% -0.0357 0.0767)
OKLCHoklch(40.16% 0.085 114.9)
XYZxyz(5.3130, 6.6716, 1.3244)
Luminance0.0667 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#474D0B #110B4D
analogous
#4D320B #474D0B #264D0B
triadic
#474D0B #0B474D #4D0B47
tetradic
#474D0B #0B4D32 #110B4D #4D0B26
square
#474D0B #0B4D32 #110B4D #4D0B26
split-complementary
#474D0B #0B264D #320B4D
monochromatic
#191B04 #191B04 #474D0B #788313 #AAB81A

Accessibility & contrast

On white

9.00
#474D0B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.33
#474D0B on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #474D0B
9.00:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##474D0B#FFFFFF#000000##FFFFFF
##474D0B1.009.002.339.00
#FFFFFF9.001.0021.001.00
#0000002.3321.001.0021.00
##FFFFFF9.001.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #474d0b;
/* rgb */ color: rgb(71, 77, 11);
/* oklch */ color: oklch(40.2% 0.085 114.9);
Tailwind
colors: {
  custom: {
    50: '#7d7e51',
    500: '#474d0b',
    950: '#000000',
  },
}
SCSS
$custom: #474d0b;
$custom-light: #7d7e51;
$custom-dark: #000000;
JSON
{
  "hex": "#474d0b",
  "rgb": {
    "r": 71,
    "g": 77,
    "b": 11
  },
  "hsl": {
    "h": 65.455,
    "s": 75,
    "l": 17.255
  },
  "oklch": {
    "l": 0.40161,
    "c": 0.08459,
    "h": 114.9
  },
  "luminance": 0.06672
}

Semantic roles & 50–950 ramp

primary
#474D0B
secondary
#332B89
accent
#36F247
background
#F7F7F4
surface
#EEEEE7
border
#C9C9C3
text
#0A0A02
muted
#7C7C78

Preview Lab

Preview with #474D0B

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

Preview Lab → · Contrast checker → · Palette generator →

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