#4E5019#4E5019

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

Color values

HEX#4E5019
RGBrgb(78, 80, 25)
HSLhsl(62, 52%, 21%)
HSVhsv(62, 69%, 31%)
CMYKcmyk(2.5%, 0%, 68.8%, 68.6%)
CIE-LABlab(32.76, -9.05, 31.06)
CIE-LCHlch(32.76, 32.35, 106.25°)
OKLaboklab(41.72% -0.0274 0.0706)
OKLCHoklch(41.72% 0.076 111.2)
XYZxyz(6.1862, 7.4274, 2.0273)
Luminance0.0743 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4E5019 #1B1950
analogous
#503619 #4E5019 #325019
triadic
#4E5019 #194E50 #50194E
tetradic
#4E5019 #195036 #1B1950 #501932
square
#4E5019 #195036 #1B1950 #501932
split-complementary
#4E5019 #193250 #361950
monochromatic
#171707 #21210A #4E5019 #7B7F28 #A9AD36

Accessibility & contrast

On white

8.45
#4E5019 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.49
#4E5019 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4E5019
8.45:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4E5019#FFFFFF#000000##FFFFFF
##4E50191.008.452.498.45
#FFFFFF8.451.0021.001.00
#0000002.4921.001.0021.00
##FFFFFF8.451.0021.001.00

Color blindness preview

Protanopia (red-blind)
#564C12
Deuteranopia (green-blind)
#574E1D
Tritanopia (blue-blind)
#544B45
Achromatopsia (no color)
#4D4D4D

Design tokens & code

CSS
--color: #4e5019;
/* rgb */ color: rgb(78, 80, 25);
/* oklch */ color: oklch(41.7% 0.076 111.2);
Tailwind
colors: {
  custom: {
    50: '#818059',
    500: '#4e5019',
    950: '#000000',
  },
}
SCSS
$custom: #4e5019;
$custom-light: #818059;
$custom-dark: #000000;
JSON
{
  "hex": "#4e5019",
  "rgb": {
    "r": 78,
    "g": 80,
    "b": 25
  },
  "hsl": {
    "h": 62.182,
    "s": 52.381,
    "l": 20.588
  },
  "oklch": {
    "l": 0.41723,
    "c": 0.07575,
    "h": 111.2
  },
  "luminance": 0.07427
}

Semantic roles & 50–950 ramp

primary
#4E5019
secondary
#413E86
accent
#4CDC51
background
#F8F7F5
surface
#EFEEE9
border
#CAC9C5
text
#0B0A03
muted
#7C7C78

Preview Lab

Preview with #4E5019

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

Preview Lab → · Contrast checker → · Palette generator →

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