#4A470D#4A470D

#4A470D is a dark, moderate yellow. Relative luminance 0.060; OKLCH L 38.9% C 0.075 H 106.4°. Best body text is #FFFFFF at 9.55:1 contrast (WCAG AA passes).

Color values

HEX#4A470D
RGBrgb(74, 71, 13)
HSLhsl(57, 70%, 17%)
HSVhsv(57, 82%, 29%)
CMYKcmyk(0%, 4.1%, 82.4%, 71%)
CIE-LABlab(29.39, -6.45, 32.95)
CIE-LCHlch(29.39, 33.58, 101.07°)
OKLaboklab(38.91% -0.0213 0.0724)
OKLCHoklch(38.91% 0.075 106.4)
XYZxyz(5.1501, 5.9916, 1.2659)
Luminance0.0599 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4A470D #0D104A
analogous
#4A290D #4A470D #2F4A0D
triadic
#4A470D #0D4A47 #470D4A
tetradic
#4A470D #0D4A29 #0D104A #4A0D2F
square
#4A470D #0D4A29 #0D104A #4A0D2F
split-complementary
#4A470D #0D2F4A #290D4A
monochromatic
#1A1905 #1A1905 #4A470D #7E7916 #B2AB1F

Accessibility & contrast

On white

9.55
#4A470D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.20
#4A470D on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4A470D
9.55:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4A470D#FFFFFF#000000##FFFFFF
##4A470D1.009.552.209.55
#FFFFFF9.551.0021.001.00
#0000002.2021.001.0021.00
##FFFFFF9.551.0021.001.00

Color blindness preview

Protanopia (red-blind)
#4E4403
Deuteranopia (green-blind)
#4F4611
Tritanopia (blue-blind)
#50423C
Achromatopsia (no color)
#454545

Design tokens & code

CSS
--color: #4a470d;
/* rgb */ color: rgb(74, 71, 13);
/* oklch */ color: oklch(38.9% 0.075 106.4);
Tailwind
colors: {
  custom: {
    50: '#7f7a51',
    500: '#4a470d',
    950: '#000000',
  },
}
SCSS
$custom: #4a470d;
$custom-light: #7f7a51;
$custom-dark: #000000;
JSON
{
  "hex": "#4a470d",
  "rgb": {
    "r": 74,
    "g": 71,
    "b": 13
  },
  "hsl": {
    "h": 57.049,
    "s": 70.115,
    "l": 17.059
  },
  "oklch": {
    "l": 0.38909,
    "c": 0.07546,
    "h": 106.4
  },
  "luminance": 0.05991
}

Semantic roles & 50–950 ramp

primary
#4A470D
secondary
#2E3285
accent
#44ED3B
background
#F7F7F4
surface
#EEEDE7
border
#C9C8C3
text
#0A0902
muted
#7C7B78

Preview Lab

Preview with #4A470D

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

Preview Lab → · Contrast checker → · Palette generator →

#4A470D Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva