#4D470F#4D470F

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

Color values

HEX#4D470F
RGBrgb(77, 71, 15)
HSLhsl(54, 67%, 18%)
HSVhsv(54, 81%, 30%)
CMYKcmyk(0%, 7.8%, 80.5%, 69.8%)
CIE-LABlab(29.71, -4.81, 32.54)
CIE-LCHlch(29.71, 32.89, 98.41°)
OKLaboklab(39.24% -0.0167 0.0718)
OKLCHoklch(39.24% 0.074 103.1)
XYZxyz(5.4003, 6.1190, 1.3485)
Luminance0.0612 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4D470F #0F154D
analogous
#4D280F #4D470F #344D0F
triadic
#4D470F #0F4D47 #470F4D
tetradic
#4D470F #0F4D28 #0F154D #4D0F34
square
#4D470F #0F4D28 #0F154D #4D0F34
split-complementary
#4D470F #0F344D #280F4D
monochromatic
#1A1805 #1A1805 #4D470F #807619 #B3A523

Accessibility & contrast

On white

9.44
#4D470F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #4D470F
9.44:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4D470F#FFFFFF#000000##FFFFFF
##4D470F1.009.442.229.44
#FFFFFF9.441.0021.001.00
#0000002.2221.001.0021.00
##FFFFFF9.441.0021.001.00

Color blindness preview

Protanopia (red-blind)
#4E4406
Deuteranopia (green-blind)
#504713
Tritanopia (blue-blind)
#53413C
Achromatopsia (no color)
#464646

Design tokens & code

CSS
--color: #4d470f;
/* rgb */ color: rgb(77, 71, 15);
/* oklch */ color: oklch(39.2% 0.074 103.1);
Tailwind
colors: {
  custom: {
    50: '#817952',
    500: '#4d470f',
    950: '#000000',
  },
}
SCSS
$custom: #4d470f;
$custom-light: #817952;
$custom-dark: #000000;
JSON
{
  "hex": "#4d470f",
  "rgb": {
    "r": 77,
    "g": 71,
    "b": 15
  },
  "hsl": {
    "h": 54.194,
    "s": 67.391,
    "l": 18.039
  },
  "oklch": {
    "l": 0.39241,
    "c": 0.07371,
    "h": 103.1
  },
  "luminance": 0.06119
}

Semantic roles & 50–950 ramp

primary
#4D470F
secondary
#313987
accent
#4EEA3E
background
#F8F7F4
surface
#EFEDE7
border
#CAC8C3
text
#0B0902
muted
#7C7B78

Preview Lab

Preview with #4D470F

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

Preview Lab → · Contrast checker → · Palette generator →

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