#4E4912#4E4912

#4E4912 is a dark, moderate yellow. Relative luminance 0.064; OKLCH L 39.9% C 0.073 H 104.1°. Best body text is #FFFFFF at 9.19:1 contrast (WCAG AA passes).

Color values

HEX#4E4912
RGBrgb(78, 73, 18)
HSLhsl(55, 63%, 19%)
HSVhsv(55, 77%, 31%)
CMYKcmyk(0%, 6.4%, 76.9%, 69.4%)
CIE-LABlab(30.47, -5.35, 32.00)
CIE-LCHlch(30.47, 32.45, 99.49°)
OKLaboklab(39.88% -0.0179 0.0713)
OKLCHoklch(39.88% 0.073 104.1)
XYZxyz(5.6338, 6.4287, 1.5162)
Luminance0.0643 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4E4912 #12174E
analogous
#4E2B12 #4E4912 #354E12
triadic
#4E4912 #124E49 #49124E
tetradic
#4E4912 #124E2B #12174E #4E1235
square
#4E4912 #124E2B #12174E #4E1235
split-complementary
#4E4912 #12354E #2B124E
monochromatic
#191706 #1C1A07 #4E4912 #80781D #B1A629

Accessibility & contrast

On white

9.19
#4E4912 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.29
#4E4912 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4E4912
9.19:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4E4912#FFFFFF#000000##FFFFFF
##4E49121.009.192.299.19
#FFFFFF9.191.0021.001.00
#0000002.2921.001.0021.00
##FFFFFF9.191.0021.001.00

Color blindness preview

Protanopia (red-blind)
#504609
Deuteranopia (green-blind)
#524916
Tritanopia (blue-blind)
#54433E
Achromatopsia (no color)
#484848

Design tokens & code

CSS
--color: #4e4912;
/* rgb */ color: rgb(78, 73, 18);
/* oklch */ color: oklch(39.9% 0.073 104.1);
Tailwind
colors: {
  custom: {
    50: '#827b54',
    500: '#4e4912',
    950: '#000000',
  },
}
SCSS
$custom: #4e4912;
$custom-light: #827b54;
$custom-dark: #000000;
JSON
{
  "hex": "#4e4912",
  "rgb": {
    "r": 78,
    "g": 73,
    "b": 18
  },
  "hsl": {
    "h": 55,
    "s": 62.5,
    "l": 18.824
  },
  "oklch": {
    "l": 0.39876,
    "c": 0.07348,
    "h": 104.1
  },
  "luminance": 0.06428
}

Semantic roles & 50–950 ramp

primary
#4E4912
secondary
#353C87
accent
#50E642
background
#F8F7F4
surface
#EFEDE8
border
#CAC8C4
text
#0B0903
muted
#7C7B78

Preview Lab

Preview with #4E4912

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

Preview Lab → · Contrast checker → · Palette generator →

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