#4F561B#4F561B

#4F561B 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#4F561B
RGBrgb(79, 86, 27)
HSLhsl(67, 52%, 22%)
HSVhsv(67, 69%, 34%)
CMYKcmyk(8.1%, 0%, 68.6%, 66.3%)
CIE-LABlab(34.80, -11.89, 32.28)
CIE-LCHlch(34.80, 34.40, 110.22°)
OKLaboklab(43.38% -0.0353 0.0735)
OKLCHoklch(43.38% 0.082 115.6)
XYZxyz(6.7502, 8.3971, 2.3019)
Luminance0.0840 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4F561B #221B56
analogous
#56401B #4F561B #32561B
triadic
#4F561B #1B4F56 #561B4F
tetradic
#4F561B #1B5640 #221B56 #561B32
square
#4F561B #1B5640 #221B56 #561B32
split-complementary
#4F561B #1B3256 #401B56
monochromatic
#151707 #24270C #4F561B #7A852A #A5B338

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##4F561B#FFFFFF#000000##FFFFFF
##4F561B1.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)
#5C5113
Deuteranopia (green-blind)
#5C521F
Tritanopia (blue-blind)
#54514A
Achromatopsia (no color)
#525252

Design tokens & code

CSS
--color: #4f561b;
/* rgb */ color: rgb(79, 86, 27);
/* oklch */ color: oklch(43.4% 0.082 115.6);
Tailwind
colors: {
  custom: {
    50: '#82855b',
    500: '#4f561b',
    950: '#000000',
  },
}
SCSS
$custom: #4f561b;
$custom-light: #82855b;
$custom-dark: #000000;
JSON
{
  "hex": "#4f561b",
  "rgb": {
    "r": 79,
    "g": 86,
    "b": 27
  },
  "hsl": {
    "h": 67.119,
    "s": 52.212,
    "l": 22.157
  },
  "oklch": {
    "l": 0.43381,
    "c": 0.0815,
    "h": 115.6
  },
  "luminance": 0.08397
}

Semantic roles & 50–950 ramp

primary
#4F561B
secondary
#4A418C
accent
#4CDC5D
background
#F8F8F5
surface
#EFEFE9
border
#CACAC5
text
#0B0B04
muted
#7C7C79

Preview Lab

Preview with #4F561B

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

Preview Lab → · Contrast checker → · Palette generator →

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