#4E4722#4E4722

#4E4722 is a dark, muted yellow. Relative luminance 0.062; OKLCH L 39.6% C 0.055 H 98.8°. Best body text is #FFFFFF at 9.34:1 contrast (WCAG AA passes).

Color values

HEX#4E4722
RGBrgb(78, 71, 34)
HSLhsl(50, 39%, 22%)
HSVhsv(50, 56%, 31%)
CMYKcmyk(0%, 9%, 56.4%, 69.4%)
CIE-LABlab(30.01, -2.81, 23.12)
CIE-LCHlch(30.01, 23.29, 96.93°)
OKLaboklab(39.57% -0.0085 0.0548)
OKLCHoklch(39.57% 0.055 98.8)
XYZxyz(5.6840, 6.2419, 2.4185)
Luminance0.0624 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4E4722 #22294E
analogous
#4E3122 #4E4722 #3F4E22
triadic
#4E4722 #224E47 #47224E
tetradic
#4E4722 #224E31 #22294E #4E223F
square
#4E4722 #224E31 #22294E #4E223F
split-complementary
#4E4722 #223F4E #31224E
monochromatic
#151309 #23200F #4E4722 #796E35 #A39547

Accessibility & contrast

On white

9.34
#4E4722 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.25
#4E4722 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4E4722
9.34:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4E4722#FFFFFF#000000##FFFFFF
##4E47221.009.342.259.34
#FFFFFF9.341.0021.001.00
#0000002.2521.001.0021.00
##FFFFFF9.341.0021.001.00

Color blindness preview

Protanopia (red-blind)
#4D451F
Deuteranopia (green-blind)
#4F4824
Tritanopia (blue-blind)
#54423E
Achromatopsia (no color)
#474747

Design tokens & code

CSS
--color: #4e4722;
/* rgb */ color: rgb(78, 71, 34);
/* oklch */ color: oklch(39.6% 0.055 98.8);
Tailwind
colors: {
  custom: {
    50: '#817a5e',
    500: '#4e4722',
    950: '#000000',
  },
}
SCSS
$custom: #4e4722;
$custom-light: #817a5e;
$custom-dark: #000000;
JSON
{
  "hex": "#4e4722",
  "rgb": {
    "r": 78,
    "g": 71,
    "b": 34
  },
  "hsl": {
    "h": 50.455,
    "s": 39.286,
    "l": 21.961
  },
  "oklch": {
    "l": 0.39572,
    "c": 0.05545,
    "h": 98.8
  },
  "luminance": 0.06242
}

Semantic roles & 50–950 ramp

primary
#4E4722
secondary
#4A5382
accent
#6BCF59
background
#F8F7F5
surface
#EFEDE9
border
#CAC8C5
text
#0A0904
muted
#7C7B79

Preview Lab

Preview with #4E4722

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

Preview Lab → · Contrast checker → · Palette generator →

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