#4E512B#4E512B

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

Color values

HEX#4E512B
RGBrgb(78, 81, 43)
HSLhsl(65, 31%, 24%)
HSVhsv(65, 47%, 32%)
CMYKcmyk(3.7%, 0%, 46.9%, 68.2%)
CIE-LABlab(33.31, -7.84, 21.88)
CIE-LCHlch(33.31, 23.25, 109.71°)
OKLaboklab(42.23% -0.0219 0.0528)
OKLCHoklch(42.23% 0.057 112.5)
XYZxyz(6.5204, 7.6791, 3.4237)
Luminance0.0768 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4E512B #2E2B51
analogous
#51412B #4E512B #3B512B
triadic
#4E512B #2B4E51 #512B4E
tetradic
#4E512B #2B5141 #2E2B51 #512B3B
square
#4E512B #2B5141 #2E2B51 #512B3B
split-complementary
#4E512B #2B3B51 #412B51
monochromatic
#13140B #282916 #4E512B #747940 #9BA155

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##4E512B#FFFFFF#000000##FFFFFF
##4E512B1.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)
#564E28
Deuteranopia (green-blind)
#564F2D
Tritanopia (blue-blind)
#524D48
Achromatopsia (no color)
#4E4E4E

Design tokens & code

CSS
--color: #4e512b;
/* rgb */ color: rgb(78, 81, 43);
/* oklch */ color: oklch(42.2% 0.057 112.5);
Tailwind
colors: {
  custom: {
    50: '#808165',
    500: '#4e512b',
    950: '#000000',
  },
}
SCSS
$custom: #4e512b;
$custom-light: #808165;
$custom-dark: #000000;
JSON
{
  "hex": "#4e512b",
  "rgb": {
    "r": 78,
    "g": 81,
    "b": 43
  },
  "hsl": {
    "h": 64.737,
    "s": 30.645,
    "l": 24.314
  },
  "oklch": {
    "l": 0.42231,
    "c": 0.0572,
    "h": 112.5
  },
  "luminance": 0.07679
}

Semantic roles & 50–950 ramp

primary
#4E512B
secondary
#585583
accent
#61C769
background
#F7F7F6
surface
#EEEEEB
border
#C9C9C6
text
#0A0A05
muted
#7C7C7A

Preview Lab

Preview with #4E512B

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

Preview Lab → · Contrast checker → · Palette generator →

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