#4E5821#4E5821

#4E5821 is a dark, moderate yellow-green. Relative luminance 0.087; OKLCH L 43.9% C 0.079 H 118.4°. Best body text is #FFFFFF at 7.66:1 contrast (WCAG AA passes).

Color values

HEX#4E5821
RGBrgb(78, 88, 33)
HSLhsl(71, 45%, 24%)
HSVhsv(71, 63%, 35%)
CMYKcmyk(11.4%, 0%, 62.5%, 65.5%)
CIE-LABlab(35.42, -12.99, 29.93)
CIE-LCHlch(35.42, 32.63, 113.45°)
OKLaboklab(43.88% -0.0376 0.0694)
OKLCHoklch(43.88% 0.079 118.4)
XYZxyz(6.9062, 8.7090, 2.7557)
Luminance0.0871 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4E5821 #2B2158
analogous
#584621 #4E5821 #325821
triadic
#4E5821 #214E58 #58214E
tetradic
#4E5821 #215846 #2B2158 #582132
square
#4E5821 #215846 #2B2158 #582132
split-complementary
#4E5821 #213258 #462158
monochromatic
#141608 #272B10 #4E5821 #758532 #9DB142

Accessibility & contrast

On white

7.66
#4E5821 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.74
#4E5821 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4E5821
7.66:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4E5821#FFFFFF#000000##FFFFFF
##4E58211.007.662.747.66
#FFFFFF7.661.0021.001.00
#0000002.7421.001.0021.00
##FFFFFF7.661.0021.001.00

Color blindness preview

Protanopia (red-blind)
#5E531B
Deuteranopia (green-blind)
#5D5424
Tritanopia (blue-blind)
#53534C
Achromatopsia (no color)
#535353

Design tokens & code

CSS
--color: #4e5821;
/* rgb */ color: rgb(78, 88, 33);
/* oklch */ color: oklch(43.9% 0.079 118.4);
Tailwind
colors: {
  custom: {
    50: '#81875f',
    500: '#4e5821',
    950: '#000000',
  },
}
SCSS
$custom: #4e5821;
$custom-light: #81875f;
$custom-dark: #000000;
JSON
{
  "hex": "#4e5821",
  "rgb": {
    "r": 78,
    "g": 88,
    "b": 33
  },
  "hsl": {
    "h": 70.909,
    "s": 45.455,
    "l": 23.725
  },
  "oklch": {
    "l": 0.43877,
    "c": 0.07891,
    "h": 118.4
  },
  "luminance": 0.08709
}

Semantic roles & 50–950 ramp

primary
#4E5821
secondary
#55498C
accent
#53D56A
background
#F8F8F5
surface
#EFEFE9
border
#CACAC5
text
#0A0B04
muted
#7C7C79

Preview Lab

Preview with #4E5821

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

Preview Lab → · Contrast checker → · Palette generator →

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