#4E502B#4E502B

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

Color values

HEX#4E502B
RGBrgb(78, 80, 43)
HSLhsl(63, 30%, 24%)
HSVhsv(63, 46%, 31%)
CMYKcmyk(2.5%, 0%, 46.2%, 68.6%)
CIE-LABlab(32.99, -7.24, 21.49)
CIE-LCHlch(32.99, 22.68, 108.63°)
OKLaboklab(41.98% -0.0202 0.052)
OKLCHoklch(41.98% 0.056 111.3)
XYZxyz(6.4467, 7.5316, 3.3992)
Luminance0.0753 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4E502B #2D2B50
analogous
#50402B #4E502B #3C502B
triadic
#4E502B #2B4E50 #502B4E
tetradic
#4E502B #2B5040 #2D2B50 #502B3C
square
#4E502B #2B5040 #2D2B50 #502B3C
split-complementary
#4E502B #2B3C50 #402B50
monochromatic
#13140B #272816 #4E502B #757840 #9CA056

Accessibility & contrast

On white

8.38
#4E502B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #4E502B
8.38:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4E502B#FFFFFF#000000##FFFFFF
##4E502B1.008.382.518.38
#FFFFFF8.381.0021.001.00
#0000002.5121.001.0021.00
##FFFFFF8.381.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #4e502b;
/* rgb */ color: rgb(78, 80, 43);
/* oklch */ color: oklch(42.0% 0.056 111.3);
Tailwind
colors: {
  custom: {
    50: '#808165',
    500: '#4e502b',
    950: '#000000',
  },
}
SCSS
$custom: #4e502b;
$custom-light: #808165;
$custom-dark: #000000;
JSON
{
  "hex": "#4e502b",
  "rgb": {
    "r": 78,
    "g": 80,
    "b": 43
  },
  "hsl": {
    "h": 63.243,
    "s": 30.081,
    "l": 24.118
  },
  "oklch": {
    "l": 0.41977,
    "c": 0.05574,
    "h": 111.3
  },
  "luminance": 0.07531
}

Semantic roles & 50–950 ramp

primary
#4E502B
secondary
#575582
accent
#61C667
background
#F7F7F6
surface
#EEEEEB
border
#C9C9C6
text
#0A0A05
muted
#7C7C7A

Preview Lab

Preview with #4E502B

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

Preview Lab → · Contrast checker → · Palette generator →

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