#4E5823#4E5823

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

Color values

HEX#4E5823
RGBrgb(78, 88, 35)
HSLhsl(71, 43%, 24%)
HSVhsv(71, 60%, 35%)
CMYKcmyk(11.4%, 0%, 60.2%, 65.5%)
CIE-LABlab(35.44, -12.79, 28.91)
CIE-LCHlch(35.44, 31.61, 113.87°)
OKLaboklab(43.9% -0.0368 0.0675)
OKLCHoklch(43.9% 0.077 118.6)
XYZxyz(6.9351, 8.7205, 2.9077)
Luminance0.0872 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4E5823 #2D2358
analogous
#584823 #4E5823 #345823
triadic
#4E5823 #234E58 #58234E
tetradic
#4E5823 #235848 #2D2358 #582334
square
#4E5823 #235848 #2D2358 #582334
split-complementary
#4E5823 #233458 #482358
monochromatic
#131609 #272C12 #4E5823 #758434 #9CB046

Accessibility & contrast

On white

7.65
#4E5823 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #4E5823
7.65:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4E5823#FFFFFF#000000##FFFFFF
##4E58231.007.652.747.65
#FFFFFF7.651.0021.001.00
#0000002.7421.001.0021.00
##FFFFFF7.651.0021.001.00

Color blindness preview

Protanopia (red-blind)
#5E531E
Deuteranopia (green-blind)
#5C5426
Tritanopia (blue-blind)
#52534C
Achromatopsia (no color)
#535353

Design tokens & code

CSS
--color: #4e5823;
/* rgb */ color: rgb(78, 88, 35);
/* oklch */ color: oklch(43.9% 0.077 118.6);
Tailwind
colors: {
  custom: {
    50: '#818760',
    500: '#4e5823',
    950: '#000000',
  },
}
SCSS
$custom: #4e5823;
$custom-light: #818760;
$custom-dark: #000000;
JSON
{
  "hex": "#4e5823",
  "rgb": {
    "r": 78,
    "g": 88,
    "b": 35
  },
  "hsl": {
    "h": 71.321,
    "s": 43.089,
    "l": 24.118
  },
  "oklch": {
    "l": 0.43903,
    "c": 0.07685,
    "h": 118.6
  },
  "luminance": 0.0872
}

Semantic roles & 50–950 ramp

primary
#4E5823
secondary
#574B8C
accent
#55D36D
background
#F8F8F5
surface
#EFEFE9
border
#CACAC5
text
#0A0B05
muted
#7C7C79

Preview Lab

Preview with #4E5823

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

Preview Lab → · Contrast checker → · Palette generator →

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