#4E5231#4E5231

#4E5231 is a dark, muted yellow. Relative luminance 0.079; OKLCH L 42.6% C 0.051 H 114.2°. Best body text is #FFFFFF at 8.15:1 contrast (WCAG AA passes).

Color values

HEX#4E5231
RGBrgb(78, 82, 49)
HSLhsl(67, 25%, 26%)
HSVhsv(67, 40%, 32%)
CMYKcmyk(4.9%, 0%, 40.2%, 67.8%)
CIE-LABlab(33.72, -7.64, 18.85)
CIE-LCHlch(33.72, 20.34, 112.06°)
OKLaboklab(42.6% -0.0208 0.0463)
OKLCHoklch(42.6% 0.051 114.2)
XYZxyz(6.7136, 7.8761, 4.0717)
Luminance0.0788 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4E5231 #353152
analogous
#524531 #4E5231 #3D5231
triadic
#4E5231 #314E52 #52314E
tetradic
#4E5231 #315245 #353152 #52313D
square
#4E5231 #315245 #353152 #52313D
split-complementary
#4E5231 #313D52 #453152
monochromatic
#12130B #2A2C1A #4E5231 #727848 #979F5F

Accessibility & contrast

On white

8.15
#4E5231 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.58
#4E5231 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4E5231
8.15:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4E5231#FFFFFF#000000##FFFFFF
##4E52311.008.152.588.15
#FFFFFF8.151.0021.001.00
#0000002.5821.001.0021.00
##FFFFFF8.151.0021.001.00

Color blindness preview

Protanopia (red-blind)
#564F2F
Deuteranopia (green-blind)
#565032
Tritanopia (blue-blind)
#524E4A
Achromatopsia (no color)
#4F4F4F

Design tokens & code

CSS
--color: #4e5231;
/* rgb */ color: rgb(78, 82, 49);
/* oklch */ color: oklch(42.6% 0.051 114.2);
Tailwind
colors: {
  custom: {
    50: '#808269',
    500: '#4e5231',
    950: '#000000',
  },
}
SCSS
$custom: #4e5231;
$custom-light: #808269;
$custom-dark: #000000;
JSON
{
  "hex": "#4e5231",
  "rgb": {
    "r": 78,
    "g": 82,
    "b": 49
  },
  "hsl": {
    "h": 67.273,
    "s": 25.191,
    "l": 25.686
  },
  "oklch": {
    "l": 0.42596,
    "c": 0.05077,
    "h": 114.2
  },
  "luminance": 0.07876
}

Semantic roles & 50–950 ramp

primary
#4E5231
secondary
#615C83
accent
#66C271
background
#F7F7F6
surface
#EEEEEB
border
#C9C9C6
text
#0A0A06
muted
#7C7C7A

Preview Lab

Preview with #4E5231

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

Preview Lab → · Contrast checker → · Palette generator →

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