#4F4F17#4F4F17

#4F4F17 is a dark, moderate yellow. Relative luminance 0.073; OKLCH L 41.5% C 0.076 H 109.3°. Best body text is #FFFFFF at 8.53:1 contrast (WCAG AA passes).

Color values

HEX#4F4F17
RGBrgb(79, 79, 23)
HSLhsl(60, 55%, 20%)
HSVhsv(60, 71%, 31%)
CMYKcmyk(0%, 0%, 70.9%, 69%)
CIE-LABlab(32.52, -8.12, 31.80)
CIE-LCHlch(32.52, 32.82, 104.32°)
OKLaboklab(41.55% -0.0251 0.0718)
OKLCHoklch(41.55% 0.076 109.3)
XYZxyz(6.1753, 7.3163, 1.8973)
Luminance0.0732 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4F4F17 #17174F
analogous
#4F3317 #4F4F17 #334F17
triadic
#4F4F17 #174F4F #4F174F
tetradic
#4F4F17 #174F33 #17174F #4F1733
square
#4F4F17 #174F33 #17174F #4F1733
split-complementary
#4F4F17 #17334F #33174F
monochromatic
#181807 #202009 #4F4F17 #7E7E25 #AEAE33

Accessibility & contrast

On white

8.53
#4F4F17 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.46
#4F4F17 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4F4F17
8.53:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4F4F17#FFFFFF#000000##FFFFFF
##4F4F171.008.532.468.53
#FFFFFF8.531.0021.001.00
#0000002.4621.001.0021.00
##FFFFFF8.531.0021.001.00

Color blindness preview

Protanopia (red-blind)
#564B0F
Deuteranopia (green-blind)
#564D1B
Tritanopia (blue-blind)
#554A44
Achromatopsia (no color)
#4C4C4C

Design tokens & code

CSS
--color: #4f4f17;
/* rgb */ color: rgb(79, 79, 23);
/* oklch */ color: oklch(41.5% 0.076 109.3);
Tailwind
colors: {
  custom: {
    50: '#828057',
    500: '#4f4f17',
    950: '#000000',
  },
}
SCSS
$custom: #4f4f17;
$custom-light: #828057;
$custom-dark: #000000;
JSON
{
  "hex": "#4f4f17",
  "rgb": {
    "r": 79,
    "g": 79,
    "b": 23
  },
  "hsl": {
    "h": 60,
    "s": 54.902,
    "l": 20
  },
  "oklch": {
    "l": 0.41545,
    "c": 0.07604,
    "h": 109.3
  },
  "luminance": 0.07316
}

Semantic roles & 50–950 ramp

primary
#4F4F17
secondary
#3C3C86
accent
#4ADE4A
background
#F8F7F5
surface
#EFEEE9
border
#CAC9C5
text
#0B0A03
muted
#7C7C78

Preview Lab

Preview with #4F4F17

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

Preview Lab → · Contrast checker → · Palette generator →

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