#4E5221#4E5221

#4E5221 is a dark, moderate yellow. Relative luminance 0.078; OKLCH L 42.3% C 0.070 H 113.3°. Best body text is #FFFFFF at 8.23:1 contrast (WCAG AA passes).

Color values

HEX#4E5221
RGBrgb(78, 82, 33)
HSLhsl(65, 43%, 23%)
HSVhsv(65, 60%, 32%)
CMYKcmyk(4.9%, 0%, 59.8%, 67.8%)
CIE-LABlab(33.49, -9.53, 27.74)
CIE-LCHlch(33.49, 29.33, 108.96°)
OKLaboklab(42.33% -0.0278 0.0647)
OKLCHoklch(42.33% 0.07 113.3)
XYZxyz(6.4338, 7.7642, 2.5983)
Luminance0.0776 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4E5221 #252152
analogous
#523E21 #4E5221 #355221
triadic
#4E5221 #214E52 #52214E
tetradic
#4E5221 #21523E #252152 #522135
square
#4E5221 #21523E #252152 #522135
split-complementary
#4E5221 #213552 #3E2152
monochromatic
#151609 #24260F #4E5221 #787E33 #A1A944

Accessibility & contrast

On white

8.23
#4E5221 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.55
#4E5221 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4E5221
8.23:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4E5221#FFFFFF#000000##FFFFFF
##4E52211.008.232.558.23
#FFFFFF8.231.0021.001.00
#0000002.5521.001.0021.00
##FFFFFF8.231.0021.001.00

Color blindness preview

Protanopia (red-blind)
#584E1C
Deuteranopia (green-blind)
#584F24
Tritanopia (blue-blind)
#534D47
Achromatopsia (no color)
#4F4F4F

Design tokens & code

CSS
--color: #4e5221;
/* rgb */ color: rgb(78, 82, 33);
/* oklch */ color: oklch(42.3% 0.070 113.3);
Tailwind
colors: {
  custom: {
    50: '#81825e',
    500: '#4e5221',
    950: '#000000',
  },
}
SCSS
$custom: #4e5221;
$custom-light: #81825e;
$custom-dark: #000000;
JSON
{
  "hex": "#4e5221",
  "rgb": {
    "r": 78,
    "g": 82,
    "b": 33
  },
  "hsl": {
    "h": 64.898,
    "s": 42.609,
    "l": 22.549
  },
  "oklch": {
    "l": 0.42331,
    "c": 0.07045,
    "h": 113.3
  },
  "luminance": 0.07764
}

Semantic roles & 50–950 ramp

primary
#4E5221
secondary
#4E4986
accent
#55D260
background
#F8F7F5
surface
#EFEEE9
border
#CAC9C5
text
#0A0A04
muted
#7C7C79

Preview Lab

Preview with #4E5221

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

Preview Lab → · Contrast checker → · Palette generator →

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