#4D5517#4D5517

#4D5517 is a dark, moderate yellow. Relative luminance 0.081; OKLCH L 42.9% C 0.084 H 116.4°. Best body text is #FFFFFF at 7.99:1 contrast (WCAG AA passes).

Color values

HEX#4D5517
RGBrgb(77, 85, 23)
HSLhsl(68, 57%, 21%)
HSVhsv(68, 73%, 33%)
CMYKcmyk(9.4%, 0%, 72.9%, 66.7%)
CIE-LABlab(34.27, -12.57, 33.54)
CIE-LCHlch(34.27, 35.82, 110.55°)
OKLaboklab(42.9% -0.0375 0.0755)
OKLCHoklch(42.9% 0.084 116.4)
XYZxyz(6.4639, 8.1367, 2.0405)
Luminance0.0814 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4D5517 #1F1755
analogous
#553E17 #4D5517 #2E5517
triadic
#4D5517 #174D55 #55174D
tetradic
#4D5517 #17553E #1F1755 #55172E
square
#4D5517 #17553E #1F1755 #55172E
split-complementary
#4D5517 #172E55 #3E1755
monochromatic
#161807 #21250A #4D5517 #798524 #A4B531

Accessibility & contrast

On white

7.99
#4D5517 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.63
#4D5517 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4D5517
7.99:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4D5517#FFFFFF#000000##FFFFFF
##4D55171.007.992.637.99
#FFFFFF7.991.0021.001.00
#0000002.6321.001.0021.00
##FFFFFF7.991.0021.001.00

Color blindness preview

Protanopia (red-blind)
#5B500E
Deuteranopia (green-blind)
#5B511C
Tritanopia (blue-blind)
#525049
Achromatopsia (no color)
#515151

Design tokens & code

CSS
--color: #4d5517;
/* rgb */ color: rgb(77, 85, 23);
/* oklch */ color: oklch(42.9% 0.084 116.4);
Tailwind
colors: {
  custom: {
    50: '#818458',
    500: '#4d5517',
    950: '#000000',
  },
}
SCSS
$custom: #4d5517;
$custom-light: #818458;
$custom-dark: #000000;
JSON
{
  "hex": "#4d5517",
  "rgb": {
    "r": 77,
    "g": 85,
    "b": 23
  },
  "hsl": {
    "h": 67.742,
    "s": 57.407,
    "l": 21.176
  },
  "oklch": {
    "l": 0.42901,
    "c": 0.0843,
    "h": 116.4
  },
  "luminance": 0.08137
}

Semantic roles & 50–950 ramp

primary
#4D5517
secondary
#463C8C
accent
#47E15B
background
#F8F8F5
surface
#EFEFE9
border
#CACAC5
text
#0A0B03
muted
#7C7C78

Preview Lab

Preview with #4D5517

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

Preview Lab → · Contrast checker → · Palette generator →

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