#4F4911#4F4911

#4F4911 is a dark, moderate yellow. Relative luminance 0.065; OKLCH L 40.0% C 0.074 H 103.1°. Best body text is #FFFFFF at 9.16:1 contrast (WCAG AA passes).

Color values

HEX#4F4911
RGBrgb(79, 73, 17)
HSLhsl(54, 65%, 19%)
HSVhsv(54, 78%, 31%)
CMYKcmyk(0%, 7.6%, 78.5%, 69%)
CIE-LABlab(30.56, -4.90, 32.57)
CIE-LCHlch(30.56, 32.94, 98.55°)
OKLaboklab(39.97% -0.0168 0.0722)
OKLCHoklch(39.97% 0.074 103.1)
XYZxyz(5.7084, 6.4681, 1.4780)
Luminance0.0647 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4F4911 #11174F
analogous
#4F2A11 #4F4911 #364F11
triadic
#4F4911 #114F49 #49114F
tetradic
#4F4911 #114F2A #11174F #4F1136
square
#4F4911 #114F2A #11174F #4F1136
split-complementary
#4F4911 #11364F #2A114F
monochromatic
#191705 #1D1A06 #4F4911 #81781C #B4A627

Accessibility & contrast

On white

9.16
#4F4911 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.29
#4F4911 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4F4911
9.16:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4F4911#FFFFFF#000000##FFFFFF
##4F49111.009.162.299.16
#FFFFFF9.161.0021.001.00
#0000002.2921.001.0021.00
##FFFFFF9.161.0021.001.00

Color blindness preview

Protanopia (red-blind)
#504608
Deuteranopia (green-blind)
#524915
Tritanopia (blue-blind)
#56433E
Achromatopsia (no color)
#484848

Design tokens & code

CSS
--color: #4f4911;
/* rgb */ color: rgb(79, 73, 17);
/* oklch */ color: oklch(40.0% 0.074 103.1);
Tailwind
colors: {
  custom: {
    50: '#837b53',
    500: '#4f4911',
    950: '#000000',
  },
}
SCSS
$custom: #4f4911;
$custom-light: #837b53;
$custom-dark: #000000;
JSON
{
  "hex": "#4f4911",
  "rgb": {
    "r": 79,
    "g": 73,
    "b": 17
  },
  "hsl": {
    "h": 54.194,
    "s": 64.583,
    "l": 18.824
  },
  "oklch": {
    "l": 0.39974,
    "c": 0.07416,
    "h": 103.1
  },
  "luminance": 0.06468
}

Semantic roles & 50–950 ramp

primary
#4F4911
secondary
#333C88
accent
#50E840
background
#F8F7F4
surface
#EFEDE7
border
#CAC8C3
text
#0B0903
muted
#7C7B78

Preview Lab

Preview with #4F4911

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

Preview Lab → · Contrast checker → · Palette generator →

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