#4F5016#4F5016

#4F5016 is a dark, moderate yellow. Relative luminance 0.075; OKLCH L 41.8% C 0.078 H 110.3°. Best body text is #FFFFFF at 8.43:1 contrast (WCAG AA passes).

Color values

HEX#4F5016
RGBrgb(79, 80, 22)
HSLhsl(61, 57%, 20%)
HSVhsv(61, 73%, 31%)
CMYKcmyk(1.2%, 0%, 72.5%, 68.6%)
CIE-LABlab(32.83, -8.78, 32.59)
CIE-LCHlch(32.83, 33.75, 105.07°)
OKLaboklab(41.79% -0.0271 0.0733)
OKLCHoklch(41.79% 0.078 110.3)
XYZxyz(6.2381, 7.4577, 1.8698)
Luminance0.0746 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4F5016 #171650
analogous
#503416 #4F5016 #325016
triadic
#4F5016 #164F50 #50164F
tetradic
#4F5016 #165034 #171650 #501632
square
#4F5016 #165034 #171650 #501632
split-complementary
#4F5016 #163250 #341650
monochromatic
#181807 #202009 #4F5016 #7E8023 #AEB030

Accessibility & contrast

On white

8.43
#4F5016 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.49
#4F5016 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4F5016
8.43:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4F5016#FFFFFF#000000##FFFFFF
##4F50161.008.432.498.43
#FFFFFF8.431.0021.001.00
#0000002.4921.001.0021.00
##FFFFFF8.431.0021.001.00

Color blindness preview

Protanopia (red-blind)
#574C0E
Deuteranopia (green-blind)
#574E1A
Tritanopia (blue-blind)
#554B44
Achromatopsia (no color)
#4D4D4D

Design tokens & code

CSS
--color: #4f5016;
/* rgb */ color: rgb(79, 80, 22);
/* oklch */ color: oklch(41.8% 0.078 110.3);
Tailwind
colors: {
  custom: {
    50: '#828057',
    500: '#4f5016',
    950: '#000000',
  },
}
SCSS
$custom: #4f5016;
$custom-light: #828057;
$custom-dark: #000000;
JSON
{
  "hex": "#4f5016",
  "rgb": {
    "r": 79,
    "g": 80,
    "b": 22
  },
  "hsl": {
    "h": 61.034,
    "s": 56.863,
    "l": 20
  },
  "oklch": {
    "l": 0.4179,
    "c": 0.07811,
    "h": 110.3
  },
  "luminance": 0.07458
}

Semantic roles & 50–950 ramp

primary
#4F5016
secondary
#3C3A87
accent
#48E04A
background
#F8F7F5
surface
#EFEEE9
border
#CAC9C5
text
#0B0A03
muted
#7C7C78

Preview Lab

Preview with #4F5016

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

Preview Lab → · Contrast checker → · Palette generator →

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