#4F4714#4F4714

#4F4714 is a dark, moderate yellow. Relative luminance 0.062; OKLCH L 39.5% C 0.070 H 100.3°. Best body text is #FFFFFF at 9.36:1 contrast (WCAG AA passes).

Color values

HEX#4F4714
RGBrgb(79, 71, 20)
HSLhsl(52, 60%, 19%)
HSVhsv(52, 75%, 31%)
CMYKcmyk(0%, 10.1%, 74.7%, 69%)
CIE-LABlab(29.96, -3.49, 30.59)
CIE-LCHlch(29.96, 30.79, 96.51°)
OKLaboklab(39.5% -0.0124 0.0687)
OKLCHoklch(39.5% 0.07 100.3)
XYZxyz(5.6042, 6.2195, 1.5670)
Luminance0.0622 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4F4714 #141C4F
analogous
#4F2A14 #4F4714 #3A4F14
triadic
#4F4714 #144F47 #47144F
tetradic
#4F4714 #144F2A #141C4F #4F143A
square
#4F4714 #144F2A #141C4F #4F143A
split-complementary
#4F4714 #143A4F #2A144F
monochromatic
#181606 #1E1B08 #4F4714 #807320 #B19F2D

Accessibility & contrast

On white

9.36
#4F4714 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.24
#4F4714 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4F4714
9.36:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4F4714#FFFFFF#000000##FFFFFF
##4F47141.009.362.249.36
#FFFFFF9.361.0021.001.00
#0000002.2421.001.0021.00
##FFFFFF9.361.0021.001.00

Color blindness preview

Protanopia (red-blind)
#4E450D
Deuteranopia (green-blind)
#514817
Tritanopia (blue-blind)
#56413D
Achromatopsia (no color)
#474747

Design tokens & code

CSS
--color: #4f4714;
/* rgb */ color: rgb(79, 71, 20);
/* oklch */ color: oklch(39.5% 0.070 100.3);
Tailwind
colors: {
  custom: {
    50: '#837a55',
    500: '#4f4714',
    950: '#000000',
  },
}
SCSS
$custom: #4f4714;
$custom-light: #837a55;
$custom-dark: #000000;
JSON
{
  "hex": "#4f4714",
  "rgb": {
    "r": 79,
    "g": 71,
    "b": 20
  },
  "hsl": {
    "h": 51.864,
    "s": 59.596,
    "l": 19.412
  },
  "oklch": {
    "l": 0.39502,
    "c": 0.06978,
    "h": 100.3
  },
  "luminance": 0.06219
}

Semantic roles & 50–950 ramp

primary
#4F4714
secondary
#384287
accent
#5AE345
background
#F8F7F5
surface
#EFEDE9
border
#CAC8C5
text
#0B0903
muted
#7C7B78

Preview Lab

Preview with #4F4714

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

Preview Lab → · Contrast checker → · Palette generator →

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