#4F4813#4F4813

#4F4813 is a dark, moderate yellow. Relative luminance 0.063; OKLCH L 39.7% C 0.072 H 101.7°. Best body text is #FFFFFF at 9.26:1 contrast (WCAG AA passes).

Color values

HEX#4F4813
RGBrgb(79, 72, 19)
HSLhsl(53, 61%, 19%)
HSVhsv(53, 76%, 31%)
CMYKcmyk(0%, 8.9%, 75.9%, 69%)
CIE-LABlab(30.27, -4.17, 31.38)
CIE-LCHlch(30.27, 31.65, 97.57°)
OKLaboklab(39.74% -0.0145 0.0701)
OKLCHoklch(39.74% 0.072 101.7)
XYZxyz(5.6596, 6.3443, 1.5424)
Luminance0.0634 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4F4813 #131A4F
analogous
#4F2A13 #4F4813 #384F13
triadic
#4F4813 #134F48 #48134F
tetradic
#4F4813 #134F2A #131A4F #4F1338
square
#4F4813 #134F2A #131A4F #4F1338
split-complementary
#4F4813 #13384F #2A134F
monochromatic
#191606 #1E1B07 #4F4813 #80751F #B2A22B

Accessibility & contrast

On white

9.26
#4F4813 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.27
#4F4813 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4F4813
9.26:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4F4813#FFFFFF#000000##FFFFFF
##4F48131.009.262.279.26
#FFFFFF9.261.0021.001.00
#0000002.2721.001.0021.00
##FFFFFF9.261.0021.001.00

Color blindness preview

Protanopia (red-blind)
#4F460B
Deuteranopia (green-blind)
#514916
Tritanopia (blue-blind)
#56423D
Achromatopsia (no color)
#474747

Design tokens & code

CSS
--color: #4f4813;
/* rgb */ color: rgb(79, 72, 19);
/* oklch */ color: oklch(39.7% 0.072 101.7);
Tailwind
colors: {
  custom: {
    50: '#837a54',
    500: '#4f4813',
    950: '#000000',
  },
}
SCSS
$custom: #4f4813;
$custom-light: #837a54;
$custom-dark: #000000;
JSON
{
  "hex": "#4f4813",
  "rgb": {
    "r": 79,
    "g": 72,
    "b": 19
  },
  "hsl": {
    "h": 53,
    "s": 61.224,
    "l": 19.216
  },
  "oklch": {
    "l": 0.39741,
    "c": 0.07159,
    "h": 101.7
  },
  "luminance": 0.06344
}

Semantic roles & 50–950 ramp

primary
#4F4813
secondary
#364088
accent
#56E443
background
#F8F7F5
surface
#EFEDE8
border
#CAC8C4
text
#0B0903
muted
#7C7B78

Preview Lab

Preview with #4F4813

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

Preview Lab → · Contrast checker → · Palette generator →

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