#4E5016#4E5016

#4E5016 is a dark, moderate yellow. Relative luminance 0.074; OKLCH L 41.7% C 0.078 H 111.3°. Best body text is #FFFFFF at 8.46:1 contrast (WCAG AA passes).

Color values

HEX#4E5016
RGBrgb(78, 80, 22)
HSLhsl(62, 57%, 20%)
HSVhsv(62, 73%, 31%)
CMYKcmyk(2.5%, 0%, 72.5%, 68.6%)
CIE-LABlab(32.73, -9.27, 32.46)
CIE-LCHlch(32.73, 33.76, 105.93°)
OKLaboklab(41.69% -0.0284 0.073)
OKLCHoklch(41.69% 0.078 111.3)
XYZxyz(6.1556, 7.4151, 1.8659)
Luminance0.0741 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4E5016 #181650
analogous
#503516 #4E5016 #315016
triadic
#4E5016 #164E50 #50164E
tetradic
#4E5016 #165035 #181650 #501631
square
#4E5016 #165035 #181650 #501631
split-complementary
#4E5016 #163150 #351650
monochromatic
#171807 #1F2009 #4E5016 #7D8023 #ACB030

Accessibility & contrast

On white

8.46
#4E5016 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.48
#4E5016 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4E5016
8.46:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4E5016#FFFFFF#000000##FFFFFF
##4E50161.008.462.488.46
#FFFFFF8.461.0021.001.00
#0000002.4821.001.0021.00
##FFFFFF8.461.0021.001.00

Color blindness preview

Protanopia (red-blind)
#574C0E
Deuteranopia (green-blind)
#574E1A
Tritanopia (blue-blind)
#544B44
Achromatopsia (no color)
#4D4D4D

Design tokens & code

CSS
--color: #4e5016;
/* rgb */ color: rgb(78, 80, 22);
/* oklch */ color: oklch(41.7% 0.078 111.3);
Tailwind
colors: {
  custom: {
    50: '#828057',
    500: '#4e5016',
    950: '#000000',
  },
}
SCSS
$custom: #4e5016;
$custom-light: #828057;
$custom-dark: #000000;
JSON
{
  "hex": "#4e5016",
  "rgb": {
    "r": 78,
    "g": 80,
    "b": 22
  },
  "hsl": {
    "h": 62.069,
    "s": 56.863,
    "l": 20
  },
  "oklch": {
    "l": 0.41693,
    "c": 0.07836,
    "h": 111.3
  },
  "luminance": 0.07415
}

Semantic roles & 50–950 ramp

primary
#4E5016
secondary
#3D3A87
accent
#48E04D
background
#F8F7F5
surface
#EFEEE9
border
#CAC9C5
text
#0B0A03
muted
#7C7C78

Preview Lab

Preview with #4E5016

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

Preview Lab → · Contrast checker → · Palette generator →

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