#4F540D#4F540D

#4F540D is a dark, moderate yellow. Relative luminance 0.080; OKLCH L 42.7% C 0.089 H 113.8°. Best body text is #FFFFFF at 8.06:1 contrast (WCAG AA passes).

Color values

HEX#4F540D
RGBrgb(79, 84, 13)
HSLhsl(64, 73%, 19%)
HSVhsv(64, 85%, 33%)
CMYKcmyk(6%, 0%, 84.5%, 67.1%)
CIE-LABlab(34.05, -11.60, 37.40)
CIE-LCHlch(34.05, 39.16, 107.23°)
OKLaboklab(42.75% -0.0359 0.0816)
OKLCHoklch(42.75% 0.089 113.8)
XYZxyz(6.4676, 8.0321, 1.5903)
Luminance0.0803 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4F540D #120D54
analogous
#54360D #4F540D #2C540D
triadic
#4F540D #0D4F54 #540D4F
tetradic
#4F540D #0D5436 #120D54 #540D2C
square
#4F540D #0D5436 #120D54 #540D2C
split-complementary
#4F540D #0D2C54 #360D54
monochromatic
#191A04 #1D1F05 #4F540D #818915 #B3BE1D

Accessibility & contrast

On white

8.06
#4F540D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.61
#4F540D on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4F540D
8.06:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4F540D#FFFFFF#000000##FFFFFF
##4F540D1.008.062.618.06
#FFFFFF8.061.0021.001.00
#0000002.6121.001.0021.00
##FFFFFF8.061.0021.001.00

Color blindness preview

Protanopia (red-blind)
#5B4F00
Deuteranopia (green-blind)
#5B5114
Tritanopia (blue-blind)
#554E47
Achromatopsia (no color)
#505050

Design tokens & code

CSS
--color: #4f540d;
/* rgb */ color: rgb(79, 84, 13);
/* oklch */ color: oklch(42.7% 0.089 113.8);
Tailwind
colors: {
  custom: {
    50: '#838453',
    500: '#4f540d',
    950: '#000000',
  },
}
SCSS
$custom: #4f540d;
$custom-light: #838453;
$custom-dark: #000000;
JSON
{
  "hex": "#4f540d",
  "rgb": {
    "r": 79,
    "g": 84,
    "b": 13
  },
  "hsl": {
    "h": 64.225,
    "s": 73.196,
    "l": 19.02
  },
  "oklch": {
    "l": 0.42749,
    "c": 0.0892,
    "h": 113.8
  },
  "luminance": 0.08032
}

Semantic roles & 50–950 ramp

primary
#4F540D
secondary
#352E8F
accent
#38F045
background
#F8F8F4
surface
#EFEFE8
border
#CACAC4
text
#0B0A03
muted
#7C7C78

Preview Lab

Preview with #4F540D

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

Preview Lab → · Contrast checker → · Palette generator →

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