#4E4012#4E4012

#4E4012 is a dark, moderate yellow. Relative luminance 0.053; OKLCH L 37.6% C 0.065 H 91.8°. Best body text is #FFFFFF at 10.16:1 contrast (WCAG AA passes).

Color values

HEX#4E4012
RGBrgb(78, 64, 18)
HSLhsl(46, 63%, 19%)
HSVhsv(46, 77%, 31%)
CMYKcmyk(0%, 17.9%, 76.9%, 69.4%)
CIE-LABlab(27.66, 0.23, 29.17)
CIE-LCHlch(27.66, 29.17, 89.56°)
OKLaboklab(37.65% -0.002 0.0653)
OKLCHoklch(37.65% 0.065 91.8)
XYZxyz(5.0847, 5.3305, 1.3332)
Luminance0.0533 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4E4012 #12204E
analogous
#4E2212 #4E4012 #3E4E12
triadic
#4E4012 #124E40 #40124E
tetradic
#4E4012 #124E22 #12204E #4E123E
square
#4E4012 #124E22 #12204E #4E123E
split-complementary
#4E4012 #123E4E #22124E
monochromatic
#191406 #1C1707 #4E4012 #80691D #B19229

Accessibility & contrast

On white

10.16
#4E4012 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.07
#4E4012 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4E4012
10.16:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4E4012#FFFFFF#000000##FFFFFF
##4E40121.0010.162.0710.16
#FFFFFF10.161.0021.001.00
#0000002.0721.001.0021.00
##FFFFFF10.161.0021.001.00

Color blindness preview

Protanopia (red-blind)
#483F0C
Deuteranopia (green-blind)
#4B4314
Tritanopia (blue-blind)
#553A37
Achromatopsia (no color)
#414141

Design tokens & code

CSS
--color: #4e4012;
/* rgb */ color: rgb(78, 64, 18);
/* oklch */ color: oklch(37.6% 0.065 91.8);
Tailwind
colors: {
  custom: {
    50: '#827453',
    500: '#4e4012',
    950: '#000000',
  },
}
SCSS
$custom: #4e4012;
$custom-light: #827453;
$custom-dark: #000000;
JSON
{
  "hex": "#4e4012",
  "rgb": {
    "r": 78,
    "g": 64,
    "b": 18
  },
  "hsl": {
    "h": 46,
    "s": 62.5,
    "l": 18.824
  },
  "oklch": {
    "l": 0.37647,
    "c": 0.06532,
    "h": 91.8
  },
  "luminance": 0.0533
}

Semantic roles & 50–950 ramp

primary
#4E4012
secondary
#354887
accent
#68E642
background
#F8F7F4
surface
#EFEDE7
border
#CAC8C3
text
#0B0802
muted
#7C7B78

Preview Lab

Preview with #4E4012

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

Preview Lab → · Contrast checker → · Palette generator →

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