#4E4E17#4E4E17

#4E4E17 is a dark, moderate yellow. Relative luminance 0.071; OKLCH L 41.2% C 0.075 H 109.3°. Best body text is #FFFFFF at 8.66:1 contrast (WCAG AA passes).

Color values

HEX#4E4E17
RGBrgb(78, 78, 23)
HSLhsl(60, 54%, 20%)
HSVhsv(60, 71%, 31%)
CMYKcmyk(0%, 0%, 70.5%, 69.4%)
CIE-LABlab(32.10, -8.02, 31.34)
CIE-LCHlch(32.10, 32.35, 104.35°)
OKLaboklab(41.19% -0.0248 0.0708)
OKLCHoklch(41.19% 0.075 109.3)
XYZxyz(6.0211, 7.1305, 1.8696)
Luminance0.0713 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4E4E17 #17174E
analogous
#4E3317 #4E4E17 #334E17
triadic
#4E4E17 #174E4E #4E174E
tetradic
#4E4E17 #174E33 #17174E #4E1733
square
#4E4E17 #174E33 #17174E #4E1733
split-complementary
#4E4E17 #17334E #33174E
monochromatic
#181807 #1F1F09 #4E4E17 #7D7D25 #ADAD33

Accessibility & contrast

On white

8.66
#4E4E17 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.43
#4E4E17 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4E4E17
8.66:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4E4E17#FFFFFF#000000##FFFFFF
##4E4E171.008.662.438.66
#FFFFFF8.661.0021.001.00
#0000002.4321.001.0021.00
##FFFFFF8.661.0021.001.00

Color blindness preview

Protanopia (red-blind)
#554B10
Deuteranopia (green-blind)
#554C1B
Tritanopia (blue-blind)
#544943
Achromatopsia (no color)
#4B4B4B

Design tokens & code

CSS
--color: #4e4e17;
/* rgb */ color: rgb(78, 78, 23);
/* oklch */ color: oklch(41.2% 0.075 109.3);
Tailwind
colors: {
  custom: {
    50: '#827f57',
    500: '#4e4e17',
    950: '#000000',
  },
}
SCSS
$custom: #4e4e17;
$custom-light: #827f57;
$custom-dark: #000000;
JSON
{
  "hex": "#4e4e17",
  "rgb": {
    "r": 78,
    "g": 78,
    "b": 23
  },
  "hsl": {
    "h": 60,
    "s": 54.455,
    "l": 19.804
  },
  "oklch": {
    "l": 0.41191,
    "c": 0.07505,
    "h": 109.3
  },
  "luminance": 0.0713
}

Semantic roles & 50–950 ramp

primary
#4E4E17
secondary
#3C3C85
accent
#4ADE4A
background
#F8F7F5
surface
#EFEEE9
border
#CAC9C5
text
#0B0A03
muted
#7C7C78

Preview Lab

Preview with #4E4E17

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

Preview Lab → · Contrast checker → · Palette generator →

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