#4F4815#4F4815

#4F4815 is a dark, moderate yellow. Relative luminance 0.064; OKLCH L 39.8% C 0.070 H 101.4°. Best body text is #FFFFFF at 9.25:1 contrast (WCAG AA passes).

Color values

HEX#4F4815
RGBrgb(79, 72, 21)
HSLhsl(53, 58%, 20%)
HSVhsv(53, 73%, 31%)
CMYKcmyk(0%, 8.9%, 73.4%, 69%)
CIE-LABlab(30.28, -4.04, 30.44)
CIE-LCHlch(30.28, 30.71, 97.56°)
OKLaboklab(39.76% -0.0138 0.0685)
OKLCHoklch(39.76% 0.07 101.4)
XYZxyz(5.6774, 6.3514, 1.6362)
Luminance0.0635 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4F4815 #151C4F
analogous
#4F2B15 #4F4815 #394F15
triadic
#4F4815 #154F48 #48154F
tetradic
#4F4815 #154F2B #151C4F #4F1539
square
#4F4815 #154F2B #151C4F #4F1539
split-complementary
#4F4815 #15394F #2B154F
monochromatic
#181606 #1F1C08 #4F4815 #7F7422 #B0A02F

Accessibility & contrast

On white

9.25
#4F4815 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #4F4815
9.25:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4F4815#FFFFFF#000000##FFFFFF
##4F48151.009.252.279.25
#FFFFFF9.251.0021.001.00
#0000002.2721.001.0021.00
##FFFFFF9.251.0021.001.00

Color blindness preview

Protanopia (red-blind)
#4F460E
Deuteranopia (green-blind)
#514918
Tritanopia (blue-blind)
#55423E
Achromatopsia (no color)
#474747

Design tokens & code

CSS
--color: #4f4815;
/* rgb */ color: rgb(79, 72, 21);
/* oklch */ color: oklch(39.8% 0.070 101.4);
Tailwind
colors: {
  custom: {
    50: '#837a55',
    500: '#4f4815',
    950: '#000000',
  },
}
SCSS
$custom: #4f4815;
$custom-light: #837a55;
$custom-dark: #000000;
JSON
{
  "hex": "#4f4815",
  "rgb": {
    "r": 79,
    "g": 72,
    "b": 21
  },
  "hsl": {
    "h": 52.759,
    "s": 58,
    "l": 19.608
  },
  "oklch": {
    "l": 0.3976,
    "c": 0.06993,
    "h": 101.4
  },
  "luminance": 0.06351
}

Semantic roles & 50–950 ramp

primary
#4F4815
secondary
#394287
accent
#59E147
background
#F8F7F5
surface
#EFEDE9
border
#CAC8C5
text
#0B0903
muted
#7C7B78

Preview Lab

Preview with #4F4815

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

Preview Lab → · Contrast checker → · Palette generator →

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