#4E4810#4E4810

#4E4810 is a dark, moderate yellow. Relative luminance 0.063; OKLCH L 39.6% C 0.074 H 103.1°. Best body text is #FFFFFF at 9.30:1 contrast (WCAG AA passes).

Color values

HEX#4E4810
RGBrgb(78, 72, 16)
HSLhsl(54, 66%, 18%)
HSVhsv(54, 79%, 31%)
CMYKcmyk(0%, 7.7%, 79.5%, 69.4%)
CIE-LABlab(30.14, -4.86, 32.56)
CIE-LCHlch(30.14, 32.92, 98.48°)
OKLaboklab(39.61% -0.0167 0.072)
OKLCHoklch(39.61% 0.074 103.1)
XYZxyz(5.5530, 6.2921, 1.4121)
Luminance0.0629 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4E4810 #10164E
analogous
#4E2910 #4E4810 #354E10
triadic
#4E4810 #104E48 #48104E
tetradic
#4E4810 #104E29 #10164E #4E1035
square
#4E4810 #104E29 #10164E #4E1035
split-complementary
#4E4810 #10354E #29104E
monochromatic
#191705 #1B1906 #4E4810 #81771A #B4A625

Accessibility & contrast

On white

9.30
#4E4810 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #4E4810
9.30:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4E4810#FFFFFF#000000##FFFFFF
##4E48101.009.302.269.30
#FFFFFF9.301.0021.001.00
#0000002.2621.001.0021.00
##FFFFFF9.301.0021.001.00

Color blindness preview

Protanopia (red-blind)
#4F4507
Deuteranopia (green-blind)
#514814
Tritanopia (blue-blind)
#55423D
Achromatopsia (no color)
#474747

Design tokens & code

CSS
--color: #4e4810;
/* rgb */ color: rgb(78, 72, 16);
/* oklch */ color: oklch(39.6% 0.074 103.1);
Tailwind
colors: {
  custom: {
    50: '#827a53',
    500: '#4e4810',
    950: '#000000',
  },
}
SCSS
$custom: #4e4810;
$custom-light: #827a53;
$custom-dark: #000000;
JSON
{
  "hex": "#4e4810",
  "rgb": {
    "r": 78,
    "g": 72,
    "b": 16
  },
  "hsl": {
    "h": 54.194,
    "s": 65.957,
    "l": 18.431
  },
  "oklch": {
    "l": 0.39608,
    "c": 0.07395,
    "h": 103.1
  },
  "luminance": 0.06292
}

Semantic roles & 50–950 ramp

primary
#4E4810
secondary
#323A88
accent
#4FE93F
background
#F8F7F4
surface
#EFEDE7
border
#CAC8C3
text
#0B0902
muted
#7C7B78

Preview Lab

Preview with #4E4810

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

Preview Lab → · Contrast checker → · Palette generator →

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