#4D470E#4D470E

#4D470E 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.45:1 contrast (WCAG AA passes).

Color values

HEX#4D470E
RGBrgb(77, 71, 14)
HSLhsl(54, 69%, 18%)
HSVhsv(54, 82%, 30%)
CMYKcmyk(0%, 7.8%, 81.8%, 69.8%)
CIE-LABlab(29.70, -4.86, 32.95)
CIE-LCHlch(29.70, 33.31, 98.40°)
OKLaboklab(39.23% -0.0169 0.0725)
OKLCHoklch(39.23% 0.074 103.1)
XYZxyz(5.3933, 6.1162, 1.3118)
Luminance0.0612 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4D470E #0E144D
analogous
#4D270E #4D470E #334D0E
triadic
#4D470E #0E4D47 #470E4D
tetradic
#4D470E #0E4D27 #0E144D #4D0E33
square
#4D470E #0E4D27 #0E144D #4D0E33
split-complementary
#4D470E #0E334D #270E4D
monochromatic
#1A1805 #1A1805 #4D470E #817717 #B5A621

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##4D470E#FFFFFF#000000##FFFFFF
##4D470E1.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)
#4E4404
Deuteranopia (green-blind)
#504712
Tritanopia (blue-blind)
#53413C
Achromatopsia (no color)
#464646

Design tokens & code

CSS
--color: #4d470e;
/* rgb */ color: rgb(77, 71, 14);
/* oklch */ color: oklch(39.2% 0.074 103.1);
Tailwind
colors: {
  custom: {
    50: '#817951',
    500: '#4d470e',
    950: '#000000',
  },
}
SCSS
$custom: #4d470e;
$custom-light: #817951;
$custom-dark: #000000;
JSON
{
  "hex": "#4d470e",
  "rgb": {
    "r": 77,
    "g": 71,
    "b": 14
  },
  "hsl": {
    "h": 54.286,
    "s": 69.231,
    "l": 17.843
  },
  "oklch": {
    "l": 0.39234,
    "c": 0.07442,
    "h": 103.1
  },
  "luminance": 0.06116
}

Semantic roles & 50–950 ramp

primary
#4D470E
secondary
#2F3888
accent
#4DEC3C
background
#F8F7F4
surface
#EFEDE7
border
#CAC8C3
text
#0B0902
muted
#7C7B78

Preview Lab

Preview with #4D470E

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

Preview Lab → · Contrast checker → · Palette generator →

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