#4E5010#4E5010

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

Color values

HEX#4E5010
RGBrgb(78, 80, 16)
HSLhsl(62, 67%, 19%)
HSVhsv(62, 80%, 31%)
CMYKcmyk(2.5%, 0%, 80%, 68.6%)
CIE-LABlab(32.69, -9.63, 35.00)
CIE-LCHlch(32.69, 36.30, 105.39°)
OKLaboklab(41.64% -0.0301 0.0772)
OKLCHoklch(41.64% 0.083 111.3)
XYZxyz(6.1043, 7.3946, 1.5959)
Luminance0.0739 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4E5010 #121050
analogous
#503210 #4E5010 #2E5010
triadic
#4E5010 #104E50 #50104E
tetradic
#4E5010 #105032 #121050 #50102E
square
#4E5010 #105032 #121050 #50102E
split-complementary
#4E5010 #102E50 #321050
monochromatic
#191A05 #1C1D06 #4E5010 #80831A #B1B624

Accessibility & contrast

On white

8.47
#4E5010 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #4E5010
8.47:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4E5010#FFFFFF#000000##FFFFFF
##4E50101.008.472.488.47
#FFFFFF8.471.0021.001.00
#0000002.4821.001.0021.00
##FFFFFF8.471.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #4e5010;
/* rgb */ color: rgb(78, 80, 16);
/* oklch */ color: oklch(41.6% 0.083 111.3);
Tailwind
colors: {
  custom: {
    50: '#828054',
    500: '#4e5010',
    950: '#000000',
  },
}
SCSS
$custom: #4e5010;
$custom-light: #828054;
$custom-dark: #000000;
JSON
{
  "hex": "#4e5010",
  "rgb": {
    "r": 78,
    "g": 80,
    "b": 16
  },
  "hsl": {
    "h": 61.875,
    "s": 66.667,
    "l": 18.824
  },
  "oklch": {
    "l": 0.41643,
    "c": 0.08287,
    "h": 111.3
  },
  "luminance": 0.07394
}

Semantic roles & 50–950 ramp

primary
#4E5010
secondary
#35328A
accent
#3EEA44
background
#F8F7F5
surface
#EFEEE8
border
#CAC9C4
text
#0B0A03
muted
#7C7C78

Preview Lab

Preview with #4E5010

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

Preview Lab → · Contrast checker → · Palette generator →

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