#4E4612#4E4612

#4E4612 is a dark, moderate yellow. Relative luminance 0.060; OKLCH L 39.1% C 0.070 H 100.4°. Best body text is #FFFFFF at 9.51:1 contrast (WCAG AA passes).

Color values

HEX#4E4612
RGBrgb(78, 70, 18)
HSLhsl(52, 63%, 19%)
HSVhsv(52, 77%, 31%)
CMYKcmyk(0%, 10.3%, 76.9%, 69.4%)
CIE-LABlab(29.52, -3.51, 31.06)
CIE-LCHlch(29.52, 31.26, 96.45°)
OKLaboklab(39.13% -0.0127 0.0693)
OKLCHoklch(39.13% 0.07 100.4)
XYZxyz(5.4415, 6.0439, 1.4521)
Luminance0.0604 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4E4612 #121A4E
analogous
#4E2812 #4E4612 #384E12
triadic
#4E4612 #124E46 #46124E
tetradic
#4E4612 #124E28 #121A4E #4E1238
square
#4E4612 #124E28 #121A4E #4E1238
split-complementary
#4E4612 #12384E #28124E
monochromatic
#191606 #1C1907 #4E4612 #80731D #B19F29

Accessibility & contrast

On white

9.51
#4E4612 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.21
#4E4612 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4E4612
9.51:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4E4612#FFFFFF#000000##FFFFFF
##4E46121.009.512.219.51
#FFFFFF9.511.0021.001.00
#0000002.2121.001.0021.00
##FFFFFF9.511.0021.001.00

Color blindness preview

Protanopia (red-blind)
#4D440A
Deuteranopia (green-blind)
#504715
Tritanopia (blue-blind)
#55403C
Achromatopsia (no color)
#464646

Design tokens & code

CSS
--color: #4e4612;
/* rgb */ color: rgb(78, 70, 18);
/* oklch */ color: oklch(39.1% 0.070 100.4);
Tailwind
colors: {
  custom: {
    50: '#827953',
    500: '#4e4612',
    950: '#000000',
  },
}
SCSS
$custom: #4e4612;
$custom-light: #827953;
$custom-dark: #000000;
JSON
{
  "hex": "#4e4612",
  "rgb": {
    "r": 78,
    "g": 70,
    "b": 18
  },
  "hsl": {
    "h": 52,
    "s": 62.5,
    "l": 18.824
  },
  "oklch": {
    "l": 0.39125,
    "c": 0.07043,
    "h": 100.4
  },
  "luminance": 0.06044
}

Semantic roles & 50–950 ramp

primary
#4E4612
secondary
#354087
accent
#58E642
background
#F8F7F4
surface
#EFEDE7
border
#CAC8C3
text
#0B0903
muted
#7C7B78

Preview Lab

Preview with #4E4612

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

Preview Lab → · Contrast checker → · Palette generator →

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