#4B470C#4B470C

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

Color values

HEX#4B470C
RGBrgb(75, 71, 12)
HSLhsl(56, 72%, 17%)
HSVhsv(56, 84%, 29%)
CMYKcmyk(0%, 5.3%, 84%, 70.6%)
CIE-LABlab(29.49, -5.99, 33.47)
CIE-LCHlch(29.49, 34.00, 100.14°)
OKLaboklab(39.01% -0.0202 0.0732)
OKLCHoklch(39.01% 0.076 105.4)
XYZxyz(5.2215, 6.0291, 1.2364)
Luminance0.0603 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4B470C #0C104B
analogous
#4B270C #4B470C #304B0C
triadic
#4B470C #0C4B47 #470C4B
tetradic
#4B470C #0C4B27 #0C104B #4B0C30
square
#4B470C #0C4B27 #0C104B #4B0C30
split-complementary
#4B470C #0C304B #270C4B
monochromatic
#1A1904 #1A1904 #4B470C #807914 #B5AB1D

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##4B470C#FFFFFF#000000##FFFFFF
##4B470C1.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)
#4E4402
Deuteranopia (green-blind)
#504711
Tritanopia (blue-blind)
#51423C
Achromatopsia (no color)
#454545

Design tokens & code

CSS
--color: #4b470c;
/* rgb */ color: rgb(75, 71, 12);
/* oklch */ color: oklch(39.0% 0.076 105.4);
Tailwind
colors: {
  custom: {
    50: '#807950',
    500: '#4b470c',
    950: '#000000',
  },
}
SCSS
$custom: #4b470c;
$custom-light: #807950;
$custom-dark: #000000;
JSON
{
  "hex": "#4b470c",
  "rgb": {
    "r": 75,
    "g": 71,
    "b": 12
  },
  "hsl": {
    "h": 56.19,
    "s": 72.414,
    "l": 17.059
  },
  "oklch": {
    "l": 0.39007,
    "c": 0.07594,
    "h": 105.4
  },
  "luminance": 0.06029
}

Semantic roles & 50–950 ramp

primary
#4B470C
secondary
#2C3287
accent
#44EF39
background
#F8F7F4
surface
#EFEDE7
border
#CAC8C3
text
#0A0902
muted
#7C7B78

Preview Lab

Preview with #4B470C

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

Preview Lab → · Contrast checker → · Palette generator →

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