#4B470F#4B470F

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

Color values

HEX#4B470F
RGBrgb(75, 71, 15)
HSLhsl(56, 67%, 18%)
HSVhsv(56, 80%, 29%)
CMYKcmyk(0%, 5.3%, 80%, 70.6%)
CIE-LABlab(29.51, -5.83, 32.27)
CIE-LCHlch(29.51, 32.79, 100.24°)
OKLaboklab(39.03% -0.0194 0.0713)
OKLCHoklch(39.03% 0.074 105.2)
XYZxyz(5.2413, 6.0370, 1.3410)
Luminance0.0604 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4B470F #0F134B
analogous
#4B290F #4B470F #314B0F
triadic
#4B470F #0F4B47 #470F4B
tetradic
#4B470F #0F4B29 #0F134B #4B0F31
square
#4B470F #0F4B29 #0F134B #4B0F31
split-complementary
#4B470F #0F314B #290F4B
monochromatic
#1A1805 #1A1805 #4B470F #7E7719 #B1A823

Accessibility & contrast

On white

9.51
#4B470F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #4B470F
9.51:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4B470F#FFFFFF#000000##FFFFFF
##4B470F1.009.512.219.51
#FFFFFF9.511.0021.001.00
#0000002.2121.001.0021.00
##FFFFFF9.511.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #4b470f;
/* rgb */ color: rgb(75, 71, 15);
/* oklch */ color: oklch(39.0% 0.074 105.2);
Tailwind
colors: {
  custom: {
    50: '#807a52',
    500: '#4b470f',
    950: '#000000',
  },
}
SCSS
$custom: #4b470f;
$custom-light: #807a52;
$custom-dark: #000000;
JSON
{
  "hex": "#4b470f",
  "rgb": {
    "r": 75,
    "g": 71,
    "b": 15
  },
  "hsl": {
    "h": 56,
    "s": 66.667,
    "l": 17.647
  },
  "oklch": {
    "l": 0.39029,
    "c": 0.07392,
    "h": 105.2
  },
  "luminance": 0.06037
}

Semantic roles & 50–950 ramp

primary
#4B470F
secondary
#303685
accent
#4AEA3E
background
#F8F7F4
surface
#EFEDE7
border
#CAC8C3
text
#0A0902
muted
#7C7B78

Preview Lab

Preview with #4B470F

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

Preview Lab → · Contrast checker → · Palette generator →

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