#4E5239#4E5239

#4E5239 is a dark, muted yellow. Relative luminance 0.080; OKLCH L 42.8% C 0.039 H 115.5°. Best body text is #FFFFFF at 8.11:1 contrast (WCAG AA passes).

Color values

HEX#4E5239
RGBrgb(78, 82, 57)
HSLhsl(70, 18%, 27%)
HSVhsv(70, 30%, 32%)
CMYKcmyk(4.9%, 0%, 30.5%, 67.8%)
CIE-LABlab(33.88, -6.43, 14.18)
CIE-LCHlch(33.88, 15.57, 114.40°)
OKLaboklab(42.77% -0.017 0.0356)
OKLCHoklch(42.77% 0.039 115.5)
XYZxyz(6.8977, 7.9497, 5.0412)
Luminance0.0795 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4E5239 #3D3952
analogous
#524A39 #4E5239 #425239
triadic
#4E5239 #394E52 #52394E
tetradic
#4E5239 #39524A #3D3952 #523942
square
#4E5239 #39524A #3D3952 #523942
split-complementary
#4E5239 #394252 #4A3952
monochromatic
#11120D #2C2E20 #4E5239 #707652 #92996C

Accessibility & contrast

On white

8.11
#4E5239 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #4E5239
8.11:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4E5239#FFFFFF#000000##FFFFFF
##4E52391.008.112.598.11
#FFFFFF8.111.0021.001.00
#0000002.5921.001.0021.00
##FFFFFF8.111.0021.001.00

Color blindness preview

Protanopia (red-blind)
#564F37
Deuteranopia (green-blind)
#55503A
Tritanopia (blue-blind)
#514F4B
Achromatopsia (no color)
#505050

Design tokens & code

CSS
--color: #4e5239;
/* rgb */ color: rgb(78, 82, 57);
/* oklch */ color: oklch(42.8% 0.039 115.5);
Tailwind
colors: {
  custom: {
    50: '#80826f',
    500: '#4e5239',
    950: '#000000',
  },
}
SCSS
$custom: #4e5239;
$custom-light: #80826f;
$custom-dark: #000000;
JSON
{
  "hex": "#4e5239",
  "rgb": {
    "r": 78,
    "g": 82,
    "b": 57
  },
  "hsl": {
    "h": 69.6,
    "s": 17.986,
    "l": 27.255
  },
  "oklch": {
    "l": 0.4277,
    "c": 0.03947,
    "h": 115.5
  },
  "luminance": 0.0795
}

Semantic roles & 50–950 ramp

primary
#4E5239
secondary
#6A6582
accent
#6DBB7A
background
#F7F7F6
surface
#EEEEEC
border
#C9C9C7
text
#0A0A07
muted
#7C7C7A

Preview Lab

Preview with #4E5239

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

Preview Lab → · Contrast checker → · Palette generator →

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