#4E4512#4E4512

#4E4512 is a dark, moderate yellow. Relative luminance 0.059; OKLCH L 38.9% C 0.069 H 99.0°. Best body text is #FFFFFF at 9.62:1 contrast (WCAG AA passes).

Color values

HEX#4E4512
RGBrgb(78, 69, 18)
HSLhsl(51, 63%, 19%)
HSVhsv(51, 77%, 31%)
CMYKcmyk(0%, 11.5%, 76.9%, 69.4%)
CIE-LABlab(29.21, -2.90, 30.75)
CIE-LCHlch(29.21, 30.88, 95.38°)
OKLaboklab(38.88% -0.0109 0.0686)
OKLCHoklch(38.88% 0.069 99)
XYZxyz(5.3794, 5.9199, 1.4314)
Luminance0.0592 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4E4512 #121B4E
analogous
#4E2712 #4E4512 #394E12
triadic
#4E4512 #124E45 #45124E
tetradic
#4E4512 #124E27 #121B4E #4E1239
square
#4E4512 #124E27 #121B4E #4E1239
split-complementary
#4E4512 #12394E #27124E
monochromatic
#191606 #1C1907 #4E4512 #80711D #B19D29

Accessibility & contrast

On white

9.62
#4E4512 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.18
#4E4512 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4E4512
9.62:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4E4512#FFFFFF#000000##FFFFFF
##4E45121.009.622.189.62
#FFFFFF9.621.0021.001.00
#0000002.1821.001.0021.00
##FFFFFF9.621.0021.001.00

Color blindness preview

Protanopia (red-blind)
#4C430B
Deuteranopia (green-blind)
#4F4615
Tritanopia (blue-blind)
#553F3B
Achromatopsia (no color)
#454545

Design tokens & code

CSS
--color: #4e4512;
/* rgb */ color: rgb(78, 69, 18);
/* oklch */ color: oklch(38.9% 0.069 99.0);
Tailwind
colors: {
  custom: {
    50: '#827853',
    500: '#4e4512',
    950: '#000000',
  },
}
SCSS
$custom: #4e4512;
$custom-light: #827853;
$custom-dark: #000000;
JSON
{
  "hex": "#4e4512",
  "rgb": {
    "r": 78,
    "g": 69,
    "b": 18
  },
  "hsl": {
    "h": 51,
    "s": 62.5,
    "l": 18.824
  },
  "oklch": {
    "l": 0.38876,
    "c": 0.06948,
    "h": 99
  },
  "luminance": 0.0592
}

Semantic roles & 50–950 ramp

primary
#4E4512
secondary
#354187
accent
#5BE642
background
#F8F7F4
surface
#EFEDE7
border
#CAC8C3
text
#0B0803
muted
#7C7B78

Preview Lab

Preview with #4E4512

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

Preview Lab → · Contrast checker → · Palette generator →

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