#4E5237#4E5237

#4E5237 is a dark, muted yellow. Relative luminance 0.079; OKLCH L 42.7% C 0.042 H 115.1°. Best body text is #FFFFFF at 8.12:1 contrast (WCAG AA passes).

Color values

HEX#4E5237
RGBrgb(78, 82, 55)
HSLhsl(69, 20%, 27%)
HSVhsv(69, 33%, 32%)
CMYKcmyk(4.9%, 0%, 32.9%, 67.8%)
CIE-LABlab(33.84, -6.75, 15.35)
CIE-LCHlch(33.84, 16.77, 113.74°)
OKLaboklab(42.72% -0.0179 0.0384)
OKLCHoklch(42.72% 0.042 115.1)
XYZxyz(6.8488, 7.9302, 4.7836)
Luminance0.0793 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4E5237 #3B3752
analogous
#524937 #4E5237 #415237
triadic
#4E5237 #374E52 #52374E
tetradic
#4E5237 #375249 #3B3752 #523741
square
#4E5237 #375249 #3B3752 #523741
split-complementary
#4E5237 #374152 #493752
monochromatic
#11120C #2B2D1E #4E5237 #717750 #939A69

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##4E5237#FFFFFF#000000##FFFFFF
##4E52371.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)
#564F35
Deuteranopia (green-blind)
#555038
Tritanopia (blue-blind)
#514F4B
Achromatopsia (no color)
#505050

Design tokens & code

CSS
--color: #4e5237;
/* rgb */ color: rgb(78, 82, 55);
/* oklch */ color: oklch(42.7% 0.042 115.1);
Tailwind
colors: {
  custom: {
    50: '#80826e',
    500: '#4e5237',
    950: '#000000',
  },
}
SCSS
$custom: #4e5237;
$custom-light: #80826e;
$custom-dark: #000000;
JSON
{
  "hex": "#4e5237",
  "rgb": {
    "r": 78,
    "g": 82,
    "b": 55
  },
  "hsl": {
    "h": 68.889,
    "s": 19.708,
    "l": 26.863
  },
  "oklch": {
    "l": 0.42724,
    "c": 0.04236,
    "h": 115.1
  },
  "luminance": 0.0793
}

Semantic roles & 50–950 ramp

primary
#4E5237
secondary
#676382
accent
#6BBC77
background
#F7F7F6
surface
#EEEEEB
border
#C9C9C6
text
#0A0A07
muted
#7C7C7A

Preview Lab

Preview with #4E5237

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

Preview Lab → · Contrast checker → · Palette generator →

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