#4D4F15#4D4F15

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

Color values

HEX#4D4F15
RGBrgb(77, 79, 21)
HSLhsl(62, 58%, 20%)
HSVhsv(62, 73%, 31%)
CMYKcmyk(2.5%, 0%, 73.4%, 69%)
CIE-LABlab(32.31, -9.24, 32.46)
CIE-LCHlch(32.31, 33.75, 105.89°)
OKLaboklab(41.33% -0.0284 0.0729)
OKLCHoklch(41.33% 0.078 111.3)
XYZxyz(5.9921, 7.2240, 1.7881)
Luminance0.0722 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4D4F15 #17154F
analogous
#4F3415 #4D4F15 #304F15
triadic
#4D4F15 #154D4F #4F154D
tetradic
#4D4F15 #154F34 #17154F #4F1530
square
#4D4F15 #154F34 #17154F #4F1530
split-complementary
#4D4F15 #15304F #34154F
monochromatic
#181806 #1E1F08 #4D4F15 #7C7F22 #ABB02F

Accessibility & contrast

On white

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

On black

2.44
#4D4F15 on #000000
AA ✗AA large ✗AAA ✗

Best text color

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

Contrast matrix

fg \ bg##4D4F15#FFFFFF#000000##FFFFFF
##4D4F151.008.592.448.59
#FFFFFF8.591.0021.001.00
#0000002.4421.001.0021.00
##FFFFFF8.591.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #4d4f15;
/* rgb */ color: rgb(77, 79, 21);
/* oklch */ color: oklch(41.3% 0.078 111.3);
Tailwind
colors: {
  custom: {
    50: '#818056',
    500: '#4d4f15',
    950: '#000000',
  },
}
SCSS
$custom: #4d4f15;
$custom-light: #818056;
$custom-dark: #000000;
JSON
{
  "hex": "#4d4f15",
  "rgb": {
    "r": 77,
    "g": 79,
    "b": 21
  },
  "hsl": {
    "h": 62.069,
    "s": 58,
    "l": 19.608
  },
  "oklch": {
    "l": 0.4133,
    "c": 0.07821,
    "h": 111.3
  },
  "luminance": 0.07224
}

Semantic roles & 50–950 ramp

primary
#4D4F15
secondary
#3C3987
accent
#47E14C
background
#F8F7F5
surface
#EFEEE9
border
#CAC9C5
text
#0A0A03
muted
#7C7C78

Preview Lab

Preview with #4D4F15

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

Preview Lab → · Contrast checker → · Palette generator →

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