#4B470D#4B470D

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

Color values

HEX#4B470D
RGBrgb(75, 71, 13)
HSLhsl(56, 70%, 17%)
HSVhsv(56, 83%, 29%)
CMYKcmyk(0%, 5.3%, 82.7%, 70.6%)
CIE-LABlab(29.49, -5.94, 33.08)
CIE-LCHlch(29.49, 33.61, 100.17°)
OKLaboklab(39.01% -0.0199 0.0726)
OKLCHoklch(39.01% 0.075 105.3)
XYZxyz(5.2278, 6.0316, 1.2695)
Luminance0.0603 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4B470D #0D114B
analogous
#4B280D #4B470D #304B0D
triadic
#4B470D #0D4B47 #470D4B
tetradic
#4B470D #0D4B28 #0D114B #4B0D30
square
#4B470D #0D4B28 #0D114B #4B0D30
split-complementary
#4B470D #0D304B #280D4B
monochromatic
#1A1905 #1A1905 #4B470D #7F7816 #B3AA1F

Accessibility & contrast

On white

9.52
#4B470D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.21
#4B470D on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4B470D
9.52:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4B470D#FFFFFF#000000##FFFFFF
##4B470D1.009.522.219.52
#FFFFFF9.521.0021.001.00
#0000002.2121.001.0021.00
##FFFFFF9.521.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #4b470d;
/* rgb */ color: rgb(75, 71, 13);
/* oklch */ color: oklch(39.0% 0.075 105.3);
Tailwind
colors: {
  custom: {
    50: '#807951',
    500: '#4b470d',
    950: '#000000',
  },
}
SCSS
$custom: #4b470d;
$custom-light: #807951;
$custom-dark: #000000;
JSON
{
  "hex": "#4b470d",
  "rgb": {
    "r": 75,
    "g": 71,
    "b": 13
  },
  "hsl": {
    "h": 56.129,
    "s": 70.455,
    "l": 17.255
  },
  "oklch": {
    "l": 0.39014,
    "c": 0.0753,
    "h": 105.3
  },
  "luminance": 0.06031
}

Semantic roles & 50–950 ramp

primary
#4B470D
secondary
#2E3386
accent
#46ED3B
background
#F8F7F4
surface
#EFEDE7
border
#CAC8C3
text
#0A0902
muted
#7C7B78

Preview Lab

Preview with #4B470D

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

Preview Lab → · Contrast checker → · Palette generator →

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