#4E511E#4E511E

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

Color values

HEX#4E511E
RGBrgb(78, 81, 30)
HSLhsl(64, 46%, 22%)
HSVhsv(64, 63%, 32%)
CMYKcmyk(3.7%, 0%, 63%, 68.2%)
CIE-LABlab(33.13, -9.22, 28.93)
CIE-LCHlch(33.13, 30.37, 107.68°)
OKLaboklab(42.04% -0.0273 0.0669)
OKLCHoklch(42.04% 0.072 112.2)
XYZxyz(6.3188, 7.5984, 2.3618)
Luminance0.0760 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4E511E #211E51
analogous
#513B1E #4E511E #35511E
triadic
#4E511E #1E4E51 #511E4E
tetradic
#4E511E #1E513B #211E51 #511E35
square
#4E511E #1E513B #211E51 #511E35
split-complementary
#4E511E #1E3551 #3B1E51
monochromatic
#161608 #23240D #4E511E #797E2F #A4AA3F

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##4E511E#FFFFFF#000000##FFFFFF
##4E511E1.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)
#574D18
Deuteranopia (green-blind)
#574F21
Tritanopia (blue-blind)
#534C46
Achromatopsia (no color)
#4E4E4E

Design tokens & code

CSS
--color: #4e511e;
/* rgb */ color: rgb(78, 81, 30);
/* oklch */ color: oklch(42.0% 0.072 112.2);
Tailwind
colors: {
  custom: {
    50: '#81815c',
    500: '#4e511e',
    950: '#000000',
  },
}
SCSS
$custom: #4e511e;
$custom-light: #81815c;
$custom-dark: #000000;
JSON
{
  "hex": "#4e511e",
  "rgb": {
    "r": 78,
    "g": 81,
    "b": 30
  },
  "hsl": {
    "h": 63.529,
    "s": 45.946,
    "l": 21.765
  },
  "oklch": {
    "l": 0.42036,
    "c": 0.07223,
    "h": 112.2
  },
  "luminance": 0.07598
}

Semantic roles & 50–950 ramp

primary
#4E511E
secondary
#494586
accent
#52D65A
background
#F8F7F5
surface
#EFEEE9
border
#CAC9C5
text
#0A0A04
muted
#7C7C79

Preview Lab

Preview with #4E511E

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

Preview Lab → · Contrast checker → · Palette generator →

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