#4F4916#4F4916

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

Color values

HEX#4F4916
RGBrgb(79, 73, 22)
HSLhsl(54, 56%, 20%)
HSVhsv(54, 72%, 31%)
CMYKcmyk(0%, 7.6%, 72.2%, 69%)
CIE-LABlab(30.61, -4.58, 30.29)
CIE-LCHlch(30.61, 30.64, 98.60°)
OKLaboklab(40.02% -0.0153 0.0684)
OKLCHoklch(40.02% 0.07 102.6)
XYZxyz(5.7520, 6.4855, 1.7077)
Luminance0.0649 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4F4916 #161C4F
analogous
#4F2C16 #4F4916 #394F16
triadic
#4F4916 #164F49 #49164F
tetradic
#4F4916 #164F2C #161C4F #4F1639
square
#4F4916 #164F2C #161C4F #4F1639
split-complementary
#4F4916 #16394F #2C164F
monochromatic
#181607 #1F1D09 #4F4916 #7F7523 #AFA131

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##4F4916#FFFFFF#000000##FFFFFF
##4F49161.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)
#50470F
Deuteranopia (green-blind)
#524919
Tritanopia (blue-blind)
#55443E
Achromatopsia (no color)
#484848

Design tokens & code

CSS
--color: #4f4916;
/* rgb */ color: rgb(79, 73, 22);
/* oklch */ color: oklch(40.0% 0.070 102.6);
Tailwind
colors: {
  custom: {
    50: '#827b56',
    500: '#4f4916',
    950: '#000000',
  },
}
SCSS
$custom: #4f4916;
$custom-light: #827b56;
$custom-dark: #000000;
JSON
{
  "hex": "#4f4916",
  "rgb": {
    "r": 79,
    "g": 73,
    "b": 22
  },
  "hsl": {
    "h": 53.684,
    "s": 56.436,
    "l": 19.804
  },
  "oklch": {
    "l": 0.4002,
    "c": 0.07009,
    "h": 102.6
  },
  "luminance": 0.06485
}

Semantic roles & 50–950 ramp

primary
#4F4916
secondary
#3A4286
accent
#58E048
background
#F8F7F5
surface
#EFEDE9
border
#CAC8C5
text
#0B0903
muted
#7C7B78

Preview Lab

Preview with #4F4916

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

Preview Lab → · Contrast checker → · Palette generator →

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