#4E502D#4E502D

#4E502D is a dark, muted yellow. Relative luminance 0.075; OKLCH L 42.0% C 0.053 H 111.3°. Best body text is #FFFFFF at 8.37:1 contrast (WCAG AA passes).

Color values

HEX#4E502D
RGBrgb(78, 80, 45)
HSLhsl(63, 28%, 25%)
HSVhsv(63, 44%, 31%)
CMYKcmyk(2.5%, 0%, 43.7%, 68.6%)
CIE-LABlab(33.02, -6.99, 20.34)
CIE-LCHlch(33.02, 21.51, 108.96°)
OKLaboklab(42.01% -0.0193 0.0495)
OKLCHoklch(42.01% 0.053 111.3)
XYZxyz(6.4843, 7.5466, 3.5972)
Luminance0.0755 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4E502D #2F2D50
analogous
#50412D #4E502D #3D502D
triadic
#4E502D #2D4E50 #502D4E
tetradic
#4E502D #2D5041 #2F2D50 #502D3D
square
#4E502D #2D5041 #2F2D50 #502D3D
split-complementary
#4E502D #2D3D50 #412D50
monochromatic
#13140B #282917 #4E502D #747743 #9A9E59

Accessibility & contrast

On white

8.37
#4E502D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.51
#4E502D on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4E502D
8.37:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4E502D#FFFFFF#000000##FFFFFF
##4E502D1.008.372.518.37
#FFFFFF8.371.0021.001.00
#0000002.5121.001.0021.00
##FFFFFF8.371.0021.001.00

Color blindness preview

Protanopia (red-blind)
#554D2A
Deuteranopia (green-blind)
#554E2F
Tritanopia (blue-blind)
#524C47
Achromatopsia (no color)
#4E4E4E

Design tokens & code

CSS
--color: #4e502d;
/* rgb */ color: rgb(78, 80, 45);
/* oklch */ color: oklch(42.0% 0.053 111.3);
Tailwind
colors: {
  custom: {
    50: '#808166',
    500: '#4e502d',
    950: '#000000',
  },
}
SCSS
$custom: #4e502d;
$custom-light: #808166;
$custom-dark: #000000;
JSON
{
  "hex": "#4e502d",
  "rgb": {
    "r": 78,
    "g": 80,
    "b": 45
  },
  "hsl": {
    "h": 63.429,
    "s": 28,
    "l": 24.51
  },
  "oklch": {
    "l": 0.42014,
    "c": 0.05313,
    "h": 111.3
  },
  "luminance": 0.07546
}

Semantic roles & 50–950 ramp

primary
#4E502D
secondary
#5A5782
accent
#63C469
background
#F7F7F6
surface
#EEEEEB
border
#C9C9C6
text
#0A0A06
muted
#7C7C7A

Preview Lab

Preview with #4E502D

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

Preview Lab → · Contrast checker → · Palette generator →

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