#4E512C#4E512C

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

Color values

HEX#4E512C
RGBrgb(78, 81, 44)
HSLhsl(65, 30%, 25%)
HSVhsv(65, 46%, 32%)
CMYKcmyk(3.7%, 0%, 45.7%, 68.2%)
CIE-LABlab(33.32, -7.71, 21.31)
CIE-LCHlch(33.32, 22.67, 109.90°)
OKLaboklab(42.25% -0.0215 0.0516)
OKLCHoklch(42.25% 0.056 112.6)
XYZxyz(6.5390, 7.6865, 3.5216)
Luminance0.0769 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4E512C #2F2C51
analogous
#51422C #4E512C #3C512C
triadic
#4E512C #2C4E51 #512C4E
tetradic
#4E512C #2C5142 #2F2C51 #512C3C
square
#4E512C #2C5142 #2F2C51 #512C3C
split-complementary
#4E512C #2C3C51 #422C51
monochromatic
#13140B #282916 #4E512C #747942 #9AA057

Accessibility & contrast

On white

8.28
#4E512C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.54
#4E512C on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4E512C
8.28:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4E512C#FFFFFF#000000##FFFFFF
##4E512C1.008.282.548.28
#FFFFFF8.281.0021.001.00
#0000002.5421.001.0021.00
##FFFFFF8.281.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #4e512c;
/* rgb */ color: rgb(78, 81, 44);
/* oklch */ color: oklch(42.2% 0.056 112.6);
Tailwind
colors: {
  custom: {
    50: '#808166',
    500: '#4e512c',
    950: '#000000',
  },
}
SCSS
$custom: #4e512c;
$custom-light: #808166;
$custom-dark: #000000;
JSON
{
  "hex": "#4e512c",
  "rgb": {
    "r": 78,
    "g": 81,
    "b": 44
  },
  "hsl": {
    "h": 64.865,
    "s": 29.6,
    "l": 24.51
  },
  "oklch": {
    "l": 0.42248,
    "c": 0.05591,
    "h": 112.6
  },
  "luminance": 0.07686
}

Semantic roles & 50–950 ramp

primary
#4E512C
secondary
#5A5683
accent
#62C66A
background
#F7F7F6
surface
#EEEEEB
border
#C9C9C6
text
#0A0A06
muted
#7C7C7A

Preview Lab

Preview with #4E512C

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

Preview Lab → · Contrast checker → · Palette generator →

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