#474B1A#474B1A

#474B1A is a dark, moderate yellow. Relative luminance 0.064; OKLCH L 39.8% C 0.070 H 113.5°. Best body text is #FFFFFF at 9.17:1 contrast (WCAG AA passes).

Color values

HEX#474B1A
RGBrgb(71, 75, 26)
HSLhsl(65, 49%, 20%)
HSVhsv(65, 65%, 29%)
CMYKcmyk(5.3%, 0%, 65.3%, 70.6%)
CIE-LABlab(30.51, -9.45, 27.94)
CIE-LCHlch(30.51, 29.49, 108.68°)
OKLaboklab(39.77% -0.0279 0.0643)
OKLCHoklch(39.77% 0.07 113.5)
XYZxyz(5.3012, 6.4464, 1.9421)
Luminance0.0645 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#474B1A #1E1A4B
analogous
#4B371A #474B1A #2F4B1A
triadic
#474B1A #1A474B #4B1A47
tetradic
#474B1A #1A4B37 #1E1A4B #4B1A2F
square
#474B1A #1A4B37 #1E1A4B #4B1A2F
split-complementary
#474B1A #1A2F4B #371A4B
monochromatic
#161708 #1C1E0A #474B1A #72782A #9DA63A

Accessibility & contrast

On white

9.17
#474B1A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.29
#474B1A on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #474B1A
9.17:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##474B1A#FFFFFF#000000##FFFFFF
##474B1A1.009.172.299.17
#FFFFFF9.171.0021.001.00
#0000002.2921.001.0021.00
##FFFFFF9.171.0021.001.00

Color blindness preview

Protanopia (red-blind)
#514714
Deuteranopia (green-blind)
#51481D
Tritanopia (blue-blind)
#4C4641
Achromatopsia (no color)
#484848

Design tokens & code

CSS
--color: #474b1a;
/* rgb */ color: rgb(71, 75, 26);
/* oklch */ color: oklch(39.8% 0.070 113.5);
Tailwind
colors: {
  custom: {
    50: '#7c7d59',
    500: '#474b1a',
    950: '#000000',
  },
}
SCSS
$custom: #474b1a;
$custom-light: #7c7d59;
$custom-dark: #000000;
JSON
{
  "hex": "#474b1a",
  "rgb": {
    "r": 71,
    "g": 75,
    "b": 26
  },
  "hsl": {
    "h": 64.898,
    "s": 48.515,
    "l": 19.804
  },
  "oklch": {
    "l": 0.3977,
    "c": 0.07014,
    "h": 113.5
  },
  "luminance": 0.06446
}

Semantic roles & 50–950 ramp

primary
#474B1A
secondary
#454081
accent
#50D85B
background
#F7F7F5
surface
#EEEEE9
border
#C9C9C5
text
#0A0903
muted
#7C7B78

Preview Lab

Preview with #474B1A

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

Preview Lab → · Contrast checker → · Palette generator →

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