#4F561F#4F561F

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

Color values

HEX#4F561F
RGBrgb(79, 86, 31)
HSLhsl(68, 47%, 23%)
HSVhsv(68, 64%, 34%)
CMYKcmyk(8.1%, 0%, 64%, 66.3%)
CIE-LABlab(34.84, -11.56, 30.33)
CIE-LCHlch(34.84, 32.46, 110.86°)
OKLaboklab(43.43% -0.0338 0.07)
OKLCHoklch(43.43% 0.078 115.8)
XYZxyz(6.7997, 8.4169, 2.5625)
Luminance0.0842 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4F561F #261F56
analogous
#56411F #4F561F #33561F
triadic
#4F561F #1F4F56 #561F4F
tetradic
#4F561F #1F5641 #261F56 #561F33
square
#4F561F #1F5641 #261F56 #561F33
split-complementary
#4F561F #1F3356 #411F56
monochromatic
#151608 #26290F #4F561F #78832F #A2B03F

Accessibility & contrast

On white

7.83
#4F561F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #4F561F
7.83:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4F561F#FFFFFF#000000##FFFFFF
##4F561F1.007.832.687.83
#FFFFFF7.831.0021.001.00
#0000002.6821.001.0021.00
##FFFFFF7.831.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #4f561f;
/* rgb */ color: rgb(79, 86, 31);
/* oklch */ color: oklch(43.4% 0.078 115.8);
Tailwind
colors: {
  custom: {
    50: '#82855d',
    500: '#4f561f',
    950: '#000000',
  },
}
SCSS
$custom: #4f561f;
$custom-light: #82855d;
$custom-dark: #000000;
JSON
{
  "hex": "#4f561f",
  "rgb": {
    "r": 79,
    "g": 86,
    "b": 31
  },
  "hsl": {
    "h": 67.636,
    "s": 47.009,
    "l": 22.941
  },
  "oklch": {
    "l": 0.43425,
    "c": 0.07773,
    "h": 115.8
  },
  "luminance": 0.08417
}

Semantic roles & 50–950 ramp

primary
#4F561F
secondary
#4F468B
accent
#51D762
background
#F8F8F5
surface
#EFEFE9
border
#CACAC5
text
#0B0B04
muted
#7C7C79

Preview Lab

Preview with #4F561F

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

Preview Lab → · Contrast checker → · Palette generator →

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