#4E5A0D#4E5A0D

#4E5A0D is a dark, moderate yellow. Relative luminance 0.090; OKLCH L 44.2% C 0.097 H 118.6°. Best body text is #FFFFFF at 7.52:1 contrast (WCAG AA passes).

Color values

HEX#4E5A0D
RGBrgb(78, 90, 13)
HSLhsl(69, 75%, 20%)
HSVhsv(69, 86%, 35%)
CMYKcmyk(13.3%, 0%, 85.6%, 64.7%)
CIE-LABlab(35.91, -15.46, 39.04)
CIE-LCHlch(35.91, 41.99, 111.60°)
OKLaboklab(44.22% -0.0465 0.0852)
OKLCHoklch(44.22% 0.097 118.6)
XYZxyz(6.8709, 8.9611, 1.7484)
Luminance0.0896 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4E5A0D #190D5A
analogous
#5A400D #4E5A0D #275A0D
triadic
#4E5A0D #0D4E5A #5A0D4E
tetradic
#4E5A0D #0D5A40 #190D5A #5A0D27
square
#4E5A0D #0D5A40 #190D5A #5A0D27
split-complementary
#4E5A0D #0D275A #400D5A
monochromatic
#171B04 #202505 #4E5A0D #7C8F15 #ABC51C

Accessibility & contrast

On white

7.52
#4E5A0D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.79
#4E5A0D on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4E5A0D
7.52:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4E5A0D#FFFFFF#000000##FFFFFF
##4E5A0D1.007.522.797.52
#FFFFFF7.521.0021.001.00
#0000002.7921.001.0021.00
##FFFFFF7.521.0021.001.00

Color blindness preview

Protanopia (red-blind)
#615400
Deuteranopia (green-blind)
#5F5515
Tritanopia (blue-blind)
#53554C
Achromatopsia (no color)
#545454

Design tokens & code

CSS
--color: #4e5a0d;
/* rgb */ color: rgb(78, 90, 13);
/* oklch */ color: oklch(44.2% 0.097 118.6);
Tailwind
colors: {
  custom: {
    50: '#828854',
    500: '#4e5a0d',
    950: '#000000',
  },
}
SCSS
$custom: #4e5a0d;
$custom-light: #828854;
$custom-dark: #000000;
JSON
{
  "hex": "#4e5a0d",
  "rgb": {
    "r": 78,
    "g": 90,
    "b": 13
  },
  "hsl": {
    "h": 69.351,
    "s": 74.757,
    "l": 20.196
  },
  "oklch": {
    "l": 0.44222,
    "c": 0.09705,
    "h": 118.6
  },
  "luminance": 0.08961
}

Semantic roles & 50–950 ramp

primary
#4E5A0D
secondary
#3E2E94
accent
#36F154
background
#F8F8F5
surface
#EFEFE9
border
#CACAC5
text
#0B0B03
muted
#7C7C78

Preview Lab

Preview with #4E5A0D

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

Preview Lab → · Contrast checker → · Palette generator →

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