#4F571D#4F571D

#4F571D is a dark, moderate yellow. Relative luminance 0.086; OKLCH L 43.7% C 0.081 H 116.5°. Best body text is #FFFFFF at 7.74:1 contrast (WCAG AA passes).

Color values

HEX#4F571D
RGBrgb(79, 87, 29)
HSLhsl(68, 50%, 23%)
HSVhsv(68, 67%, 34%)
CMYKcmyk(9.2%, 0%, 66.7%, 65.9%)
CIE-LABlab(35.14, -12.30, 31.67)
CIE-LCHlch(35.14, 33.97, 111.22°)
OKLaboklab(43.66% -0.0362 0.0725)
OKLCHoklch(43.66% 0.081 116.5)
XYZxyz(6.8546, 8.5674, 2.4547)
Luminance0.0857 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4F571D #251D57
analogous
#57421D #4F571D #32571D
triadic
#4F571D #1D4F57 #571D4F
tetradic
#4F571D #1D5742 #251D57 #571D32
square
#4F571D #1D5742 #251D57 #571D32
split-complementary
#4F571D #1D3257 #421D57
monochromatic
#151708 #25290E #4F571D #79852C #A2B33C

Accessibility & contrast

On white

7.74
#4F571D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #4F571D
7.74:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4F571D#FFFFFF#000000##FFFFFF
##4F571D1.007.742.717.74
#FFFFFF7.741.0021.001.00
#0000002.7121.001.0021.00
##FFFFFF7.741.0021.001.00

Color blindness preview

Protanopia (red-blind)
#5D5216
Deuteranopia (green-blind)
#5C5321
Tritanopia (blue-blind)
#54524B
Achromatopsia (no color)
#535353

Design tokens & code

CSS
--color: #4f571d;
/* rgb */ color: rgb(79, 87, 29);
/* oklch */ color: oklch(43.7% 0.081 116.5);
Tailwind
colors: {
  custom: {
    50: '#82865c',
    500: '#4f571d',
    950: '#000000',
  },
}
SCSS
$custom: #4f571d;
$custom-light: #82865c;
$custom-dark: #000000;
JSON
{
  "hex": "#4f571d",
  "rgb": {
    "r": 79,
    "g": 87,
    "b": 29
  },
  "hsl": {
    "h": 68.276,
    "s": 50,
    "l": 22.745
  },
  "oklch": {
    "l": 0.4366,
    "c": 0.08102,
    "h": 116.5
  },
  "luminance": 0.08567
}

Semantic roles & 50–950 ramp

primary
#4F571D
secondary
#4E448C
accent
#4EDA61
background
#F8F8F5
surface
#EFEFE9
border
#CACAC5
text
#0B0B04
muted
#7C7C79

Preview Lab

Preview with #4F571D

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

Preview Lab → · Contrast checker → · Palette generator →

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