#4E4D22#4E4D22

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

Color values

HEX#4E4D22
RGBrgb(78, 77, 34)
HSLhsl(59, 39%, 22%)
HSVhsv(59, 56%, 31%)
CMYKcmyk(0%, 1.3%, 56.4%, 69.4%)
CIE-LABlab(31.90, -6.47, 25.36)
CIE-LCHlch(31.90, 26.17, 104.31°)
OKLaboklab(41.07% -0.019 0.0597)
OKLCHoklch(41.07% 0.063 107.7)
XYZxyz(6.0846, 7.0431, 2.5520)
Luminance0.0704 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4E4D22 #22234E
analogous
#4E3722 #4E4D22 #394E22
triadic
#4E4D22 #224E4D #4D224E
tetradic
#4E4D22 #224E37 #22234E #4E2239
square
#4E4D22 #224E37 #22234E #4E2239
split-complementary
#4E4D22 #22394E #37224E
monochromatic
#151509 #23230F #4E4D22 #797735 #A3A147

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##4E4D22#FFFFFF#000000##FFFFFF
##4E4D221.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)
#534A1E
Deuteranopia (green-blind)
#544C24
Tritanopia (blue-blind)
#534843
Achromatopsia (no color)
#4B4B4B

Design tokens & code

CSS
--color: #4e4d22;
/* rgb */ color: rgb(78, 77, 34);
/* oklch */ color: oklch(41.1% 0.063 107.7);
Tailwind
colors: {
  custom: {
    50: '#817e5e',
    500: '#4e4d22',
    950: '#000000',
  },
}
SCSS
$custom: #4e4d22;
$custom-light: #817e5e;
$custom-dark: #000000;
JSON
{
  "hex": "#4e4d22",
  "rgb": {
    "r": 78,
    "g": 77,
    "b": 34
  },
  "hsl": {
    "h": 58.636,
    "s": 39.286,
    "l": 21.961
  },
  "oklch": {
    "l": 0.41073,
    "c": 0.06263,
    "h": 107.7
  },
  "luminance": 0.07043
}

Semantic roles & 50–950 ramp

primary
#4E4D22
secondary
#4A4B82
accent
#5BCF59
background
#F8F7F5
surface
#EFEEE9
border
#CAC9C5
text
#0A0A04
muted
#7C7C79

Preview Lab

Preview with #4E4D22

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

Preview Lab → · Contrast checker → · Palette generator →

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