#4E4A12#4E4A12

#4E4A12 is a dark, moderate yellow. Relative luminance 0.066; OKLCH L 40.1% C 0.075 H 105.2°. Best body text is #FFFFFF at 9.08:1 contrast (WCAG AA passes).

Color values

HEX#4E4A12
RGBrgb(78, 74, 18)
HSLhsl(56, 63%, 19%)
HSVhsv(56, 77%, 31%)
CMYKcmyk(0%, 5.1%, 76.9%, 69.4%)
CIE-LABlab(30.79, -5.95, 32.32)
CIE-LCHlch(30.79, 32.86, 100.44°)
OKLaboklab(40.13% -0.0196 0.0719)
OKLCHoklch(40.13% 0.075 105.2)
XYZxyz(5.7001, 6.5611, 1.5383)
Luminance0.0656 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4E4A12 #12164E
analogous
#4E2C12 #4E4A12 #344E12
triadic
#4E4A12 #124E4A #4A124E
tetradic
#4E4A12 #124E2C #12164E #4E1234
square
#4E4A12 #124E2C #12164E #4E1234
split-complementary
#4E4A12 #12344E #2C124E
monochromatic
#191806 #1C1B07 #4E4A12 #80791D #B1A829

Accessibility & contrast

On white

9.08
#4E4A12 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.31
#4E4A12 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4E4A12
9.08:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4E4A12#FFFFFF#000000##FFFFFF
##4E4A121.009.082.319.08
#FFFFFF9.081.0021.001.00
#0000002.3121.001.0021.00
##FFFFFF9.081.0021.001.00

Color blindness preview

Protanopia (red-blind)
#514709
Deuteranopia (green-blind)
#534A16
Tritanopia (blue-blind)
#54453F
Achromatopsia (no color)
#484848

Design tokens & code

CSS
--color: #4e4a12;
/* rgb */ color: rgb(78, 74, 18);
/* oklch */ color: oklch(40.1% 0.075 105.2);
Tailwind
colors: {
  custom: {
    50: '#827c54',
    500: '#4e4a12',
    950: '#000000',
  },
}
SCSS
$custom: #4e4a12;
$custom-light: #827c54;
$custom-dark: #000000;
JSON
{
  "hex": "#4e4a12",
  "rgb": {
    "r": 78,
    "g": 74,
    "b": 18
  },
  "hsl": {
    "h": 56,
    "s": 62.5,
    "l": 18.824
  },
  "oklch": {
    "l": 0.40129,
    "c": 0.07456,
    "h": 105.2
  },
  "luminance": 0.06561
}

Semantic roles & 50–950 ramp

primary
#4E4A12
secondary
#353A87
accent
#4DE642
background
#F8F7F5
surface
#EFEEE8
border
#CAC9C4
text
#0B0903
muted
#7C7B78

Preview Lab

Preview with #4E4A12

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

Preview Lab → · Contrast checker → · Palette generator →

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