#4E571F#4E571F

#4E571F is a dark, moderate yellow. Relative luminance 0.085; OKLCH L 43.6% C 0.079 H 117.5°. Best body text is #FFFFFF at 7.76:1 contrast (WCAG AA passes).

Color values

HEX#4E571F
RGBrgb(78, 87, 31)
HSLhsl(70, 47%, 23%)
HSVhsv(70, 64%, 34%)
CMYKcmyk(10.3%, 0%, 64.4%, 65.9%)
CIE-LABlab(35.07, -12.60, 30.57)
CIE-LCHlch(35.07, 33.07, 112.40°)
OKLaboklab(43.59% -0.0367 0.0705)
OKLCHoklch(43.59% 0.079 117.5)
XYZxyz(6.7975, 8.5351, 2.5854)
Luminance0.0853 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4E571F #281F57
analogous
#57441F #4E571F #32571F
triadic
#4E571F #1F4E57 #571F4E
tetradic
#4E571F #1F5744 #281F57 #571F32
square
#4E571F #1F5744 #281F57 #571F32
split-complementary
#4E571F #1F3257 #441F57
monochromatic
#141708 #262A0F #4E571F #76842F #9FB13F

Accessibility & contrast

On white

7.76
#4E571F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.71
#4E571F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4E571F
7.76:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4E571F#FFFFFF#000000##FFFFFF
##4E571F1.007.762.717.76
#FFFFFF7.761.0021.001.00
#0000002.7121.001.0021.00
##FFFFFF7.761.0021.001.00

Color blindness preview

Protanopia (red-blind)
#5D5219
Deuteranopia (green-blind)
#5C5323
Tritanopia (blue-blind)
#53524B
Achromatopsia (no color)
#525252

Design tokens & code

CSS
--color: #4e571f;
/* rgb */ color: rgb(78, 87, 31);
/* oklch */ color: oklch(43.6% 0.079 117.5);
Tailwind
colors: {
  custom: {
    50: '#81865d',
    500: '#4e571f',
    950: '#000000',
  },
}
SCSS
$custom: #4e571f;
$custom-light: #81865d;
$custom-dark: #000000;
JSON
{
  "hex": "#4e571f",
  "rgb": {
    "r": 78,
    "g": 87,
    "b": 31
  },
  "hsl": {
    "h": 69.643,
    "s": 47.458,
    "l": 23.137
  },
  "oklch": {
    "l": 0.43594,
    "c": 0.07949,
    "h": 117.5
  },
  "luminance": 0.08535
}

Semantic roles & 50–950 ramp

primary
#4E571F
secondary
#51468C
accent
#51D766
background
#F8F8F5
surface
#EFEFE9
border
#CACAC5
text
#0A0B04
muted
#7C7C79

Preview Lab

Preview with #4E571F

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

Preview Lab → · Contrast checker → · Palette generator →

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