#4E4C22#4E4C22

#4E4C22 is a dark, moderate yellow. Relative luminance 0.069; OKLCH L 40.8% C 0.061 H 106.4°. Best body text is #FFFFFF at 8.82:1 contrast (WCAG AA passes).

Color values

HEX#4E4C22
RGBrgb(78, 76, 34)
HSLhsl(57, 39%, 22%)
HSVhsv(57, 56%, 31%)
CMYKcmyk(0%, 2.6%, 56.4%, 69.4%)
CIE-LABlab(31.59, -5.87, 24.99)
CIE-LCHlch(31.59, 25.66, 103.21°)
OKLaboklab(40.82% -0.0173 0.0589)
OKLCHoklch(40.82% 0.061 106.4)
XYZxyz(6.0152, 6.9042, 2.5289)
Luminance0.0690 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4E4C22 #22244E
analogous
#4E3622 #4E4C22 #3A4E22
triadic
#4E4C22 #224E4C #4C224E
tetradic
#4E4C22 #224E36 #22244E #4E223A
square
#4E4C22 #224E36 #22244E #4E223A
split-complementary
#4E4C22 #223A4E #36224E
monochromatic
#151509 #23220F #4E4C22 #797635 #A39F47

Accessibility & contrast

On white

8.82
#4E4C22 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.38
#4E4C22 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4E4C22
8.82:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4E4C22#FFFFFF#000000##FFFFFF
##4E4C221.008.822.388.82
#FFFFFF8.821.0021.001.00
#0000002.3821.001.0021.00
##FFFFFF8.821.0021.001.00

Color blindness preview

Protanopia (red-blind)
#52491E
Deuteranopia (green-blind)
#534B24
Tritanopia (blue-blind)
#534742
Achromatopsia (no color)
#4A4A4A

Design tokens & code

CSS
--color: #4e4c22;
/* rgb */ color: rgb(78, 76, 34);
/* oklch */ color: oklch(40.8% 0.061 106.4);
Tailwind
colors: {
  custom: {
    50: '#817d5e',
    500: '#4e4c22',
    950: '#000000',
  },
}
SCSS
$custom: #4e4c22;
$custom-light: #817d5e;
$custom-dark: #000000;
JSON
{
  "hex": "#4e4c22",
  "rgb": {
    "r": 78,
    "g": 76,
    "b": 34
  },
  "hsl": {
    "h": 57.273,
    "s": 39.286,
    "l": 21.961
  },
  "oklch": {
    "l": 0.40821,
    "c": 0.06135,
    "h": 106.4
  },
  "luminance": 0.06904
}

Semantic roles & 50–950 ramp

primary
#4E4C22
secondary
#4A4C82
accent
#5ECF59
background
#F8F7F5
surface
#EFEEE9
border
#CAC9C5
text
#0A0904
muted
#7C7B79

Preview Lab

Preview with #4E4C22

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

Preview Lab → · Contrast checker → · Palette generator →

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