#4E4217#4E4217

#4E4217 is a dark, moderate yellow. Relative luminance 0.056; OKLCH L 38.2% C 0.062 H 93.6°. Best body text is #FFFFFF at 9.93:1 contrast (WCAG AA passes).

Color values

HEX#4E4217
RGBrgb(78, 66, 23)
HSLhsl(47, 54%, 20%)
HSVhsv(47, 71%, 31%)
CMYKcmyk(0%, 15.4%, 70.5%, 69.4%)
CIE-LABlab(28.32, -0.69, 27.32)
CIE-LCHlch(28.32, 27.33, 91.44°)
OKLaboklab(38.19% -0.0039 0.0623)
OKLCHoklch(38.19% 0.062 93.6)
XYZxyz(5.2450, 5.5783, 1.6109)
Luminance0.0558 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4E4217 #17234E
analogous
#4E2717 #4E4217 #3F4E17
triadic
#4E4217 #174E42 #42174E
tetradic
#4E4217 #174E27 #17234E #4E173F
square
#4E4217 #174E27 #17234E #4E173F
split-complementary
#4E4217 #173F4E #27174E
monochromatic
#181407 #1F1A09 #4E4217 #7D6A25 #AD9233

Accessibility & contrast

On white

9.93
#4E4217 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.12
#4E4217 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4E4217
9.93:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4E4217#FFFFFF#000000##FFFFFF
##4E42171.009.932.129.93
#FFFFFF9.931.0021.001.00
#0000002.1221.001.0021.00
##FFFFFF9.931.0021.001.00

Color blindness preview

Protanopia (red-blind)
#494112
Deuteranopia (green-blind)
#4C4419
Tritanopia (blue-blind)
#553D39
Achromatopsia (no color)
#434343

Design tokens & code

CSS
--color: #4e4217;
/* rgb */ color: rgb(78, 66, 23);
/* oklch */ color: oklch(38.2% 0.062 93.6);
Tailwind
colors: {
  custom: {
    50: '#827656',
    500: '#4e4217',
    950: '#000000',
  },
}
SCSS
$custom: #4e4217;
$custom-light: #827656;
$custom-dark: #000000;
JSON
{
  "hex": "#4e4217",
  "rgb": {
    "r": 78,
    "g": 66,
    "b": 23
  },
  "hsl": {
    "h": 46.909,
    "s": 54.455,
    "l": 19.804
  },
  "oklch": {
    "l": 0.38189,
    "c": 0.06245,
    "h": 93.6
  },
  "luminance": 0.05578
}

Semantic roles & 50–950 ramp

primary
#4E4217
secondary
#3C4C85
accent
#6ADE4A
background
#F8F7F5
surface
#EFEDE9
border
#CAC8C5
text
#0B0803
muted
#7C7B78

Preview Lab

Preview with #4E4217

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

Preview Lab → · Contrast checker → · Palette generator →

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