#4E472F#4E472F

#4E472F is a dark, muted yellow. Relative luminance 0.063; OKLCH L 39.8% C 0.039 H 93.8°. Best body text is #FFFFFF at 9.27:1 contrast (WCAG AA passes).

Color values

HEX#4E472F
RGBrgb(78, 71, 47)
HSLhsl(46, 25%, 25%)
HSVhsv(46, 40%, 31%)
CMYKcmyk(0%, 9%, 39.7%, 69.4%)
CIE-LABlab(30.23, -1.22, 15.52)
CIE-LCHlch(30.23, 15.57, 94.49°)
OKLaboklab(39.82% -0.0025 0.0385)
OKLCHoklch(39.82% 0.039 93.8)
XYZxyz(5.9083, 6.3316, 3.5997)
Luminance0.0633 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4E472F #2F364E
analogous
#4E382F #4E472F #464E2F
triadic
#4E472F #2F4E47 #472F4E
tetradic
#4E472F #2F4E38 #2F364E #4E2F46
square
#4E472F #2F4E38 #2F364E #4E2F46
split-complementary
#4E472F #2F464E #382F4E
monochromatic
#13110C #282418 #4E472F #746A46 #9A8D5D

Accessibility & contrast

On white

9.27
#4E472F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.27
#4E472F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4E472F
9.27:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4E472F#FFFFFF#000000##FFFFFF
##4E472F1.009.272.279.27
#FFFFFF9.271.0021.001.00
#0000002.2721.001.0021.00
##FFFFFF9.271.0021.001.00

Color blindness preview

Protanopia (red-blind)
#4C462D
Deuteranopia (green-blind)
#4E4830
Tritanopia (blue-blind)
#534341
Achromatopsia (no color)
#474747

Design tokens & code

CSS
--color: #4e472f;
/* rgb */ color: rgb(78, 71, 47);
/* oklch */ color: oklch(39.8% 0.039 93.8);
Tailwind
colors: {
  custom: {
    50: '#807a67',
    500: '#4e472f',
    950: '#000000',
  },
}
SCSS
$custom: #4e472f;
$custom-light: #807a67;
$custom-dark: #000000;
JSON
{
  "hex": "#4e472f",
  "rgb": {
    "r": 78,
    "g": 71,
    "b": 47
  },
  "hsl": {
    "h": 46.452,
    "s": 24.8,
    "l": 24.51
  },
  "oklch": {
    "l": 0.39817,
    "c": 0.03858,
    "h": 93.8
  },
  "luminance": 0.06331
}

Semantic roles & 50–950 ramp

primary
#4E472F
secondary
#5A627F
accent
#7BC167
background
#F7F7F6
surface
#EEEDEB
border
#C9C8C6
text
#0A0906
muted
#7C7B7A

Preview Lab

Preview with #4E472F

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

Preview Lab → · Contrast checker → · Palette generator →

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