#4E512A#4E512A

#4E512A is a dark, muted yellow. Relative luminance 0.077; OKLCH L 42.2% C 0.058 H 112.5°. Best body text is #FFFFFF at 8.29:1 contrast (WCAG AA passes).

Color values

HEX#4E512A
RGBrgb(78, 81, 42)
HSLhsl(65, 32%, 24%)
HSVhsv(65, 48%, 32%)
CMYKcmyk(3.7%, 0%, 48.1%, 68.2%)
CIE-LABlab(33.29, -7.96, 22.45)
CIE-LCHlch(33.29, 23.82, 109.53°)
OKLaboklab(42.21% -0.0224 0.054)
OKLCHoklch(42.21% 0.058 112.5)
XYZxyz(6.5023, 7.6718, 3.3283)
Luminance0.0767 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4E512A #2D2A51
analogous
#51412A #4E512A #3B512A
triadic
#4E512A #2A4E51 #512A4E
tetradic
#4E512A #2A5141 #2D2A51 #512A3B
square
#4E512A #2A5141 #2D2A51 #512A3B
split-complementary
#4E512A #2A3B51 #412A51
monochromatic
#13140A #272915 #4E512A #75793F #9CA254

Accessibility & contrast

On white

8.29
#4E512A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #4E512A
8.29:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4E512A#FFFFFF#000000##FFFFFF
##4E512A1.008.292.538.29
#FFFFFF8.291.0021.001.00
#0000002.5321.001.0021.00
##FFFFFF8.291.0021.001.00

Color blindness preview

Protanopia (red-blind)
#564E27
Deuteranopia (green-blind)
#564F2C
Tritanopia (blue-blind)
#524D48
Achromatopsia (no color)
#4E4E4E

Design tokens & code

CSS
--color: #4e512a;
/* rgb */ color: rgb(78, 81, 42);
/* oklch */ color: oklch(42.2% 0.058 112.5);
Tailwind
colors: {
  custom: {
    50: '#808164',
    500: '#4e512a',
    950: '#000000',
  },
}
SCSS
$custom: #4e512a;
$custom-light: #808164;
$custom-dark: #000000;
JSON
{
  "hex": "#4e512a",
  "rgb": {
    "r": 78,
    "g": 81,
    "b": 42
  },
  "hsl": {
    "h": 64.615,
    "s": 31.707,
    "l": 24.118
  },
  "oklch": {
    "l": 0.42213,
    "c": 0.05847,
    "h": 112.5
  },
  "luminance": 0.07672
}

Semantic roles & 50–950 ramp

primary
#4E512A
secondary
#575483
accent
#60C868
background
#F7F7F6
surface
#EEEEEB
border
#C9C9C6
text
#0A0A05
muted
#7C7C7A

Preview Lab

Preview with #4E512A

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

Preview Lab → · Contrast checker → · Palette generator →

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