#4F5013#4F5013

#4F5013 is a dark, moderate yellow. Relative luminance 0.074; OKLCH L 41.8% C 0.080 H 110.4°. Best body text is #FFFFFF at 8.44:1 contrast (WCAG AA passes).

Color values

HEX#4F5013
RGBrgb(79, 80, 19)
HSLhsl(61, 62%, 19%)
HSVhsv(61, 76%, 31%)
CMYKcmyk(1.2%, 0%, 76.3%, 68.6%)
CIE-LABlab(32.80, -8.97, 33.90)
CIE-LCHlch(32.80, 35.07, 104.82°)
OKLaboklab(41.76% -0.028 0.0754)
OKLCHoklch(41.76% 0.08 110.4)
XYZxyz(6.2109, 7.4468, 1.7262)
Luminance0.0745 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4F5013 #141350
analogous
#503313 #4F5013 #315013
triadic
#4F5013 #134F50 #50134F
tetradic
#4F5013 #135033 #141350 #501331
square
#4F5013 #135033 #141350 #501331
split-complementary
#4F5013 #133150 #331350
monochromatic
#181906 #1E1F07 #4F5013 #80811F #B1B32A

Accessibility & contrast

On white

8.44
#4F5013 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #4F5013
8.44:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4F5013#FFFFFF#000000##FFFFFF
##4F50131.008.442.498.44
#FFFFFF8.441.0021.001.00
#0000002.4921.001.0021.00
##FFFFFF8.441.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #4f5013;
/* rgb */ color: rgb(79, 80, 19);
/* oklch */ color: oklch(41.8% 0.080 110.4);
Tailwind
colors: {
  custom: {
    50: '#838055',
    500: '#4f5013',
    950: '#000000',
  },
}
SCSS
$custom: #4f5013;
$custom-light: #838055;
$custom-dark: #000000;
JSON
{
  "hex": "#4f5013",
  "rgb": {
    "r": 79,
    "g": 80,
    "b": 19
  },
  "hsl": {
    "h": 60.984,
    "s": 61.616,
    "l": 19.412
  },
  "oklch": {
    "l": 0.41763,
    "c": 0.08047,
    "h": 110.4
  },
  "luminance": 0.07447
}

Semantic roles & 50–950 ramp

primary
#4F5013
secondary
#383689
accent
#43E546
background
#F8F7F5
surface
#EFEEE9
border
#CAC9C5
text
#0B0A03
muted
#7C7C78

Preview Lab

Preview with #4F5013

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

Preview Lab → · Contrast checker → · Palette generator →

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