#4E4817#4E4817

#4E4817 is a dark, moderate yellow. Relative luminance 0.063; OKLCH L 39.7% C 0.068 H 102.3°. Best body text is #FFFFFF at 9.28:1 contrast (WCAG AA passes).

Color values

HEX#4E4817
RGBrgb(78, 72, 23)
HSLhsl(53, 54%, 20%)
HSVhsv(53, 71%, 31%)
CMYKcmyk(0%, 7.7%, 70.5%, 69.4%)
CIE-LABlab(30.20, -4.40, 29.33)
CIE-LCHlch(30.20, 29.66, 98.54°)
OKLaboklab(39.67% -0.0145 0.0666)
OKLCHoklch(39.67% 0.068 102.3)
XYZxyz(5.6141, 6.3165, 1.7339)
Luminance0.0632 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4E4817 #171D4E
analogous
#4E2D17 #4E4817 #384E17
triadic
#4E4817 #174E48 #48174E
tetradic
#4E4817 #174E2D #171D4E #4E1738
square
#4E4817 #174E2D #171D4E #4E1738
split-complementary
#4E4817 #17384E #2D174E
monochromatic
#181607 #1F1C09 #4E4817 #7D7425 #AD9F33

Accessibility & contrast

On white

9.28
#4E4817 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.26
#4E4817 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4E4817
9.28:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4E4817#FFFFFF#000000##FFFFFF
##4E48171.009.282.269.28
#FFFFFF9.281.0021.001.00
#0000002.2621.001.0021.00
##FFFFFF9.281.0021.001.00

Color blindness preview

Protanopia (red-blind)
#4F4611
Deuteranopia (green-blind)
#51481A
Tritanopia (blue-blind)
#54433E
Achromatopsia (no color)
#474747

Design tokens & code

CSS
--color: #4e4817;
/* rgb */ color: rgb(78, 72, 23);
/* oklch */ color: oklch(39.7% 0.068 102.3);
Tailwind
colors: {
  custom: {
    50: '#827a57',
    500: '#4e4817',
    950: '#000000',
  },
}
SCSS
$custom: #4e4817;
$custom-light: #827a57;
$custom-dark: #000000;
JSON
{
  "hex": "#4e4817",
  "rgb": {
    "r": 78,
    "g": 72,
    "b": 23
  },
  "hsl": {
    "h": 53.455,
    "s": 54.455,
    "l": 19.804
  },
  "oklch": {
    "l": 0.39674,
    "c": 0.06817,
    "h": 102.3
  },
  "luminance": 0.06316
}

Semantic roles & 50–950 ramp

primary
#4E4817
secondary
#3C4485
accent
#5ADE4A
background
#F8F7F5
surface
#EFEDE9
border
#CAC8C5
text
#0B0903
muted
#7C7B78

Preview Lab

Preview with #4E4817

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

Preview Lab → · Contrast checker → · Palette generator →

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