#4E5A2F#4E5A2F

#4E5A2F is a dark, moderate yellow-green. Relative luminance 0.091; OKLCH L 44.6% C 0.066 H 121.9°. Best body text is #FFFFFF at 7.43:1 contrast (WCAG AA passes).

Color values

HEX#4E5A2F
RGBrgb(78, 90, 47)
HSLhsl(77, 31%, 27%)
HSVhsv(77, 48%, 35%)
CMYKcmyk(13.3%, 0%, 47.8%, 64.7%)
CIE-LABlab(36.25, -12.56, 23.22)
CIE-LCHlch(36.25, 26.40, 118.41°)
OKLaboklab(44.6% -0.0349 0.0561)
OKLCHoklch(44.6% 0.066 121.9)
XYZxyz(7.3111, 9.1373, 4.0673)
Luminance0.0914 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4E5A2F #3B2F5A
analogous
#5A512F #4E5A2F #395A2F
triadic
#4E5A2F #2F4E5A #5A2F4E
tetradic
#4E5A2F #2F5A51 #3B2F5A #5A2F39
square
#4E5A2F #2F5A51 #3B2F5A #5A2F39
split-complementary
#4E5A2F #2F395A #512F5A
monochromatic
#11140A #2B321A #4E5A2F #718244 #93A95A

Accessibility & contrast

On white

7.43
#4E5A2F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.83
#4E5A2F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4E5A2F
7.43:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4E5A2F#FFFFFF#000000##FFFFFF
##4E5A2F1.007.432.837.43
#FFFFFF7.431.0021.001.00
#0000002.8321.001.0021.00
##FFFFFF7.431.0021.001.00

Color blindness preview

Protanopia (red-blind)
#5F552C
Deuteranopia (green-blind)
#5D5531
Tritanopia (blue-blind)
#515650
Achromatopsia (no color)
#555555

Design tokens & code

CSS
--color: #4e5a2f;
/* rgb */ color: rgb(78, 90, 47);
/* oklch */ color: oklch(44.6% 0.066 121.9);
Tailwind
colors: {
  custom: {
    50: '#808868',
    500: '#4e5a2f',
    950: '#000000',
  },
}
SCSS
$custom: #4e5a2f;
$custom-light: #808868;
$custom-dark: #000000;
JSON
{
  "hex": "#4e5a2f",
  "rgb": {
    "r": 78,
    "g": 90,
    "b": 47
  },
  "hsl": {
    "h": 76.744,
    "s": 31.387,
    "l": 26.863
  },
  "oklch": {
    "l": 0.44602,
    "c": 0.06611,
    "h": 121.9
  },
  "luminance": 0.09137
}

Semantic roles & 50–950 ramp

primary
#4E5A2F
secondary
#67598C
accent
#60C87D
background
#F7F8F6
surface
#EEEFEB
border
#C9CAC6
text
#0A0B06
muted
#7C7C7A

Preview Lab

Preview with #4E5A2F

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

Preview Lab → · Contrast checker → · Palette generator →

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