#4E4E22#4E4E22

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

Color values

HEX#4E4E22
RGBrgb(78, 78, 34)
HSLhsl(60, 39%, 22%)
HSVhsv(60, 56%, 31%)
CMYKcmyk(0%, 0%, 56.4%, 69.4%)
CIE-LABlab(32.22, -7.07, 25.73)
CIE-LCHlch(32.22, 26.68, 105.36°)
OKLaboklab(41.33% -0.0207 0.0605)
OKLCHoklch(41.33% 0.064 108.9)
XYZxyz(6.1552, 7.1841, 2.5755)
Luminance0.0718 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4E4E22 #22224E
analogous
#4E3822 #4E4E22 #384E22
triadic
#4E4E22 #224E4E #4E224E
tetradic
#4E4E22 #224E38 #22224E #4E2238
square
#4E4E22 #224E38 #22224E #4E2238
split-complementary
#4E4E22 #22384E #38224E
monochromatic
#151509 #23230F #4E4E22 #797935 #A3A347

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##4E4E22#FFFFFF#000000##FFFFFF
##4E4E221.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)
#544B1E
Deuteranopia (green-blind)
#554D24
Tritanopia (blue-blind)
#534944
Achromatopsia (no color)
#4C4C4C

Design tokens & code

CSS
--color: #4e4e22;
/* rgb */ color: rgb(78, 78, 34);
/* oklch */ color: oklch(41.3% 0.064 108.9);
Tailwind
colors: {
  custom: {
    50: '#817f5e',
    500: '#4e4e22',
    950: '#000000',
  },
}
SCSS
$custom: #4e4e22;
$custom-light: #817f5e;
$custom-dark: #000000;
JSON
{
  "hex": "#4e4e22",
  "rgb": {
    "r": 78,
    "g": 78,
    "b": 34
  },
  "hsl": {
    "h": 60,
    "s": 39.286,
    "l": 21.961
  },
  "oklch": {
    "l": 0.41326,
    "c": 0.06394,
    "h": 108.9
  },
  "luminance": 0.07184
}

Semantic roles & 50–950 ramp

primary
#4E4E22
secondary
#4A4A82
accent
#59CF59
background
#F8F7F5
surface
#EFEEE9
border
#CAC9C5
text
#0A0A04
muted
#7C7C79

Preview Lab

Preview with #4E4E22

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

Preview Lab → · Contrast checker → · Palette generator →

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