#4A470B#4A470B

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

Color values

HEX#4A470B
RGBrgb(74, 71, 11)
HSLhsl(57, 74%, 17%)
HSVhsv(57, 85%, 29%)
CMYKcmyk(0%, 4.1%, 85.1%, 71%)
CIE-LABlab(29.38, -6.54, 33.71)
CIE-LCHlch(29.38, 34.34, 100.99°)
OKLaboklab(38.9% -0.0218 0.0736)
OKLCHoklch(38.9% 0.077 106.5)
XYZxyz(5.1379, 5.9867, 1.2014)
Luminance0.0599 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4A470B #0B0E4A
analogous
#4A280B #4A470B #2E4A0B
triadic
#4A470B #0B4A47 #470B4A
tetradic
#4A470B #0B4A28 #0B0E4A #4A0B2E
square
#4A470B #0B4A28 #0B0E4A #4A0B2E
split-complementary
#4A470B #0B2E4A #280B4A
monochromatic
#1B1A04 #1B1A04 #4A470B #7F7A13 #B5AD1B

Accessibility & contrast

On white

9.56
#4A470B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #4A470B
9.56:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4A470B#FFFFFF#000000##FFFFFF
##4A470B1.009.562.209.56
#FFFFFF9.561.0021.001.00
#0000002.2021.001.0021.00
##FFFFFF9.561.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #4a470b;
/* rgb */ color: rgb(74, 71, 11);
/* oklch */ color: oklch(38.9% 0.077 106.5);
Tailwind
colors: {
  custom: {
    50: '#7f7950',
    500: '#4a470b',
    950: '#000000',
  },
}
SCSS
$custom: #4a470b;
$custom-light: #7f7950;
$custom-dark: #000000;
JSON
{
  "hex": "#4a470b",
  "rgb": {
    "r": 74,
    "g": 71,
    "b": 11
  },
  "hsl": {
    "h": 57.143,
    "s": 74.118,
    "l": 16.667
  },
  "oklch": {
    "l": 0.38895,
    "c": 0.07672,
    "h": 106.5
  },
  "luminance": 0.05986
}

Semantic roles & 50–950 ramp

primary
#4A470B
secondary
#2B2F86
accent
#40F137
background
#F8F7F4
surface
#EFEDE7
border
#CAC8C3
text
#0A0902
muted
#7C7B78

Preview Lab

Preview with #4A470B

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

Preview Lab → · Contrast checker → · Palette generator →

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