#4E4D21#4E4D21

#4E4D21 is a dark, moderate yellow. Relative luminance 0.070; OKLCH L 41.1% C 0.064 H 107.7°. Best body text is #FFFFFF at 8.72:1 contrast (WCAG AA passes).

Color values

HEX#4E4D21
RGBrgb(78, 77, 33)
HSLhsl(59, 41%, 22%)
HSVhsv(59, 58%, 31%)
CMYKcmyk(0%, 1.3%, 57.7%, 69.4%)
CIE-LABlab(31.89, -6.57, 25.90)
CIE-LCHlch(31.89, 26.72, 104.23°)
OKLaboklab(41.06% -0.0194 0.0608)
OKLCHoklch(41.06% 0.064 107.7)
XYZxyz(6.0704, 7.0374, 2.4771)
Luminance0.0704 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4E4D21 #21224E
analogous
#4E3721 #4E4D21 #394E21
triadic
#4E4D21 #214E4D #4D214E
tetradic
#4E4D21 #214E37 #21224E #4E2139
square
#4E4D21 #214E37 #21224E #4E2139
split-complementary
#4E4D21 #21394E #37214E
monochromatic
#161509 #23230F #4E4D21 #797733 #A4A245

Accessibility & contrast

On white

8.72
#4E4D21 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.41
#4E4D21 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4E4D21
8.72:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4E4D21#FFFFFF#000000##FFFFFF
##4E4D211.008.722.418.72
#FFFFFF8.721.0021.001.00
#0000002.4121.001.0021.00
##FFFFFF8.721.0021.001.00

Color blindness preview

Protanopia (red-blind)
#534A1D
Deuteranopia (green-blind)
#544C23
Tritanopia (blue-blind)
#534843
Achromatopsia (no color)
#4B4B4B

Design tokens & code

CSS
--color: #4e4d21;
/* rgb */ color: rgb(78, 77, 33);
/* oklch */ color: oklch(41.1% 0.064 107.7);
Tailwind
colors: {
  custom: {
    50: '#817e5e',
    500: '#4e4d21',
    950: '#000000',
  },
}
SCSS
$custom: #4e4d21;
$custom-light: #817e5e;
$custom-dark: #000000;
JSON
{
  "hex": "#4e4d21",
  "rgb": {
    "r": 78,
    "g": 77,
    "b": 33
  },
  "hsl": {
    "h": 58.667,
    "s": 40.541,
    "l": 21.765
  },
  "oklch": {
    "l": 0.41058,
    "c": 0.06378,
    "h": 107.7
  },
  "luminance": 0.07037
}

Semantic roles & 50–950 ramp

primary
#4E4D21
secondary
#494A82
accent
#5AD057
background
#F8F7F5
surface
#EFEEE9
border
#CAC9C5
text
#0A0A04
muted
#7C7C79

Preview Lab

Preview with #4E4D21

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

Preview Lab → · Contrast checker → · Palette generator →

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