#4D470C#4D470C

#4D470C is a dark, moderate yellow. Relative luminance 0.061; OKLCH L 39.2% C 0.076 H 103.3°. Best body text is #FFFFFF at 9.45:1 contrast (WCAG AA passes).

Color values

HEX#4D470C
RGBrgb(77, 71, 12)
HSLhsl(54, 73%, 17%)
HSVhsv(54, 84%, 30%)
CMYKcmyk(0%, 7.8%, 84.4%, 69.8%)
CIE-LABlab(29.69, -4.96, 33.73)
CIE-LCHlch(29.69, 34.10, 98.37°)
OKLaboklab(39.22% -0.0174 0.0737)
OKLCHoklch(39.22% 0.076 103.3)
XYZxyz(5.3804, 6.1110, 1.2439)
Luminance0.0611 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4D470C #0C124D
analogous
#4D270C #4D470C #324D0C
triadic
#4D470C #0C4D47 #470C4D
tetradic
#4D470C #0C4D27 #0C124D #4D0C32
square
#4D470C #0C4D27 #0C124D #4D0C32
split-complementary
#4D470C #0C324D #270C4D
monochromatic
#1A1804 #1A1804 #4D470C #827814 #B7A91D

Accessibility & contrast

On white

9.45
#4D470C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.22
#4D470C on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4D470C
9.45:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4D470C#FFFFFF#000000##FFFFFF
##4D470C1.009.452.229.45
#FFFFFF9.451.0021.001.00
#0000002.2221.001.0021.00
##FFFFFF9.451.0021.001.00

Color blindness preview

Protanopia (red-blind)
#4E4402
Deuteranopia (green-blind)
#504710
Tritanopia (blue-blind)
#54413C
Achromatopsia (no color)
#464646

Design tokens & code

CSS
--color: #4d470c;
/* rgb */ color: rgb(77, 71, 12);
/* oklch */ color: oklch(39.2% 0.076 103.3);
Tailwind
colors: {
  custom: {
    50: '#817950',
    500: '#4d470c',
    950: '#000000',
  },
}
SCSS
$custom: #4d470c;
$custom-light: #817950;
$custom-dark: #000000;
JSON
{
  "hex": "#4d470c",
  "rgb": {
    "r": 77,
    "g": 71,
    "b": 12
  },
  "hsl": {
    "h": 54.462,
    "s": 73.034,
    "l": 17.451
  },
  "oklch": {
    "l": 0.39219,
    "c": 0.07572,
    "h": 103.3
  },
  "luminance": 0.06111
}

Semantic roles & 50–950 ramp

primary
#4D470C
secondary
#2C3589
accent
#49F038
background
#F8F7F4
surface
#EFEDE7
border
#CAC8C3
text
#0B0902
muted
#7C7B78

Preview Lab

Preview with #4D470C

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

Preview Lab → · Contrast checker → · Palette generator →

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