#4E4812#4E4812

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

Color values

HEX#4E4812
RGBrgb(78, 72, 18)
HSLhsl(54, 63%, 19%)
HSVhsv(54, 77%, 31%)
CMYKcmyk(0%, 7.7%, 76.9%, 69.4%)
CIE-LABlab(30.15, -4.74, 31.69)
CIE-LCHlch(30.15, 32.04, 98.50°)
OKLaboklab(39.63% -0.0161 0.0706)
OKLCHoklch(39.63% 0.072 102.9)
XYZxyz(5.5687, 6.2983, 1.4945)
Luminance0.0630 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4E4812 #12184E
analogous
#4E2A12 #4E4812 #364E12
triadic
#4E4812 #124E48 #48124E
tetradic
#4E4812 #124E2A #12184E #4E1236
square
#4E4812 #124E2A #12184E #4E1236
split-complementary
#4E4812 #12364E #2A124E
monochromatic
#191706 #1C1A07 #4E4812 #80761D #B1A429

Accessibility & contrast

On white

9.29
#4E4812 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #4E4812
9.29:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4E4812#FFFFFF#000000##FFFFFF
##4E48121.009.292.269.29
#FFFFFF9.291.0021.001.00
#0000002.2621.001.0021.00
##FFFFFF9.291.0021.001.00

Color blindness preview

Protanopia (red-blind)
#4F450A
Deuteranopia (green-blind)
#514815
Tritanopia (blue-blind)
#54423D
Achromatopsia (no color)
#474747

Design tokens & code

CSS
--color: #4e4812;
/* rgb */ color: rgb(78, 72, 18);
/* oklch */ color: oklch(39.6% 0.072 102.9);
Tailwind
colors: {
  custom: {
    50: '#827a54',
    500: '#4e4812',
    950: '#000000',
  },
}
SCSS
$custom: #4e4812;
$custom-light: #827a54;
$custom-dark: #000000;
JSON
{
  "hex": "#4e4812",
  "rgb": {
    "r": 78,
    "g": 72,
    "b": 18
  },
  "hsl": {
    "h": 54,
    "s": 62.5,
    "l": 18.824
  },
  "oklch": {
    "l": 0.39625,
    "c": 0.07243,
    "h": 102.9
  },
  "luminance": 0.06298
}

Semantic roles & 50–950 ramp

primary
#4E4812
secondary
#353D87
accent
#53E642
background
#F8F7F4
surface
#EFEDE8
border
#CAC8C4
text
#0B0903
muted
#7C7B78

Preview Lab

Preview with #4E4812

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

Preview Lab → · Contrast checker → · Palette generator →

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