#4E512F#4E512F

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

Color values

HEX#4E512F
RGBrgb(78, 81, 47)
HSLhsl(65, 27%, 25%)
HSVhsv(65, 42%, 32%)
CMYKcmyk(3.7%, 0%, 42%, 68.2%)
CIE-LABlab(33.37, -7.32, 19.60)
CIE-LCHlch(33.37, 20.92, 110.48°)
OKLaboklab(42.3% -0.0201 0.0479)
OKLCHoklch(42.3% 0.052 112.7)
XYZxyz(6.5975, 7.7099, 3.8294)
Luminance0.0771 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4E512F #322F51
analogous
#51432F #4E512F #3D512F
triadic
#4E512F #2F4E51 #512F4E
tetradic
#4E512F #2F5143 #322F51 #512F3D
square
#4E512F #2F5143 #322F51 #512F3D
split-complementary
#4E512F #2F3D51 #432F51
monochromatic
#13130B #292A19 #4E512F #737845 #999E5C

Accessibility & contrast

On white

8.26
#4E512F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #4E512F
8.26:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4E512F#FFFFFF#000000##FFFFFF
##4E512F1.008.262.548.26
#FFFFFF8.261.0021.001.00
#0000002.5421.001.0021.00
##FFFFFF8.261.0021.001.00

Color blindness preview

Protanopia (red-blind)
#564E2C
Deuteranopia (green-blind)
#564F31
Tritanopia (blue-blind)
#524D49
Achromatopsia (no color)
#4E4E4E

Design tokens & code

CSS
--color: #4e512f;
/* rgb */ color: rgb(78, 81, 47);
/* oklch */ color: oklch(42.3% 0.052 112.7);
Tailwind
colors: {
  custom: {
    50: '#808168',
    500: '#4e512f',
    950: '#000000',
  },
}
SCSS
$custom: #4e512f;
$custom-light: #808168;
$custom-dark: #000000;
JSON
{
  "hex": "#4e512f",
  "rgb": {
    "r": 78,
    "g": 81,
    "b": 47
  },
  "hsl": {
    "h": 65.294,
    "s": 26.562,
    "l": 25.098
  },
  "oklch": {
    "l": 0.42304,
    "c": 0.05195,
    "h": 112.7
  },
  "luminance": 0.0771
}

Semantic roles & 50–950 ramp

primary
#4E512F
secondary
#5D5982
accent
#65C36D
background
#F7F7F6
surface
#EEEEEB
border
#C9C9C6
text
#0A0A06
muted
#7C7C7A

Preview Lab

Preview with #4E512F

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

Preview Lab → · Contrast checker → · Palette generator →

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