#4E4E21#4E4E21

#4E4E21 is a dark, moderate yellow. Relative luminance 0.072; OKLCH L 41.3% C 0.065 H 108.9°. Best body text is #FFFFFF at 8.62:1 contrast (WCAG AA passes).

Color values

HEX#4E4E21
RGBrgb(78, 78, 33)
HSLhsl(60, 41%, 22%)
HSVhsv(60, 58%, 31%)
CMYKcmyk(0%, 0%, 57.7%, 69.4%)
CIE-LABlab(32.21, -7.17, 26.27)
CIE-LCHlch(32.21, 27.23, 105.26°)
OKLaboklab(41.31% -0.0211 0.0615)
OKLCHoklch(41.31% 0.065 108.9)
XYZxyz(6.1409, 7.1784, 2.5006)
Luminance0.0718 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4E4E21 #21214E
analogous
#4E3821 #4E4E21 #384E21
triadic
#4E4E21 #214E4E #4E214E
tetradic
#4E4E21 #214E38 #21214E #4E2138
square
#4E4E21 #214E38 #21214E #4E2138
split-complementary
#4E4E21 #21384E #38214E
monochromatic
#161609 #23230F #4E4E21 #797933 #A4A445

Accessibility & contrast

On white

8.62
#4E4E21 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.44
#4E4E21 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4E4E21
8.62:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4E4E21#FFFFFF#000000##FFFFFF
##4E4E211.008.622.448.62
#FFFFFF8.621.0021.001.00
#0000002.4421.001.0021.00
##FFFFFF8.621.0021.001.00

Color blindness preview

Protanopia (red-blind)
#544B1D
Deuteranopia (green-blind)
#554D23
Tritanopia (blue-blind)
#534944
Achromatopsia (no color)
#4C4C4C

Design tokens & code

CSS
--color: #4e4e21;
/* rgb */ color: rgb(78, 78, 33);
/* oklch */ color: oklch(41.3% 0.065 108.9);
Tailwind
colors: {
  custom: {
    50: '#817f5e',
    500: '#4e4e21',
    950: '#000000',
  },
}
SCSS
$custom: #4e4e21;
$custom-light: #817f5e;
$custom-dark: #000000;
JSON
{
  "hex": "#4e4e21",
  "rgb": {
    "r": 78,
    "g": 78,
    "b": 33
  },
  "hsl": {
    "h": 60,
    "s": 40.541,
    "l": 21.765
  },
  "oklch": {
    "l": 0.41311,
    "c": 0.06506,
    "h": 108.9
  },
  "luminance": 0.07178
}

Semantic roles & 50–950 ramp

primary
#4E4E21
secondary
#494982
accent
#57D057
background
#F8F7F5
surface
#EFEEE9
border
#CAC9C5
text
#0A0A04
muted
#7C7C79

Preview Lab

Preview with #4E4E21

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

Preview Lab → · Contrast checker → · Palette generator →

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