#4F571A#4F571A

#4F571A is a dark, moderate yellow. Relative luminance 0.086; OKLCH L 43.6% C 0.084 H 116.4°. Best body text is #FFFFFF at 7.75:1 contrast (WCAG AA passes).

Color values

HEX#4F571A
RGBrgb(79, 87, 26)
HSLhsl(68, 54%, 22%)
HSVhsv(68, 70%, 34%)
CMYKcmyk(9.2%, 0%, 70.1%, 65.9%)
CIE-LABlab(35.11, -12.54, 33.08)
CIE-LCHlch(35.11, 35.38, 110.75°)
OKLaboklab(43.63% -0.0372 0.075)
OKLCHoklch(43.63% 0.084 116.4)
XYZxyz(6.8192, 8.5533, 2.2688)
Luminance0.0855 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4F571A #221A57
analogous
#57411A #4F571A #31571A
triadic
#4F571A #1A4F57 #571A4F
tetradic
#4F571A #1A5741 #221A57 #571A31
square
#4F571A #1A5741 #221A57 #571A31
split-complementary
#4F571A #1A3157 #411A57
monochromatic
#151807 #24280C #4F571A #7A8628 #A5B536

Accessibility & contrast

On white

7.75
#4F571A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #4F571A
7.75:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4F571A#FFFFFF#000000##FFFFFF
##4F571A1.007.752.717.75
#FFFFFF7.751.0021.001.00
#0000002.7121.001.0021.00
##FFFFFF7.751.0021.001.00

Color blindness preview

Protanopia (red-blind)
#5D5212
Deuteranopia (green-blind)
#5D531E
Tritanopia (blue-blind)
#54524A
Achromatopsia (no color)
#535353

Design tokens & code

CSS
--color: #4f571a;
/* rgb */ color: rgb(79, 87, 26);
/* oklch */ color: oklch(43.6% 0.084 116.4);
Tailwind
colors: {
  custom: {
    50: '#82865a',
    500: '#4f571a',
    950: '#000000',
  },
}
SCSS
$custom: #4f571a;
$custom-light: #82865a;
$custom-dark: #000000;
JSON
{
  "hex": "#4f571a",
  "rgb": {
    "r": 79,
    "g": 87,
    "b": 26
  },
  "hsl": {
    "h": 67.869,
    "s": 53.982,
    "l": 22.157
  },
  "oklch": {
    "l": 0.43629,
    "c": 0.08372,
    "h": 116.4
  },
  "luminance": 0.08553
}

Semantic roles & 50–950 ramp

primary
#4F571A
secondary
#4A408D
accent
#4ADD5E
background
#F8F8F5
surface
#EFEFE9
border
#CACAC5
text
#0B0B04
muted
#7C7C79

Preview Lab

Preview with #4F571A

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

Preview Lab → · Contrast checker → · Palette generator →

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