#474B1F#474B1F

#474B1F is a dark, moderate yellow. Relative luminance 0.065; OKLCH L 39.8% C 0.065 H 113.7°. Best body text is #FFFFFF at 9.15:1 contrast (WCAG AA passes).

Color values

HEX#474B1F
RGBrgb(71, 75, 31)
HSLhsl(65, 42%, 21%)
HSVhsv(65, 59%, 29%)
CMYKcmyk(5.3%, 0%, 58.7%, 70.6%)
CIE-LABlab(30.57, -8.97, 25.31)
CIE-LCHlch(30.57, 26.85, 109.52°)
OKLaboklab(39.84% -0.026 0.0594)
OKLCHoklch(39.84% 0.065 113.7)
XYZxyz(5.3620, 6.4708, 2.2626)
Luminance0.0647 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#474B1F #231F4B
analogous
#4B391F #474B1F #314B1F
triadic
#474B1F #1F474B #4B1F47
tetradic
#474B1F #1F4B39 #231F4B #4B1F31
square
#474B1F #1F4B39 #231F4B #4B1F31
split-complementary
#474B1F #1F314B #391F4B
monochromatic
#141609 #1E200D #474B1F #707631 #99A243

Accessibility & contrast

On white

9.15
#474B1F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #474B1F
9.15:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##474B1F#FFFFFF#000000##FFFFFF
##474B1F1.009.152.299.15
#FFFFFF9.151.0021.001.00
#0000002.2921.001.0021.00
##FFFFFF9.151.0021.001.00

Color blindness preview

Protanopia (red-blind)
#50471B
Deuteranopia (green-blind)
#504821
Tritanopia (blue-blind)
#4B4741
Achromatopsia (no color)
#484848

Design tokens & code

CSS
--color: #474b1f;
/* rgb */ color: rgb(71, 75, 31);
/* oklch */ color: oklch(39.8% 0.065 113.7);
Tailwind
colors: {
  custom: {
    50: '#7b7d5c',
    500: '#474b1f',
    950: '#000000',
  },
}
SCSS
$custom: #474b1f;
$custom-light: #7b7d5c;
$custom-dark: #000000;
JSON
{
  "hex": "#474b1f",
  "rgb": {
    "r": 71,
    "g": 75,
    "b": 31
  },
  "hsl": {
    "h": 65.455,
    "s": 41.509,
    "l": 20.784
  },
  "oklch": {
    "l": 0.39836,
    "c": 0.0648,
    "h": 113.7
  },
  "luminance": 0.06471
}

Semantic roles & 50–950 ramp

primary
#474B1F
secondary
#4B4680
accent
#56D162
background
#F7F7F5
surface
#EEEEE9
border
#C9C9C5
text
#090904
muted
#7B7B79

Preview Lab

Preview with #474B1F

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

Preview Lab → · Contrast checker → · Palette generator →

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