#4F591B#4F591B

#4F591B is a dark, moderate yellow. Relative luminance 0.089; OKLCH L 44.2% C 0.086 H 117.9°. Best body text is #FFFFFF at 7.56:1 contrast (WCAG AA passes).

Color values

HEX#4F591B
RGBrgb(79, 89, 27)
HSLhsl(70, 53%, 23%)
HSVhsv(70, 70%, 35%)
CMYKcmyk(11.2%, 0%, 69.7%, 65.1%)
CIE-LABlab(35.76, -13.59, 33.30)
CIE-LCHlch(35.76, 35.97, 112.20°)
OKLaboklab(44.16% -0.04 0.0756)
OKLCHoklch(44.16% 0.086 117.9)
XYZxyz(6.9948, 8.8862, 2.3834)
Luminance0.0889 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4F591B #251B59
analogous
#59441B #4F591B #30591B
triadic
#4F591B #1B4F59 #591B4F
tetradic
#4F591B #1B5944 #251B59 #591B30
square
#4F591B #1B5944 #251B59 #591B30
split-complementary
#4F591B #1B3059 #441B59
monochromatic
#151707 #252A0D #4F591B #798829 #A2B737

Accessibility & contrast

On white

7.56
#4F591B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.78
#4F591B on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4F591B
7.56:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4F591B#FFFFFF#000000##FFFFFF
##4F591B1.007.562.787.56
#FFFFFF7.561.0021.001.00
#0000002.7821.001.0021.00
##FFFFFF7.561.0021.001.00

Color blindness preview

Protanopia (red-blind)
#5F5413
Deuteranopia (green-blind)
#5E541F
Tritanopia (blue-blind)
#54544C
Achromatopsia (no color)
#545454

Design tokens & code

CSS
--color: #4f591b;
/* rgb */ color: rgb(79, 89, 27);
/* oklch */ color: oklch(44.2% 0.086 117.9);
Tailwind
colors: {
  custom: {
    50: '#82875b',
    500: '#4f591b',
    950: '#000000',
  },
}
SCSS
$custom: #4f591b;
$custom-light: #82875b;
$custom-dark: #000000;
JSON
{
  "hex": "#4f591b",
  "rgb": {
    "r": 79,
    "g": 89,
    "b": 27
  },
  "hsl": {
    "h": 69.677,
    "s": 53.448,
    "l": 22.745
  },
  "oklch": {
    "l": 0.44157,
    "c": 0.08557,
    "h": 117.9
  },
  "luminance": 0.08886
}

Semantic roles & 50–950 ramp

primary
#4F591B
secondary
#4E418F
accent
#4BDD62
background
#F8F8F5
surface
#EFEFE9
border
#CACAC5
text
#0B0B04
muted
#7C7C79

Preview Lab

Preview with #4F591B

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

Preview Lab → · Contrast checker → · Palette generator →

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