#4E512D#4E512D

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

Color values

HEX#4E512D
RGBrgb(78, 81, 45)
HSLhsl(65, 29%, 25%)
HSVhsv(65, 44%, 32%)
CMYKcmyk(3.7%, 0%, 44.4%, 68.2%)
CIE-LABlab(33.34, -7.59, 20.74)
CIE-LCHlch(33.34, 22.09, 110.09°)
OKLaboklab(42.27% -0.021 0.0504)
OKLCHoklch(42.27% 0.055 112.6)
XYZxyz(6.5580, 7.6941, 3.6218)
Luminance0.0769 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4E512D #302D51
analogous
#51422D #4E512D #3C512D
triadic
#4E512D #2D4E51 #512D4E
tetradic
#4E512D #2D5142 #302D51 #512D3C
square
#4E512D #2D5142 #302D51 #512D3C
split-complementary
#4E512D #2D3C51 #422D51
monochromatic
#13140B #282A17 #4E512D #747843 #9AA059

Accessibility & contrast

On white

8.27
#4E512D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #4E512D
8.27:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4E512D#FFFFFF#000000##FFFFFF
##4E512D1.008.272.548.27
#FFFFFF8.271.0021.001.00
#0000002.5421.001.0021.00
##FFFFFF8.271.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #4e512d;
/* rgb */ color: rgb(78, 81, 45);
/* oklch */ color: oklch(42.3% 0.055 112.6);
Tailwind
colors: {
  custom: {
    50: '#808166',
    500: '#4e512d',
    950: '#000000',
  },
}
SCSS
$custom: #4e512d;
$custom-light: #808166;
$custom-dark: #000000;
JSON
{
  "hex": "#4e512d",
  "rgb": {
    "r": 78,
    "g": 81,
    "b": 45
  },
  "hsl": {
    "h": 65,
    "s": 28.571,
    "l": 24.706
  },
  "oklch": {
    "l": 0.42267,
    "c": 0.05461,
    "h": 112.6
  },
  "luminance": 0.07694
}

Semantic roles & 50–950 ramp

primary
#4E512D
secondary
#5B5783
accent
#63C56B
background
#F7F7F6
surface
#EEEEEB
border
#C9C9C6
text
#0A0A06
muted
#7C7C7A

Preview Lab

Preview with #4E512D

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

Preview Lab → · Contrast checker → · Palette generator →

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