#4E4814#4E4814

#4E4814 is a dark, moderate yellow. Relative luminance 0.063; OKLCH L 39.6% C 0.071 H 102.7°. Best body text is #FFFFFF at 9.29:1 contrast (WCAG AA passes).

Color values

HEX#4E4814
RGBrgb(78, 72, 20)
HSLhsl(54, 59%, 19%)
HSVhsv(54, 74%, 31%)
CMYKcmyk(0%, 7.7%, 74.4%, 69.4%)
CIE-LABlab(30.17, -4.61, 30.77)
CIE-LCHlch(30.17, 31.12, 98.53°)
OKLaboklab(39.64% -0.0155 0.0691)
OKLCHoklch(39.64% 0.071 102.7)
XYZxyz(5.5857, 6.3052, 1.5845)
Luminance0.0630 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4E4814 #141A4E
analogous
#4E2B14 #4E4814 #374E14
triadic
#4E4814 #144E48 #48144E
tetradic
#4E4814 #144E2B #141A4E #4E1437
square
#4E4814 #144E2B #141A4E #4E1437
split-complementary
#4E4814 #14374E #2B144E
monochromatic
#181606 #1D1B08 #4E4814 #7F7520 #AFA22D

Accessibility & contrast

On white

9.29
#4E4814 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.26
#4E4814 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4E4814
9.29:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4E4814#FFFFFF#000000##FFFFFF
##4E48141.009.292.269.29
#FFFFFF9.291.0021.001.00
#0000002.2621.001.0021.00
##FFFFFF9.291.0021.001.00

Color blindness preview

Protanopia (red-blind)
#4F450D
Deuteranopia (green-blind)
#514817
Tritanopia (blue-blind)
#54433D
Achromatopsia (no color)
#474747

Design tokens & code

CSS
--color: #4e4814;
/* rgb */ color: rgb(78, 72, 20);
/* oklch */ color: oklch(39.6% 0.071 102.7);
Tailwind
colors: {
  custom: {
    50: '#827a55',
    500: '#4e4814',
    950: '#000000',
  },
}
SCSS
$custom: #4e4814;
$custom-light: #827a55;
$custom-dark: #000000;
JSON
{
  "hex": "#4e4814",
  "rgb": {
    "r": 78,
    "g": 72,
    "b": 20
  },
  "hsl": {
    "h": 53.793,
    "s": 59.184,
    "l": 19.216
  },
  "oklch": {
    "l": 0.39644,
    "c": 0.07081,
    "h": 102.7
  },
  "luminance": 0.06305
}

Semantic roles & 50–950 ramp

primary
#4E4814
secondary
#384086
accent
#56E245
background
#F8F7F5
surface
#EFEDE9
border
#CAC8C5
text
#0B0903
muted
#7C7B78

Preview Lab

Preview with #4E4814

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

Preview Lab → · Contrast checker → · Palette generator →

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