#4D470D#4D470D

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

Color values

HEX#4D470D
RGBrgb(77, 71, 13)
HSLhsl(54, 71%, 18%)
HSVhsv(54, 83%, 30%)
CMYKcmyk(0%, 7.8%, 83.1%, 69.8%)
CIE-LABlab(29.70, -4.91, 33.35)
CIE-LCHlch(29.70, 33.71, 98.38°)
OKLaboklab(39.23% -0.0172 0.0731)
OKLCHoklch(39.23% 0.075 103.2)
XYZxyz(5.3867, 6.1135, 1.2770)
Luminance0.0611 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4D470D #0D134D
analogous
#4D270D #4D470D #334D0D
triadic
#4D470D #0D4D47 #470D4D
tetradic
#4D470D #0D4D27 #0D134D #4D0D33
square
#4D470D #0D4D27 #0D134D #4D0D33
split-complementary
#4D470D #0D334D #270D4D
monochromatic
#1A1804 #1A1804 #4D470D #817716 #B6A81F

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##4D470D#FFFFFF#000000##FFFFFF
##4D470D1.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)
#4E4403
Deuteranopia (green-blind)
#504711
Tritanopia (blue-blind)
#54413C
Achromatopsia (no color)
#464646

Design tokens & code

CSS
--color: #4d470d;
/* rgb */ color: rgb(77, 71, 13);
/* oklch */ color: oklch(39.2% 0.075 103.2);
Tailwind
colors: {
  custom: {
    50: '#817951',
    500: '#4d470d',
    950: '#000000',
  },
}
SCSS
$custom: #4d470d;
$custom-light: #817951;
$custom-dark: #000000;
JSON
{
  "hex": "#4d470d",
  "rgb": {
    "r": 77,
    "g": 71,
    "b": 13
  },
  "hsl": {
    "h": 54.375,
    "s": 71.111,
    "l": 17.647
  },
  "oklch": {
    "l": 0.39226,
    "c": 0.07508,
    "h": 103.2
  },
  "luminance": 0.06113
}

Semantic roles & 50–950 ramp

primary
#4D470D
secondary
#2E3688
accent
#4BEE3A
background
#F8F7F4
surface
#EFEDE7
border
#CAC8C3
text
#0B0902
muted
#7C7B78

Preview Lab

Preview with #4D470D

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

Preview Lab → · Contrast checker → · Palette generator →

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