#4F561A#4F561A

#4F561A is a dark, moderate yellow. Relative luminance 0.084; OKLCH L 43.4% C 0.082 H 115.6°. Best body text is #FFFFFF at 7.84:1 contrast (WCAG AA passes).

Color values

HEX#4F561A
RGBrgb(79, 86, 26)
HSLhsl(67, 54%, 22%)
HSVhsv(67, 70%, 34%)
CMYKcmyk(8.1%, 0%, 69.8%, 66.3%)
CIE-LABlab(34.79, -11.97, 32.75)
CIE-LCHlch(34.79, 34.86, 110.08°)
OKLaboklab(43.37% -0.0356 0.0743)
OKLCHoklch(43.37% 0.082 115.6)
XYZxyz(6.7388, 8.3925, 2.2420)
Luminance0.0839 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4F561A #211A56
analogous
#563F1A #4F561A #31561A
triadic
#4F561A #1A4F56 #561A4F
tetradic
#4F561A #1A563F #211A56 #561A31
square
#4F561A #1A563F #211A56 #561A31
split-complementary
#4F561A #1A3156 #3F1A56
monochromatic
#161707 #24270C #4F561A #7A8528 #A5B436

Accessibility & contrast

On white

7.84
#4F561A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.68
#4F561A on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4F561A
7.84:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4F561A#FFFFFF#000000##FFFFFF
##4F561A1.007.842.687.84
#FFFFFF7.841.0021.001.00
#0000002.6821.001.0021.00
##FFFFFF7.841.0021.001.00

Color blindness preview

Protanopia (red-blind)
#5C5112
Deuteranopia (green-blind)
#5C521E
Tritanopia (blue-blind)
#54514A
Achromatopsia (no color)
#525252

Design tokens & code

CSS
--color: #4f561a;
/* rgb */ color: rgb(79, 86, 26);
/* oklch */ color: oklch(43.4% 0.082 115.6);
Tailwind
colors: {
  custom: {
    50: '#82855a',
    500: '#4f561a',
    950: '#000000',
  },
}
SCSS
$custom: #4f561a;
$custom-light: #82855a;
$custom-dark: #000000;
JSON
{
  "hex": "#4f561a",
  "rgb": {
    "r": 79,
    "g": 86,
    "b": 26
  },
  "hsl": {
    "h": 67,
    "s": 53.571,
    "l": 21.961
  },
  "oklch": {
    "l": 0.4337,
    "c": 0.08238,
    "h": 115.6
  },
  "luminance": 0.08392
}

Semantic roles & 50–950 ramp

primary
#4F561A
secondary
#49408C
accent
#4BDD5C
background
#F8F8F5
surface
#EFEFE9
border
#CACAC5
text
#0B0B04
muted
#7C7C79

Preview Lab

Preview with #4F561A

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

Preview Lab → · Contrast checker → · Palette generator →

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