#4F5011#4F5011

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

Color values

HEX#4F5011
RGBrgb(79, 80, 17)
HSLhsl(61, 65%, 19%)
HSVhsv(61, 79%, 31%)
CMYKcmyk(1.2%, 0%, 78.8%, 68.6%)
CIE-LABlab(32.79, -9.08, 34.73)
CIE-LCHlch(32.79, 35.89, 104.66°)
OKLaboklab(41.75% -0.0285 0.0768)
OKLCHoklch(41.75% 0.082 110.4)
XYZxyz(6.1945, 7.4402, 1.6400)
Luminance0.0744 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4F5011 #121150
analogous
#503211 #4F5011 #305011
triadic
#4F5011 #114F50 #50114F
tetradic
#4F5011 #115032 #121150 #501130
square
#4F5011 #115032 #121150 #501130
split-complementary
#4F5011 #113050 #321150
monochromatic
#191905 #1D1E06 #4F5011 #81821C #B3B526

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##4F5011#FFFFFF#000000##FFFFFF
##4F50111.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)
#574C06
Deuteranopia (green-blind)
#584E16
Tritanopia (blue-blind)
#554A44
Achromatopsia (no color)
#4D4D4D

Design tokens & code

CSS
--color: #4f5011;
/* rgb */ color: rgb(79, 80, 17);
/* oklch */ color: oklch(41.7% 0.082 110.4);
Tailwind
colors: {
  custom: {
    50: '#838054',
    500: '#4f5011',
    950: '#000000',
  },
}
SCSS
$custom: #4f5011;
$custom-light: #838054;
$custom-dark: #000000;
JSON
{
  "hex": "#4f5011",
  "rgb": {
    "r": 79,
    "g": 80,
    "b": 17
  },
  "hsl": {
    "h": 60.952,
    "s": 64.948,
    "l": 19.02
  },
  "oklch": {
    "l": 0.41747,
    "c": 0.08191,
    "h": 110.4
  },
  "luminance": 0.0744
}

Semantic roles & 50–950 ramp

primary
#4F5011
secondary
#353389
accent
#40E843
background
#F8F7F5
surface
#EFEEE9
border
#CAC9C5
text
#0B0A03
muted
#7C7C78

Preview Lab

Preview with #4F5011

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

Preview Lab → · Contrast checker → · Palette generator →

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