#4E4917#4E4917

#4E4917 is a dark, moderate yellow. Relative luminance 0.064; OKLCH L 39.9% C 0.069 H 103.6°. Best body text is #FFFFFF at 9.17:1 contrast (WCAG AA passes).

Color values

HEX#4E4917
RGBrgb(78, 73, 23)
HSLhsl(55, 54%, 20%)
HSVhsv(55, 71%, 31%)
CMYKcmyk(0%, 6.4%, 70.5%, 69.4%)
CIE-LABlab(30.51, -5.01, 29.67)
CIE-LCHlch(30.51, 30.09, 99.59°)
OKLaboklab(39.92% -0.0163 0.0673)
OKLCHoklch(39.92% 0.069 103.6)
XYZxyz(5.6793, 6.4469, 1.7557)
Luminance0.0645 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4E4917 #171C4E
analogous
#4E2D17 #4E4917 #384E17
triadic
#4E4917 #174E49 #49174E
tetradic
#4E4917 #174E2D #171C4E #4E1738
square
#4E4917 #174E2D #171C4E #4E1738
split-complementary
#4E4917 #17384E #2D174E
monochromatic
#181607 #1F1D09 #4E4917 #7D7525 #ADA133

Accessibility & contrast

On white

9.17
#4E4917 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.29
#4E4917 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4E4917
9.17:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4E4917#FFFFFF#000000##FFFFFF
##4E49171.009.172.299.17
#FFFFFF9.171.0021.001.00
#0000002.2921.001.0021.00
##FFFFFF9.171.0021.001.00

Color blindness preview

Protanopia (red-blind)
#504611
Deuteranopia (green-blind)
#52491A
Tritanopia (blue-blind)
#54443F
Achromatopsia (no color)
#484848

Design tokens & code

CSS
--color: #4e4917;
/* rgb */ color: rgb(78, 73, 23);
/* oklch */ color: oklch(39.9% 0.069 103.6);
Tailwind
colors: {
  custom: {
    50: '#827b57',
    500: '#4e4917',
    950: '#000000',
  },
}
SCSS
$custom: #4e4917;
$custom-light: #827b57;
$custom-dark: #000000;
JSON
{
  "hex": "#4e4917",
  "rgb": {
    "r": 78,
    "g": 73,
    "b": 23
  },
  "hsl": {
    "h": 54.545,
    "s": 54.455,
    "l": 19.804
  },
  "oklch": {
    "l": 0.39925,
    "c": 0.06925,
    "h": 103.6
  },
  "luminance": 0.06447
}

Semantic roles & 50–950 ramp

primary
#4E4917
secondary
#3C4285
accent
#57DE4A
background
#F8F7F5
surface
#EFEDE9
border
#CAC8C5
text
#0B0903
muted
#7C7B78

Preview Lab

Preview with #4E4917

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

Preview Lab → · Contrast checker → · Palette generator →

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