#4E5038#4E5038

#4E5038 is a dark, muted yellow. Relative luminance 0.076; OKLCH L 42.2% C 0.038 H 111.9°. Best body text is #FFFFFF at 8.30:1 contrast (WCAG AA passes).

Color values

HEX#4E5038
RGBrgb(78, 80, 56)
HSLhsl(65, 18%, 27%)
HSVhsv(65, 30%, 31%)
CMYKcmyk(2.5%, 0%, 30%, 68.6%)
CIE-LABlab(33.23, -5.39, 13.92)
CIE-LCHlch(33.23, 14.93, 111.17°)
OKLaboklab(42.25% -0.014 0.035)
OKLCHoklch(42.25% 0.038 111.9)
XYZxyz(6.7243, 7.6426, 4.8615)
Luminance0.0764 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4E5038 #3A3850
analogous
#504638 #4E5038 #425038
triadic
#4E5038 #384E50 #50384E
tetradic
#4E5038 #385046 #3A3850 #503842
square
#4E5038 #385046 #3A3850 #503842
split-complementary
#4E5038 #384250 #463850
monochromatic
#12120D #2B2C1F #4E5038 #717451 #94976B

Accessibility & contrast

On white

8.30
#4E5038 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.53
#4E5038 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4E5038
8.30:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4E5038#FFFFFF#000000##FFFFFF
##4E50381.008.302.538.30
#FFFFFF8.301.0021.001.00
#0000002.5321.001.0021.00
##FFFFFF8.301.0021.001.00

Color blindness preview

Protanopia (red-blind)
#544E36
Deuteranopia (green-blind)
#544E39
Tritanopia (blue-blind)
#514D4A
Achromatopsia (no color)
#4E4E4E

Design tokens & code

CSS
--color: #4e5038;
/* rgb */ color: rgb(78, 80, 56);
/* oklch */ color: oklch(42.2% 0.038 111.9);
Tailwind
colors: {
  custom: {
    50: '#80816e',
    500: '#4e5038',
    950: '#000000',
  },
}
SCSS
$custom: #4e5038;
$custom-light: #80816e;
$custom-dark: #000000;
JSON
{
  "hex": "#4e5038",
  "rgb": {
    "r": 78,
    "g": 80,
    "b": 56
  },
  "hsl": {
    "h": 65,
    "s": 17.647,
    "l": 26.667
  },
  "oklch": {
    "l": 0.42246,
    "c": 0.0377,
    "h": 111.9
  },
  "luminance": 0.07643
}

Semantic roles & 50–950 ramp

primary
#4E5038
secondary
#666480
accent
#6DBA74
background
#F7F7F6
surface
#EEEEEC
border
#C9C9C7
text
#0A0A07
muted
#7C7C7A

Preview Lab

Preview with #4E5038

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

Preview Lab → · Contrast checker → · Palette generator →

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