#4E4717#4E4717

#4E4717 is a dark, moderate yellow. Relative luminance 0.062; OKLCH L 39.4% C 0.067 H 101.0°. Best body text is #FFFFFF at 9.39:1 contrast (WCAG AA passes).

Color values

HEX#4E4717
RGBrgb(78, 71, 23)
HSLhsl(52, 54%, 20%)
HSVhsv(52, 71%, 31%)
CMYKcmyk(0%, 9%, 70.5%, 69.4%)
CIE-LABlab(29.88, -3.79, 29.00)
CIE-LCHlch(29.88, 29.24, 97.45°)
OKLaboklab(39.42% -0.0128 0.0659)
OKLCHoklch(39.42% 0.067 101)
XYZxyz(5.5500, 6.1883, 1.7126)
Luminance0.0619 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4E4717 #171E4E
analogous
#4E2C17 #4E4717 #394E17
triadic
#4E4717 #174E47 #47174E
tetradic
#4E4717 #174E2C #171E4E #4E1739
square
#4E4717 #174E2C #171E4E #4E1739
split-complementary
#4E4717 #17394E #2C174E
monochromatic
#181607 #1F1C09 #4E4717 #7D7225 #AD9D33

Accessibility & contrast

On white

9.39
#4E4717 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.24
#4E4717 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4E4717
9.39:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4E4717#FFFFFF#000000##FFFFFF
##4E47171.009.392.249.39
#FFFFFF9.391.0021.001.00
#0000002.2421.001.0021.00
##FFFFFF9.391.0021.001.00

Color blindness preview

Protanopia (red-blind)
#4E4511
Deuteranopia (green-blind)
#50481A
Tritanopia (blue-blind)
#54423D
Achromatopsia (no color)
#464646

Design tokens & code

CSS
--color: #4e4717;
/* rgb */ color: rgb(78, 71, 23);
/* oklch */ color: oklch(39.4% 0.067 101.0);
Tailwind
colors: {
  custom: {
    50: '#827a57',
    500: '#4e4717',
    950: '#000000',
  },
}
SCSS
$custom: #4e4717;
$custom-light: #827a57;
$custom-dark: #000000;
JSON
{
  "hex": "#4e4717",
  "rgb": {
    "r": 78,
    "g": 71,
    "b": 23
  },
  "hsl": {
    "h": 52.364,
    "s": 54.455,
    "l": 19.804
  },
  "oklch": {
    "l": 0.39424,
    "c": 0.06712,
    "h": 101
  },
  "luminance": 0.06188
}

Semantic roles & 50–950 ramp

primary
#4E4717
secondary
#3C4585
accent
#5DDE4A
background
#F8F7F5
surface
#EFEDE9
border
#CAC8C5
text
#0B0903
muted
#7C7B78

Preview Lab

Preview with #4E4717

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

Preview Lab → · Contrast checker → · Palette generator →

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