#4D5216#4D5216

#4D5216 is a dark, moderate yellow. Relative luminance 0.077; OKLCH L 42.1% C 0.081 H 114.0°. Best body text is #FFFFFF at 8.29:1 contrast (WCAG AA passes).

Color values

HEX#4D5216
RGBrgb(77, 82, 22)
HSLhsl(65, 58%, 20%)
HSVhsv(65, 73%, 32%)
CMYKcmyk(6.1%, 0%, 73.2%, 67.8%)
CIE-LABlab(33.29, -10.92, 33.00)
CIE-LCHlch(33.29, 34.76, 108.32°)
OKLaboklab(42.11% -0.033 0.0742)
OKLCHoklch(42.11% 0.081 114)
XYZxyz(6.2228, 7.6704, 1.9116)
Luminance0.0767 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4D5216 #1B1652
analogous
#523916 #4D5216 #2F5216
triadic
#4D5216 #164D52 #52164D
tetradic
#4D5216 #165239 #1B1652 #52162F
square
#4D5216 #165239 #1B1652 #52162F
split-complementary
#4D5216 #162F52 #391652
monochromatic
#171806 #202209 #4D5216 #7A8223 #A8B330

Accessibility & contrast

On white

8.29
#4D5216 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.53
#4D5216 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4D5216
8.29:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4D5216#FFFFFF#000000##FFFFFF
##4D52161.008.292.538.29
#FFFFFF8.291.0021.001.00
#0000002.5321.001.0021.00
##FFFFFF8.291.0021.001.00

Color blindness preview

Protanopia (red-blind)
#584E0D
Deuteranopia (green-blind)
#584F1A
Tritanopia (blue-blind)
#524D46
Achromatopsia (no color)
#4E4E4E

Design tokens & code

CSS
--color: #4d5216;
/* rgb */ color: rgb(77, 82, 22);
/* oklch */ color: oklch(42.1% 0.081 114.0);
Tailwind
colors: {
  custom: {
    50: '#818257',
    500: '#4d5216',
    950: '#000000',
  },
}
SCSS
$custom: #4d5216;
$custom-light: #818257;
$custom-dark: #000000;
JSON
{
  "hex": "#4d5216",
  "rgb": {
    "r": 77,
    "g": 82,
    "b": 22
  },
  "hsl": {
    "h": 65,
    "s": 57.692,
    "l": 20.392
  },
  "oklch": {
    "l": 0.42113,
    "c": 0.08119,
    "h": 114
  },
  "luminance": 0.0767
}

Semantic roles & 50–950 ramp

primary
#4D5216
secondary
#413A89
accent
#47E154
background
#F8F7F5
surface
#EFEEE9
border
#CAC9C5
text
#0A0A03
muted
#7C7C78

Preview Lab

Preview with #4D5216

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

Preview Lab → · Contrast checker → · Palette generator →

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