#4E4C17#4E4C17

#4E4C17 is a dark, moderate yellow. Relative luminance 0.069; OKLCH L 40.7% C 0.073 H 107.1°. Best body text is #FFFFFF at 8.86:1 contrast (WCAG AA passes).

Color values

HEX#4E4C17
RGBrgb(78, 76, 23)
HSLhsl(58, 54%, 20%)
HSVhsv(58, 71%, 31%)
CMYKcmyk(0%, 2.6%, 70.5%, 69.4%)
CIE-LABlab(31.46, -6.82, 30.67)
CIE-LCHlch(31.46, 31.42, 102.54°)
OKLaboklab(40.68% -0.0214 0.0694)
OKLCHoklch(40.68% 0.073 107.1)
XYZxyz(5.8812, 6.8506, 1.8230)
Luminance0.0685 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4E4C17 #17194E
analogous
#4E3117 #4E4C17 #354E17
triadic
#4E4C17 #174E4C #4C174E
tetradic
#4E4C17 #174E31 #17194E #4E1735
square
#4E4C17 #174E31 #17194E #4E1735
split-complementary
#4E4C17 #17354E #31174E
monochromatic
#181707 #1F1E09 #4E4C17 #7D7A25 #ADA833

Accessibility & contrast

On white

8.86
#4E4C17 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.37
#4E4C17 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4E4C17
8.86:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4E4C17#FFFFFF#000000##FFFFFF
##4E4C171.008.862.378.86
#FFFFFF8.861.0021.001.00
#0000002.3721.001.0021.00
##FFFFFF8.861.0021.001.00

Color blindness preview

Protanopia (red-blind)
#534910
Deuteranopia (green-blind)
#544B1A
Tritanopia (blue-blind)
#544741
Achromatopsia (no color)
#4A4A4A

Design tokens & code

CSS
--color: #4e4c17;
/* rgb */ color: rgb(78, 76, 23);
/* oklch */ color: oklch(40.7% 0.073 107.1);
Tailwind
colors: {
  custom: {
    50: '#827d57',
    500: '#4e4c17',
    950: '#000000',
  },
}
SCSS
$custom: #4e4c17;
$custom-light: #827d57;
$custom-dark: #000000;
JSON
{
  "hex": "#4e4c17",
  "rgb": {
    "r": 78,
    "g": 76,
    "b": 23
  },
  "hsl": {
    "h": 57.818,
    "s": 54.455,
    "l": 19.804
  },
  "oklch": {
    "l": 0.40683,
    "c": 0.07266,
    "h": 107.1
  },
  "luminance": 0.0685
}

Semantic roles & 50–950 ramp

primary
#4E4C17
secondary
#3C3E85
accent
#4FDE4A
background
#F8F7F5
surface
#EFEEE9
border
#CAC9C5
text
#0B0903
muted
#7C7B78

Preview Lab

Preview with #4E4C17

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

Preview Lab → · Contrast checker → · Palette generator →

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