#4F571C#4F571C

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

Color values

HEX#4F571C
RGBrgb(79, 87, 28)
HSLhsl(68, 51%, 23%)
HSVhsv(68, 68%, 34%)
CMYKcmyk(9.2%, 0%, 67.8%, 65.9%)
CIE-LABlab(35.13, -12.38, 32.15)
CIE-LCHlch(35.13, 34.45, 111.06°)
OKLaboklab(43.65% -0.0365 0.0734)
OKLCHoklch(43.65% 0.082 116.5)
XYZxyz(6.8424, 8.5626, 2.3907)
Luminance0.0856 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4F571C #241C57
analogous
#57421C #4F571C #31571C
triadic
#4F571C #1C4F57 #571C4F
tetradic
#4F571C #1C5742 #241C57 #571C31
square
#4F571C #1C5742 #241C57 #571C31
split-complementary
#4F571C #1C3157 #421C57
monochromatic
#151707 #25290D #4F571C #79852B #A3B43A

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##4F571C#FFFFFF#000000##FFFFFF
##4F571C1.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)
#5D5215
Deuteranopia (green-blind)
#5C5320
Tritanopia (blue-blind)
#54524B
Achromatopsia (no color)
#535353

Design tokens & code

CSS
--color: #4f571c;
/* rgb */ color: rgb(79, 87, 28);
/* oklch */ color: oklch(43.6% 0.082 116.5);
Tailwind
colors: {
  custom: {
    50: '#82865b',
    500: '#4f571c',
    950: '#000000',
  },
}
SCSS
$custom: #4f571c;
$custom-light: #82865b;
$custom-dark: #000000;
JSON
{
  "hex": "#4f571c",
  "rgb": {
    "r": 79,
    "g": 87,
    "b": 28
  },
  "hsl": {
    "h": 68.136,
    "s": 51.304,
    "l": 22.549
  },
  "oklch": {
    "l": 0.4365,
    "c": 0.08194,
    "h": 116.5
  },
  "luminance": 0.08562
}

Semantic roles & 50–950 ramp

primary
#4F571C
secondary
#4C428D
accent
#4DDB60
background
#F8F8F5
surface
#EFEFE9
border
#CACAC5
text
#0B0B04
muted
#7C7C79

Preview Lab

Preview with #4F571C

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

Preview Lab → · Contrast checker → · Palette generator →

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