#4F541B#4F541B

#4F541B is a dark, moderate yellow. Relative luminance 0.081; OKLCH L 42.9% C 0.079 H 114.0°. Best body text is #FFFFFF at 8.03:1 contrast (WCAG AA passes).

Color values

HEX#4F541B
RGBrgb(79, 84, 27)
HSLhsl(65, 51%, 22%)
HSVhsv(65, 68%, 33%)
CMYKcmyk(6%, 0%, 67.9%, 67.1%)
CIE-LABlab(34.15, -10.74, 31.59)
CIE-LCHlch(34.15, 33.37, 108.78°)
OKLaboklab(42.86% -0.032 0.072)
OKLCHoklch(42.86% 0.079 114)
XYZxyz(6.5928, 8.0822, 2.2494)
Luminance0.0808 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4F541B #201B54
analogous
#543D1B #4F541B #33541B
triadic
#4F541B #1B4F54 #541B4F
tetradic
#4F541B #1B543D #201B54 #541B33
square
#4F541B #1B543D #201B54 #541B33
split-complementary
#4F541B #1B3354 #3D1B54
monochromatic
#161707 #23260C #4F541B #7B822A #A6B139

Accessibility & contrast

On white

8.03
#4F541B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.62
#4F541B on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4F541B
8.03:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4F541B#FFFFFF#000000##FFFFFF
##4F541B1.008.032.628.03
#FFFFFF8.031.0021.001.00
#0000002.6221.001.0021.00
##FFFFFF8.031.0021.001.00

Color blindness preview

Protanopia (red-blind)
#5A5014
Deuteranopia (green-blind)
#5A511F
Tritanopia (blue-blind)
#544F48
Achromatopsia (no color)
#505050

Design tokens & code

CSS
--color: #4f541b;
/* rgb */ color: rgb(79, 84, 27);
/* oklch */ color: oklch(42.9% 0.079 114.0);
Tailwind
colors: {
  custom: {
    50: '#82845a',
    500: '#4f541b',
    950: '#000000',
  },
}
SCSS
$custom: #4f541b;
$custom-light: #82845a;
$custom-dark: #000000;
JSON
{
  "hex": "#4f541b",
  "rgb": {
    "r": 79,
    "g": 84,
    "b": 27
  },
  "hsl": {
    "h": 65.263,
    "s": 51.351,
    "l": 21.765
  },
  "oklch": {
    "l": 0.42865,
    "c": 0.07883,
    "h": 114
  },
  "luminance": 0.08082
}

Semantic roles & 50–950 ramp

primary
#4F541B
secondary
#47418A
accent
#4DDB59
background
#F8F8F5
surface
#EFEFE9
border
#CACAC5
text
#0B0A04
muted
#7C7C79

Preview Lab

Preview with #4F541B

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

Preview Lab → · Contrast checker → · Palette generator →

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