#4E4811#4E4811

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

Color values

HEX#4E4811
RGBrgb(78, 72, 17)
HSLhsl(54, 64%, 19%)
HSVhsv(54, 78%, 31%)
CMYKcmyk(0%, 7.7%, 78.2%, 69.4%)
CIE-LABlab(30.15, -4.80, 32.13)
CIE-LCHlch(30.15, 32.48, 98.49°)
OKLaboklab(39.62% -0.0164 0.0713)
OKLCHoklch(39.62% 0.073 103)
XYZxyz(5.5607, 6.2951, 1.4524)
Luminance0.0630 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4E4811 #11174E
analogous
#4E2911 #4E4811 #354E11
triadic
#4E4811 #114E48 #48114E
tetradic
#4E4811 #114E29 #11174E #4E1135
square
#4E4811 #114E29 #11174E #4E1135
split-complementary
#4E4811 #11354E #29114E
monochromatic
#191705 #1C1A06 #4E4811 #80761C #B2A527

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##4E4811#FFFFFF#000000##FFFFFF
##4E48111.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)
#4F4508
Deuteranopia (green-blind)
#514815
Tritanopia (blue-blind)
#54423D
Achromatopsia (no color)
#474747

Design tokens & code

CSS
--color: #4e4811;
/* rgb */ color: rgb(78, 72, 17);
/* oklch */ color: oklch(39.6% 0.073 103.0);
Tailwind
colors: {
  custom: {
    50: '#827a53',
    500: '#4e4811',
    950: '#000000',
  },
}
SCSS
$custom: #4e4811;
$custom-light: #827a53;
$custom-dark: #000000;
JSON
{
  "hex": "#4e4811",
  "rgb": {
    "r": 78,
    "g": 72,
    "b": 17
  },
  "hsl": {
    "h": 54.098,
    "s": 64.211,
    "l": 18.627
  },
  "oklch": {
    "l": 0.39616,
    "c": 0.0732,
    "h": 103
  },
  "luminance": 0.06295
}

Semantic roles & 50–950 ramp

primary
#4E4811
secondary
#333C87
accent
#51E741
background
#F8F7F4
surface
#EFEDE7
border
#CAC8C3
text
#0B0903
muted
#7C7B78

Preview Lab

Preview with #4E4811

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

Preview Lab → · Contrast checker → · Palette generator →

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