#4E5822#4E5822

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

Color values

HEX#4E5822
RGBrgb(78, 88, 34)
HSLhsl(71, 44%, 24%)
HSVhsv(71, 61%, 35%)
CMYKcmyk(11.4%, 0%, 61.4%, 65.5%)
CIE-LABlab(35.43, -12.89, 29.42)
CIE-LCHlch(35.43, 32.12, 113.66°)
OKLaboklab(43.89% -0.0372 0.0685)
OKLCHoklch(43.89% 0.078 118.5)
XYZxyz(6.9204, 8.7147, 2.8306)
Luminance0.0872 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4E5822 #2C2258
analogous
#584722 #4E5822 #335822
triadic
#4E5822 #224E58 #58224E
tetradic
#4E5822 #225847 #2C2258 #582233
square
#4E5822 #225847 #2C2258 #582233
split-complementary
#4E5822 #223358 #472258
monochromatic
#141609 #272C11 #4E5822 #758433 #9CB044

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##4E5822#FFFFFF#000000##FFFFFF
##4E58221.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)
#5E531C
Deuteranopia (green-blind)
#5D5425
Tritanopia (blue-blind)
#52534C
Achromatopsia (no color)
#535353

Design tokens & code

CSS
--color: #4e5822;
/* rgb */ color: rgb(78, 88, 34);
/* oklch */ color: oklch(43.9% 0.078 118.5);
Tailwind
colors: {
  custom: {
    50: '#81875f',
    500: '#4e5822',
    950: '#000000',
  },
}
SCSS
$custom: #4e5822;
$custom-light: #81875f;
$custom-dark: #000000;
JSON
{
  "hex": "#4e5822",
  "rgb": {
    "r": 78,
    "g": 88,
    "b": 34
  },
  "hsl": {
    "h": 71.111,
    "s": 44.262,
    "l": 23.922
  },
  "oklch": {
    "l": 0.4389,
    "c": 0.0779,
    "h": 118.5
  },
  "luminance": 0.08715
}

Semantic roles & 50–950 ramp

primary
#4E5822
secondary
#564A8C
accent
#54D46C
background
#F8F8F5
surface
#EFEFE9
border
#CACAC5
text
#0A0B05
muted
#7C7C79

Preview Lab

Preview with #4E5822

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

Preview Lab → · Contrast checker → · Palette generator →

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