#4E4822#4E4822

#4E4822 is a dark, muted yellow. Relative luminance 0.064; OKLCH L 39.8% C 0.057 H 100.5°. Best body text is #FFFFFF at 9.23:1 contrast (WCAG AA passes).

Color values

HEX#4E4822
RGBrgb(78, 72, 34)
HSLhsl(52, 39%, 22%)
HSVhsv(52, 56%, 31%)
CMYKcmyk(0%, 7.7%, 56.4%, 69.4%)
CIE-LABlab(30.33, -3.43, 23.49)
CIE-LCHlch(30.33, 23.74, 98.30°)
OKLaboklab(39.82% -0.0103 0.0556)
OKLCHoklch(39.82% 0.057 100.5)
XYZxyz(5.7482, 6.3701, 2.4398)
Luminance0.0637 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4E4822 #22284E
analogous
#4E3222 #4E4822 #3E4E22
triadic
#4E4822 #224E48 #48224E
tetradic
#4E4822 #224E32 #22284E #4E223E
square
#4E4822 #224E32 #22284E #4E223E
split-complementary
#4E4822 #223E4E #32224E
monochromatic
#151409 #23210F #4E4822 #796F35 #A39747

Accessibility & contrast

On white

9.23
#4E4822 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.27
#4E4822 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4E4822
9.23:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4E4822#FFFFFF#000000##FFFFFF
##4E48221.009.232.279.23
#FFFFFF9.231.0021.001.00
#0000002.2721.001.0021.00
##FFFFFF9.231.0021.001.00

Color blindness preview

Protanopia (red-blind)
#4E461F
Deuteranopia (green-blind)
#504824
Tritanopia (blue-blind)
#54433F
Achromatopsia (no color)
#474747

Design tokens & code

CSS
--color: #4e4822;
/* rgb */ color: rgb(78, 72, 34);
/* oklch */ color: oklch(39.8% 0.057 100.5);
Tailwind
colors: {
  custom: {
    50: '#817a5e',
    500: '#4e4822',
    950: '#000000',
  },
}
SCSS
$custom: #4e4822;
$custom-light: #817a5e;
$custom-dark: #000000;
JSON
{
  "hex": "#4e4822",
  "rgb": {
    "r": 78,
    "g": 72,
    "b": 34
  },
  "hsl": {
    "h": 51.818,
    "s": 39.286,
    "l": 21.961
  },
  "oklch": {
    "l": 0.3982,
    "c": 0.05655,
    "h": 100.5
  },
  "luminance": 0.0637
}

Semantic roles & 50–950 ramp

primary
#4E4822
secondary
#4A5282
accent
#69CF59
background
#F8F7F5
surface
#EFEDE9
border
#CAC8C5
text
#0A0904
muted
#7C7B79

Preview Lab

Preview with #4E4822

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

Preview Lab → · Contrast checker → · Palette generator →

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