#4E5042#4E5042

#4E5042 is a dark, muted yellow. Relative luminance 0.077; OKLCH L 42.5% C 0.023 H 114.0°. Best body text is #FFFFFF at 8.24:1 contrast (WCAG AA passes).

Color values

HEX#4E5042
RGBrgb(78, 80, 66)
HSLhsl(69, 10%, 29%)
HSVhsv(69, 18%, 31%)
CMYKcmyk(2.5%, 0%, 17.5%, 68.6%)
CIE-LABlab(33.46, -3.66, 8.00)
CIE-LCHlch(33.46, 8.79, 114.58°)
OKLaboklab(42.5% -0.0091 0.0206)
OKLCHoklch(42.5% 0.023 114)
XYZxyz(6.9938, 7.7504, 6.2807)
Luminance0.0775 (WCAG relative)
Temperatureneutral
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4E5042 #444250
analogous
#504B42 #4E5042 #475042
triadic
#4E5042 #424E50 #50424E
tetradic
#4E5042 #42504B #444250 #504247
square
#4E5042 #42504B #444250 #504247
split-complementary
#4E5042 #424750 #4B4250
monochromatic
#10110E #2D2E26 #4E5042 #6F725E #8E927B

Accessibility & contrast

On white

8.24
#4E5042 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.55
#4E5042 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4E5042
8.24:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4E5042#FFFFFF#000000##FFFFFF
##4E50421.008.242.558.24
#FFFFFF8.241.0021.001.00
#0000002.5521.001.0021.00
##FFFFFF8.241.0021.001.00

Color blindness preview

Protanopia (red-blind)
#524F41
Deuteranopia (green-blind)
#524F43
Tritanopia (blue-blind)
#504E4C
Achromatopsia (no color)
#4F4F4F

Design tokens & code

CSS
--color: #4e5042;
/* rgb */ color: rgb(78, 80, 66);
/* oklch */ color: oklch(42.5% 0.023 114.0);
Tailwind
colors: {
  custom: {
    50: '#7f8176',
    500: '#4e5042',
    950: '#000000',
  },
}
SCSS
$custom: #4e5042;
$custom-light: #7f8176;
$custom-dark: #000000;
JSON
{
  "hex": "#4e5042",
  "rgb": {
    "r": 78,
    "g": 80,
    "b": 66
  },
  "hsl": {
    "h": 68.571,
    "s": 9.589,
    "l": 28.627
  },
  "oklch": {
    "l": 0.42504,
    "c": 0.02253,
    "h": 114
  },
  "luminance": 0.0775
}

Semantic roles & 50–950 ramp

primary
#4E5042
secondary
#716F7F
accent
#75B37E
background
#F7F7F7
surface
#EEEEED
border
#C9C9C8
text
#0A0A08
muted
#7C7C7B

Preview Lab

Preview with #4E5042

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

Preview Lab → · Contrast checker → · Palette generator →

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