#4E4815#4E4815

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

Color values

HEX#4E4815
RGBrgb(78, 72, 21)
HSLhsl(54, 58%, 19%)
HSVhsv(54, 73%, 31%)
CMYKcmyk(0%, 7.7%, 73.1%, 69.4%)
CIE-LABlab(30.18, -4.55, 30.30)
CIE-LCHlch(30.18, 30.64, 98.53°)
OKLaboklab(39.65% -0.0152 0.0683)
OKLCHoklch(39.65% 0.07 102.6)
XYZxyz(5.5948, 6.3088, 1.6323)
Luminance0.0631 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4E4815 #151B4E
analogous
#4E2C15 #4E4815 #384E15
triadic
#4E4815 #154E48 #48154E
tetradic
#4E4815 #154E2C #151B4E #4E1538
square
#4E4815 #154E2C #151B4E #4E1538
split-complementary
#4E4815 #15384E #2C154E
monochromatic
#181606 #1E1B08 #4E4815 #7E7522 #AEA12F

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##4E4815#FFFFFF#000000##FFFFFF
##4E48151.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)
#4F460E
Deuteranopia (green-blind)
#514818
Tritanopia (blue-blind)
#54433E
Achromatopsia (no color)
#474747

Design tokens & code

CSS
--color: #4e4815;
/* rgb */ color: rgb(78, 72, 21);
/* oklch */ color: oklch(39.7% 0.070 102.6);
Tailwind
colors: {
  custom: {
    50: '#827a55',
    500: '#4e4815',
    950: '#000000',
  },
}
SCSS
$custom: #4e4815;
$custom-light: #827a55;
$custom-dark: #000000;
JSON
{
  "hex": "#4e4815",
  "rgb": {
    "r": 78,
    "g": 72,
    "b": 21
  },
  "hsl": {
    "h": 53.684,
    "s": 57.576,
    "l": 19.412
  },
  "oklch": {
    "l": 0.39653,
    "c": 0.06996,
    "h": 102.6
  },
  "luminance": 0.06309
}

Semantic roles & 50–950 ramp

primary
#4E4815
secondary
#394186
accent
#57E147
background
#F8F7F5
surface
#EFEDE9
border
#CAC8C5
text
#0B0903
muted
#7C7B78

Preview Lab

Preview with #4E4815

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

Preview Lab → · Contrast checker → · Palette generator →

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