#4D4F16#4D4F16

#4D4F16 is a dark, moderate yellow. Relative luminance 0.072; OKLCH L 41.3% C 0.077 H 111.3°. Best body text is #FFFFFF at 8.59:1 contrast (WCAG AA passes).

Color values

HEX#4D4F16
RGBrgb(77, 79, 22)
HSLhsl(62, 56%, 20%)
HSVhsv(62, 72%, 31%)
CMYKcmyk(2.5%, 0%, 72.2%, 69%)
CIE-LABlab(32.32, -9.17, 32.01)
CIE-LCHlch(32.32, 33.30, 105.99°)
OKLaboklab(41.34% -0.0281 0.0721)
OKLCHoklch(41.34% 0.077 111.3)
XYZxyz(6.0015, 7.2278, 1.8379)
Luminance0.0723 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4D4F16 #18164F
analogous
#4F3416 #4D4F16 #314F16
triadic
#4D4F16 #164D4F #4F164D
tetradic
#4D4F16 #164F34 #18164F #4F1631
square
#4D4F16 #164F34 #18164F #4F1631
split-complementary
#4D4F16 #16314F #34164F
monochromatic
#171807 #1E1F09 #4D4F16 #7C7F23 #AAAF31

Accessibility & contrast

On white

8.59
#4D4F16 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.45
#4D4F16 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4D4F16
8.59:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4D4F16#FFFFFF#000000##FFFFFF
##4D4F161.008.592.458.59
#FFFFFF8.591.0021.001.00
#0000002.4521.001.0021.00
##FFFFFF8.591.0021.001.00

Color blindness preview

Protanopia (red-blind)
#564B0E
Deuteranopia (green-blind)
#564D1A
Tritanopia (blue-blind)
#534A43
Achromatopsia (no color)
#4C4C4C

Design tokens & code

CSS
--color: #4d4f16;
/* rgb */ color: rgb(77, 79, 22);
/* oklch */ color: oklch(41.3% 0.077 111.3);
Tailwind
colors: {
  custom: {
    50: '#818057',
    500: '#4d4f16',
    950: '#000000',
  },
}
SCSS
$custom: #4d4f16;
$custom-light: #818057;
$custom-dark: #000000;
JSON
{
  "hex": "#4d4f16",
  "rgb": {
    "r": 77,
    "g": 79,
    "b": 22
  },
  "hsl": {
    "h": 62.105,
    "s": 56.436,
    "l": 19.804
  },
  "oklch": {
    "l": 0.41339,
    "c": 0.07738,
    "h": 111.3
  },
  "luminance": 0.07228
}

Semantic roles & 50–950 ramp

primary
#4D4F16
secondary
#3D3A86
accent
#48E04D
background
#F8F7F5
surface
#EFEEE9
border
#CAC9C5
text
#0A0A03
muted
#7C7C78

Preview Lab

Preview with #4D4F16

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

Preview Lab → · Contrast checker → · Palette generator →

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