#4E511A#4E511A

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

Color values

HEX#4E511A
RGBrgb(78, 81, 26)
HSLhsl(63, 51%, 21%)
HSVhsv(63, 68%, 32%)
CMYKcmyk(3.7%, 0%, 67.9%, 68.2%)
CIE-LABlab(33.09, -9.56, 30.92)
CIE-LCHlch(33.09, 32.37, 107.18°)
OKLaboklab(41.99% -0.0288 0.0705)
OKLCHoklch(41.99% 0.076 112.2)
XYZxyz(6.2709, 7.5793, 2.1097)
Luminance0.0758 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4E511A #1D1A51
analogous
#51381A #4E511A #32511A
triadic
#4E511A #1A4E51 #511A4E
tetradic
#4E511A #1A5138 #1D1A51 #511A32
square
#4E511A #1A5138 #1D1A51 #511A32
split-complementary
#4E511A #1A3251 #381A51
monochromatic
#161707 #21230B #4E511A #7B7F29 #A7AE38

Accessibility & contrast

On white

8.35
#4E511A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #4E511A
8.35:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4E511A#FFFFFF#000000##FFFFFF
##4E511A1.008.352.528.35
#FFFFFF8.351.0021.001.00
#0000002.5221.001.0021.00
##FFFFFF8.351.0021.001.00

Color blindness preview

Protanopia (red-blind)
#574D13
Deuteranopia (green-blind)
#584E1E
Tritanopia (blue-blind)
#534C46
Achromatopsia (no color)
#4E4E4E

Design tokens & code

CSS
--color: #4e511a;
/* rgb */ color: rgb(78, 81, 26);
/* oklch */ color: oklch(42.0% 0.076 112.2);
Tailwind
colors: {
  custom: {
    50: '#818159',
    500: '#4e511a',
    950: '#000000',
  },
}
SCSS
$custom: #4e511a;
$custom-light: #818159;
$custom-dark: #000000;
JSON
{
  "hex": "#4e511a",
  "rgb": {
    "r": 78,
    "g": 81,
    "b": 26
  },
  "hsl": {
    "h": 63.273,
    "s": 51.402,
    "l": 20.98
  },
  "oklch": {
    "l": 0.4199,
    "c": 0.07611,
    "h": 112.2
  },
  "luminance": 0.07579
}

Semantic roles & 50–950 ramp

primary
#4E511A
secondary
#444087
accent
#4DDB55
background
#F8F7F5
surface
#EFEEE9
border
#CAC9C5
text
#0A0A04
muted
#7C7C79

Preview Lab

Preview with #4E511A

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

Preview Lab → · Contrast checker → · Palette generator →

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