#4E5819#4E5819

#4E5819 is a dark, moderate yellow. Relative luminance 0.087; OKLCH L 43.8% C 0.086 H 117.9°. Best body text is #FFFFFF at 7.68:1 contrast (WCAG AA passes).

Color values

HEX#4E5819
RGBrgb(78, 88, 25)
HSLhsl(70, 56%, 22%)
HSVhsv(70, 72%, 35%)
CMYKcmyk(11.4%, 0%, 71.6%, 65.5%)
CIE-LABlab(35.34, -13.65, 33.76)
CIE-LCHlch(35.34, 36.42, 112.02°)
OKLaboklab(43.79% -0.0403 0.0763)
OKLCHoklch(43.79% 0.086 117.9)
XYZxyz(6.8072, 8.6694, 2.2343)
Luminance0.0867 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4E5819 #231958
analogous
#584319 #4E5819 #2F5819
triadic
#4E5819 #194E58 #58194E
tetradic
#4E5819 #195843 #231958 #58192F
square
#4E5819 #195843 #231958 #58192F
split-complementary
#4E5819 #192F58 #431958
monochromatic
#151807 #24280B #4E5819 #788827 #A2B734

Accessibility & contrast

On white

7.68
#4E5819 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.73
#4E5819 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4E5819
7.68:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4E5819#FFFFFF#000000##FFFFFF
##4E58191.007.682.737.68
#FFFFFF7.681.0021.001.00
#0000002.7321.001.0021.00
##FFFFFF7.681.0021.001.00

Color blindness preview

Protanopia (red-blind)
#5E5310
Deuteranopia (green-blind)
#5D531E
Tritanopia (blue-blind)
#53534B
Achromatopsia (no color)
#535353

Design tokens & code

CSS
--color: #4e5819;
/* rgb */ color: rgb(78, 88, 25);
/* oklch */ color: oklch(43.8% 0.086 117.9);
Tailwind
colors: {
  custom: {
    50: '#82875a',
    500: '#4e5819',
    950: '#000000',
  },
}
SCSS
$custom: #4e5819;
$custom-light: #82875a;
$custom-dark: #000000;
JSON
{
  "hex": "#4e5819",
  "rgb": {
    "r": 78,
    "g": 88,
    "b": 25
  },
  "hsl": {
    "h": 69.524,
    "s": 55.752,
    "l": 22.157
  },
  "oklch": {
    "l": 0.4379,
    "c": 0.0863,
    "h": 117.9
  },
  "luminance": 0.08669
}

Semantic roles & 50–950 ramp

primary
#4E5819
secondary
#4B3E8E
accent
#49DF61
background
#F8F8F5
surface
#EFEFE9
border
#CACAC5
text
#0B0B04
muted
#7C7C79

Preview Lab

Preview with #4E5819

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

Preview Lab → · Contrast checker → · Palette generator →

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