#4F571B#4F571B

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

Color values

HEX#4F571B
RGBrgb(79, 87, 27)
HSLhsl(68, 53%, 22%)
HSVhsv(68, 69%, 34%)
CMYKcmyk(9.2%, 0%, 69%, 65.9%)
CIE-LABlab(35.12, -12.46, 32.62)
CIE-LCHlch(35.12, 34.92, 110.91°)
OKLaboklab(43.64% -0.0368 0.0742)
OKLCHoklch(43.64% 0.083 116.4)
XYZxyz(6.8306, 8.5579, 2.3287)
Luminance0.0856 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4F571B #231B57
analogous
#57411B #4F571B #31571B
triadic
#4F571B #1B4F57 #571B4F
tetradic
#4F571B #1B5741 #231B57 #571B31
square
#4F571B #1B5741 #231B57 #571B31
split-complementary
#4F571B #1B3157 #411B57
monochromatic
#151707 #25280D #4F571B #798629 #A4B438

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##4F571B#FFFFFF#000000##FFFFFF
##4F571B1.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)
#5D5213
Deuteranopia (green-blind)
#5D531F
Tritanopia (blue-blind)
#54524B
Achromatopsia (no color)
#535353

Design tokens & code

CSS
--color: #4f571b;
/* rgb */ color: rgb(79, 87, 27);
/* oklch */ color: oklch(43.6% 0.083 116.4);
Tailwind
colors: {
  custom: {
    50: '#82865b',
    500: '#4f571b',
    950: '#000000',
  },
}
SCSS
$custom: #4f571b;
$custom-light: #82865b;
$custom-dark: #000000;
JSON
{
  "hex": "#4f571b",
  "rgb": {
    "r": 79,
    "g": 87,
    "b": 27
  },
  "hsl": {
    "h": 68,
    "s": 52.632,
    "l": 22.353
  },
  "oklch": {
    "l": 0.43639,
    "c": 0.08285,
    "h": 116.4
  },
  "luminance": 0.08558
}

Semantic roles & 50–950 ramp

primary
#4F571B
secondary
#4B418D
accent
#4CDC5F
background
#F8F8F5
surface
#EFEFE9
border
#CACAC5
text
#0B0B04
muted
#7C7C79

Preview Lab

Preview with #4F571B

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

Preview Lab → · Contrast checker → · Palette generator →

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