#4E5017#4E5017

#4E5017 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.45:1 contrast (WCAG AA passes).

Color values

HEX#4E5017
RGBrgb(78, 80, 23)
HSLhsl(62, 55%, 20%)
HSVhsv(62, 71%, 31%)
CMYKcmyk(2.5%, 0%, 71.2%, 68.6%)
CIE-LABlab(32.74, -9.20, 32.00)
CIE-LCHlch(32.74, 33.30, 106.03°)
OKLaboklab(41.7% -0.0281 0.0722)
OKLCHoklch(41.7% 0.078 111.3)
XYZxyz(6.1654, 7.4190, 1.9177)
Luminance0.0742 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4E5017 #191750
analogous
#503517 #4E5017 #325017
triadic
#4E5017 #174E50 #50174E
tetradic
#4E5017 #175035 #191750 #501732
square
#4E5017 #175035 #191750 #501732
split-complementary
#4E5017 #173250 #351750
monochromatic
#171807 #202009 #4E5017 #7C8025 #ABAF32

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##4E5017#FFFFFF#000000##FFFFFF
##4E50171.008.452.488.45
#FFFFFF8.451.0021.001.00
#0000002.4821.001.0021.00
##FFFFFF8.451.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #4e5017;
/* rgb */ color: rgb(78, 80, 23);
/* oklch */ color: oklch(41.7% 0.078 111.3);
Tailwind
colors: {
  custom: {
    50: '#828058',
    500: '#4e5017',
    950: '#000000',
  },
}
SCSS
$custom: #4e5017;
$custom-light: #828058;
$custom-dark: #000000;
JSON
{
  "hex": "#4e5017",
  "rgb": {
    "r": 78,
    "g": 80,
    "b": 23
  },
  "hsl": {
    "h": 62.105,
    "s": 55.34,
    "l": 20.196
  },
  "oklch": {
    "l": 0.41703,
    "c": 0.07752,
    "h": 111.3
  },
  "luminance": 0.07419
}

Semantic roles & 50–950 ramp

primary
#4E5017
secondary
#3E3C87
accent
#49DF4E
background
#F8F7F5
surface
#EFEEE9
border
#CAC9C5
text
#0B0A03
muted
#7C7C78

Preview Lab

Preview with #4E5017

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

Preview Lab → · Contrast checker → · Palette generator →

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