#4D5116#4D5116

#4D5116 is a dark, moderate yellow. Relative luminance 0.075; OKLCH L 41.9% C 0.080 H 113.1°. Best body text is #FFFFFF at 8.39:1 contrast (WCAG AA passes).

Color values

HEX#4D5116
RGBrgb(77, 81, 22)
HSLhsl(64, 57%, 20%)
HSVhsv(64, 73%, 32%)
CMYKcmyk(4.9%, 0%, 72.8%, 68.2%)
CIE-LABlab(32.96, -10.34, 32.67)
CIE-LCHlch(32.96, 34.26, 107.57°)
OKLaboklab(41.86% -0.0314 0.0735)
OKLCHoklch(41.86% 0.08 113.1)
XYZxyz(6.1480, 7.5207, 1.8867)
Luminance0.0752 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4D5116 #1A1651
analogous
#513816 #4D5116 #2F5116
triadic
#4D5116 #164D51 #51164D
tetradic
#4D5116 #165138 #1A1651 #51162F
square
#4D5116 #165138 #1A1651 #51162F
split-complementary
#4D5116 #162F51 #381651
monochromatic
#171807 #1F2109 #4D5116 #7B8123 #A9B130

Accessibility & contrast

On white

8.39
#4D5116 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.50
#4D5116 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4D5116
8.39:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4D5116#FFFFFF#000000##FFFFFF
##4D51161.008.392.508.39
#FFFFFF8.391.0021.001.00
#0000002.5021.001.0021.00
##FFFFFF8.391.0021.001.00

Color blindness preview

Protanopia (red-blind)
#574D0D
Deuteranopia (green-blind)
#574E1A
Tritanopia (blue-blind)
#524C45
Achromatopsia (no color)
#4E4E4E

Design tokens & code

CSS
--color: #4d5116;
/* rgb */ color: rgb(77, 81, 22);
/* oklch */ color: oklch(41.9% 0.080 113.1);
Tailwind
colors: {
  custom: {
    50: '#818157',
    500: '#4d5116',
    950: '#000000',
  },
}
SCSS
$custom: #4d5116;
$custom-light: #818157;
$custom-dark: #000000;
JSON
{
  "hex": "#4d5116",
  "rgb": {
    "r": 77,
    "g": 81,
    "b": 22
  },
  "hsl": {
    "h": 64.068,
    "s": 57.282,
    "l": 20.196
  },
  "oklch": {
    "l": 0.41855,
    "c": 0.07991,
    "h": 113.1
  },
  "luminance": 0.07521
}

Semantic roles & 50–950 ramp

primary
#4D5116
secondary
#403A88
accent
#47E152
background
#F8F7F5
surface
#EFEEE9
border
#CAC9C5
text
#0A0A03
muted
#7C7C78

Preview Lab

Preview with #4D5116

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

Preview Lab → · Contrast checker → · Palette generator →

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