#4E511F#4E511F

#4E511F is a dark, moderate yellow. Relative luminance 0.076; OKLCH L 42.0% C 0.071 H 112.2°. Best body text is #FFFFFF at 8.33:1 contrast (WCAG AA passes).

Color values

HEX#4E511F
RGBrgb(78, 81, 31)
HSLhsl(64, 45%, 22%)
HSVhsv(64, 62%, 32%)
CMYKcmyk(3.7%, 0%, 61.7%, 68.2%)
CIE-LABlab(33.14, -9.13, 28.42)
CIE-LCHlch(33.14, 29.85, 107.82°)
OKLaboklab(42.05% -0.0269 0.0659)
OKLCHoklch(42.05% 0.071 112.2)
XYZxyz(6.3318, 7.6036, 2.4302)
Luminance0.0760 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4E511F #221F51
analogous
#513B1F #4E511F #35511F
triadic
#4E511F #1F4E51 #511F4E
tetradic
#4E511F #1F513B #221F51 #511F35
square
#4E511F #1F513B #221F51 #511F35
split-complementary
#4E511F #1F3551 #3B1F51
monochromatic
#151608 #23250E #4E511F #797D30 #A3AA41

Accessibility & contrast

On white

8.33
#4E511F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.52
#4E511F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4E511F
8.33:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4E511F#FFFFFF#000000##FFFFFF
##4E511F1.008.332.528.33
#FFFFFF8.331.0021.001.00
#0000002.5221.001.0021.00
##FFFFFF8.331.0021.001.00

Color blindness preview

Protanopia (red-blind)
#574D1A
Deuteranopia (green-blind)
#574F22
Tritanopia (blue-blind)
#534C46
Achromatopsia (no color)
#4E4E4E

Design tokens & code

CSS
--color: #4e511f;
/* rgb */ color: rgb(78, 81, 31);
/* oklch */ color: oklch(42.0% 0.071 112.2);
Tailwind
colors: {
  custom: {
    50: '#81815d',
    500: '#4e511f',
    950: '#000000',
  },
}
SCSS
$custom: #4e511f;
$custom-light: #81815d;
$custom-dark: #000000;
JSON
{
  "hex": "#4e511f",
  "rgb": {
    "r": 78,
    "g": 81,
    "b": 31
  },
  "hsl": {
    "h": 63.6,
    "s": 44.643,
    "l": 21.961
  },
  "oklch": {
    "l": 0.42049,
    "c": 0.07121,
    "h": 112.2
  },
  "luminance": 0.07603
}

Semantic roles & 50–950 ramp

primary
#4E511F
secondary
#4A4686
accent
#53D45B
background
#F8F7F5
surface
#EFEEE9
border
#CAC9C5
text
#0A0A04
muted
#7C7C79

Preview Lab

Preview with #4E511F

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

Preview Lab → · Contrast checker → · Palette generator →

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