#4E5145#4E5145

#4E5145 is a dark, near-neutral yellow-green. Relative luminance 0.079; OKLCH L 42.8% C 0.020 H 118.6°. Best body text is #FFFFFF at 8.12:1 contrast (WCAG AA passes).

Color values

HEX#4E5145
RGBrgb(78, 81, 69)
HSLhsl(75, 8%, 29%)
HSVhsv(75, 15%, 32%)
CMYKcmyk(3.7%, 0%, 14.8%, 68.2%)
CIE-LABlab(33.85, -3.70, 6.66)
CIE-LCHlch(33.85, 7.61, 119.06°)
OKLaboklab(42.84% -0.0094 0.0172)
OKLCHoklch(42.84% 0.02 118.6)
XYZxyz(7.1584, 7.9342, 6.7834)
Luminance0.0793 (WCAG relative)
Temperatureneutral
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4E5145 #484551
analogous
#514E45 #4E5145 #485145
triadic
#4E5145 #454E51 #51454E
tetradic
#4E5145 #45514E #484551 #514548
square
#4E5145 #45514E #484551 #514548
split-complementary
#4E5145 #454851 #4E4551
monochromatic
#10110E #2E3029 #4E5145 #6E7261 #8D927F

Accessibility & contrast

On white

8.12
#4E5145 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.59
#4E5145 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4E5145
8.12:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4E5145#FFFFFF#000000##FFFFFF
##4E51451.008.122.598.12
#FFFFFF8.121.0021.001.00
#0000002.5921.001.0021.00
##FFFFFF8.121.0021.001.00

Color blindness preview

Protanopia (red-blind)
#535044
Deuteranopia (green-blind)
#525045
Tritanopia (blue-blind)
#4F504E
Achromatopsia (no color)
#505050

Design tokens & code

CSS
--color: #4e5145;
/* rgb */ color: rgb(78, 81, 69);
/* oklch */ color: oklch(42.8% 0.020 118.6);
Tailwind
colors: {
  custom: {
    50: '#7f8178',
    500: '#4e5145',
    950: '#000000',
  },
}
SCSS
$custom: #4e5145;
$custom-light: #7f8178;
$custom-dark: #000000;
JSON
{
  "hex": "#4e5145",
  "rgb": {
    "r": 78,
    "g": 81,
    "b": 69
  },
  "hsl": {
    "h": 75,
    "s": 8,
    "l": 29.412
  },
  "oklch": {
    "l": 0.42837,
    "c": 0.01963,
    "h": 118.6
  },
  "luminance": 0.07934
}

Semantic roles & 50–950 ramp

primary
#4E5145
secondary
#767280
accent
#77B185
background
#F7F7F7
surface
#EEEEED
border
#C9C9C8
text
#0A0A09
muted
#7C7C7B

Preview Lab

Preview with #4E5145

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

Preview Lab → · Contrast checker → · Palette generator →

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