#4F5145#4F5145

#4F5145 is a dark, near-neutral yellow-green. Relative luminance 0.080; OKLCH L 42.9% C 0.019 H 114.9°. Best body text is #FFFFFF at 8.09:1 contrast (WCAG AA passes).

Color values

HEX#4F5145
RGBrgb(79, 81, 69)
HSLhsl(70, 8%, 29%)
HSVhsv(70, 15%, 32%)
CMYKcmyk(2.5%, 0%, 14.8%, 68.2%)
CIE-LABlab(33.93, -3.27, 6.79)
CIE-LCHlch(33.93, 7.54, 115.73°)
OKLaboklab(42.93% -0.0082 0.0176)
OKLCHoklch(42.93% 0.019 114.9)
XYZxyz(7.2409, 7.9768, 6.7873)
Luminance0.0798 (WCAG relative)
Temperatureneutral
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4F5145 #474551
analogous
#514D45 #4F5145 #495145
triadic
#4F5145 #454F51 #51454F
tetradic
#4F5145 #45514D #474551 #514549
square
#4F5145 #45514D #474551 #514549
split-complementary
#4F5145 #454951 #4D4551
monochromatic
#10110E #2F3029 #4F5145 #6F7261 #8F927F

Accessibility & contrast

On white

8.09
#4F5145 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.60
#4F5145 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4F5145
8.09:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4F5145#FFFFFF#000000##FFFFFF
##4F51451.008.092.608.09
#FFFFFF8.091.0021.001.00
#0000002.6021.001.0021.00
##FFFFFF8.091.0021.001.00

Color blindness preview

Protanopia (red-blind)
#535044
Deuteranopia (green-blind)
#535045
Tritanopia (blue-blind)
#50504E
Achromatopsia (no color)
#505050

Design tokens & code

CSS
--color: #4f5145;
/* rgb */ color: rgb(79, 81, 69);
/* oklch */ color: oklch(42.9% 0.019 114.9);
Tailwind
colors: {
  custom: {
    50: '#808178',
    500: '#4f5145',
    950: '#000000',
  },
}
SCSS
$custom: #4f5145;
$custom-light: #808178;
$custom-dark: #000000;
JSON
{
  "hex": "#4f5145",
  "rgb": {
    "r": 79,
    "g": 81,
    "b": 69
  },
  "hsl": {
    "h": 70,
    "s": 8,
    "l": 29.412
  },
  "oklch": {
    "l": 0.42929,
    "c": 0.01938,
    "h": 114.9
  },
  "luminance": 0.07977
}

Semantic roles & 50–950 ramp

primary
#4F5145
secondary
#747280
accent
#77B180
background
#F7F7F7
surface
#EEEEED
border
#C9C9C8
text
#0A0A09
muted
#7C7C7B

Preview Lab

Preview with #4F5145

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

Preview Lab → · Contrast checker → · Palette generator →

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