#4E4712#4E4712

#4E4712 is a dark, moderate yellow. Relative luminance 0.062; OKLCH L 39.4% C 0.071 H 101.6°. Best body text is #FFFFFF at 9.40:1 contrast (WCAG AA passes).

Color values

HEX#4E4712
RGBrgb(78, 71, 18)
HSLhsl(53, 63%, 19%)
HSVhsv(53, 77%, 31%)
CMYKcmyk(0%, 9%, 76.9%, 69.4%)
CIE-LABlab(29.84, -4.13, 31.37)
CIE-LCHlch(29.84, 31.64, 97.50°)
OKLaboklab(39.37% -0.0144 0.07)
OKLCHoklch(39.37% 0.071 101.6)
XYZxyz(5.5045, 6.1701, 1.4731)
Luminance0.0617 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4E4712 #12194E
analogous
#4E2912 #4E4712 #374E12
triadic
#4E4712 #124E47 #47124E
tetradic
#4E4712 #124E29 #12194E #4E1237
square
#4E4712 #124E29 #12194E #4E1237
split-complementary
#4E4712 #12374E #29124E
monochromatic
#191706 #1C1A07 #4E4712 #80741D #B1A229

Accessibility & contrast

On white

9.40
#4E4712 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.23
#4E4712 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4E4712
9.40:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4E4712#FFFFFF#000000##FFFFFF
##4E47121.009.402.239.40
#FFFFFF9.401.0021.001.00
#0000002.2321.001.0021.00
##FFFFFF9.401.0021.001.00

Color blindness preview

Protanopia (red-blind)
#4E450A
Deuteranopia (green-blind)
#504815
Tritanopia (blue-blind)
#54413C
Achromatopsia (no color)
#464646

Design tokens & code

CSS
--color: #4e4712;
/* rgb */ color: rgb(78, 71, 18);
/* oklch */ color: oklch(39.4% 0.071 101.6);
Tailwind
colors: {
  custom: {
    50: '#827954',
    500: '#4e4712',
    950: '#000000',
  },
}
SCSS
$custom: #4e4712;
$custom-light: #827954;
$custom-dark: #000000;
JSON
{
  "hex": "#4e4712",
  "rgb": {
    "r": 78,
    "g": 71,
    "b": 18
  },
  "hsl": {
    "h": 53,
    "s": 62.5,
    "l": 18.824
  },
  "oklch": {
    "l": 0.39374,
    "c": 0.07142,
    "h": 101.6
  },
  "luminance": 0.0617
}

Semantic roles & 50–950 ramp

primary
#4E4712
secondary
#353E87
accent
#55E642
background
#F8F7F4
surface
#EFEDE7
border
#CAC8C3
text
#0B0903
muted
#7C7B78

Preview Lab

Preview with #4E4712

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

Preview Lab → · Contrast checker → · Palette generator →

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