#4F4917#4F4917

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

Color values

HEX#4F4917
RGBrgb(79, 73, 23)
HSLhsl(54, 55%, 20%)
HSVhsv(54, 71%, 31%)
CMYKcmyk(0%, 7.6%, 70.9%, 69%)
CIE-LABlab(30.62, -4.51, 29.81)
CIE-LCHlch(30.62, 30.15, 98.60°)
OKLaboklab(40.03% -0.0149 0.0676)
OKLCHoklch(40.03% 0.069 102.5)
XYZxyz(5.7619, 6.4894, 1.7595)
Luminance0.0649 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4F4917 #171D4F
analogous
#4F2D17 #4F4917 #394F17
triadic
#4F4917 #174F49 #49174F
tetradic
#4F4917 #174F2D #171D4F #4F1739
square
#4F4917 #174F2D #171D4F #4F1739
split-complementary
#4F4917 #17394F #2D174F
monochromatic
#181607 #201D09 #4F4917 #7E7525 #AEA133

Accessibility & contrast

On white

9.14
#4F4917 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.30
#4F4917 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4F4917
9.14:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4F4917#FFFFFF#000000##FFFFFF
##4F49171.009.142.309.14
#FFFFFF9.141.0021.001.00
#0000002.3021.001.0021.00
##FFFFFF9.141.0021.001.00

Color blindness preview

Protanopia (red-blind)
#504711
Deuteranopia (green-blind)
#52491A
Tritanopia (blue-blind)
#55443F
Achromatopsia (no color)
#484848

Design tokens & code

CSS
--color: #4f4917;
/* rgb */ color: rgb(79, 73, 23);
/* oklch */ color: oklch(40.0% 0.069 102.5);
Tailwind
colors: {
  custom: {
    50: '#827b57',
    500: '#4f4917',
    950: '#000000',
  },
}
SCSS
$custom: #4f4917;
$custom-light: #827b57;
$custom-dark: #000000;
JSON
{
  "hex": "#4f4917",
  "rgb": {
    "r": 79,
    "g": 73,
    "b": 23
  },
  "hsl": {
    "h": 53.571,
    "s": 54.902,
    "l": 20
  },
  "oklch": {
    "l": 0.40031,
    "c": 0.0692,
    "h": 102.5
  },
  "luminance": 0.06489
}

Semantic roles & 50–950 ramp

primary
#4F4917
secondary
#3C4486
accent
#59DE4A
background
#F8F7F5
surface
#EFEDE9
border
#CAC8C5
text
#0B0903
muted
#7C7B78

Preview Lab

Preview with #4F4917

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

Preview Lab → · Contrast checker → · Palette generator →

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