#4E5111#4E5111

#4E5111 is a dark, moderate yellow. Relative luminance 0.075; OKLCH L 41.9% C 0.083 H 112.2°. Best body text is #FFFFFF at 8.37:1 contrast (WCAG AA passes).

Color values

HEX#4E5111
RGBrgb(78, 81, 17)
HSLhsl(63, 65%, 19%)
HSVhsv(63, 79%, 32%)
CMYKcmyk(3.7%, 0%, 79%, 68.2%)
CIE-LABlab(33.02, -10.16, 34.91)
CIE-LCHlch(33.02, 36.36, 106.23°)
OKLaboklab(41.91% -0.0315 0.0772)
OKLCHoklch(41.91% 0.083 112.2)
XYZxyz(6.1857, 7.5452, 1.6607)
Luminance0.0755 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4E5111 #141151
analogous
#513411 #4E5111 #2E5111
triadic
#4E5111 #114E51 #51114E
tetradic
#4E5111 #115134 #141151 #51112E
square
#4E5111 #115134 #141151 #51112E
split-complementary
#4E5111 #112E51 #341151
monochromatic
#181905 #1D1E06 #4E5111 #7F841C #AFB626

Accessibility & contrast

On white

8.37
#4E5111 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.51
#4E5111 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4E5111
8.37:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4E5111#FFFFFF#000000##FFFFFF
##4E51111.008.372.518.37
#FFFFFF8.371.0021.001.00
#0000002.5121.001.0021.00
##FFFFFF8.371.0021.001.00

Color blindness preview

Protanopia (red-blind)
#584D05
Deuteranopia (green-blind)
#584E16
Tritanopia (blue-blind)
#544C45
Achromatopsia (no color)
#4E4E4E

Design tokens & code

CSS
--color: #4e5111;
/* rgb */ color: rgb(78, 81, 17);
/* oklch */ color: oklch(41.9% 0.083 112.2);
Tailwind
colors: {
  custom: {
    50: '#828154',
    500: '#4e5111',
    950: '#000000',
  },
}
SCSS
$custom: #4e5111;
$custom-light: #828154;
$custom-dark: #000000;
JSON
{
  "hex": "#4e5111",
  "rgb": {
    "r": 78,
    "g": 81,
    "b": 17
  },
  "hsl": {
    "h": 62.813,
    "s": 65.306,
    "l": 19.216
  },
  "oklch": {
    "l": 0.41907,
    "c": 0.08338,
    "h": 112.2
  },
  "luminance": 0.07545
}

Semantic roles & 50–950 ramp

primary
#4E5111
secondary
#38348A
accent
#40E847
background
#F8F7F5
surface
#EFEEE9
border
#CAC9C5
text
#0B0A03
muted
#7C7C78

Preview Lab

Preview with #4E5111

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

Preview Lab → · Contrast checker → · Palette generator →

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