#4E5216#4E5216

#4E5216 is a dark, moderate yellow. Relative luminance 0.077; OKLCH L 42.2% C 0.081 H 113.1°. Best body text is #FFFFFF at 8.26:1 contrast (WCAG AA passes).

Color values

HEX#4E5216
RGBrgb(78, 82, 22)
HSLhsl(64, 58%, 20%)
HSVhsv(64, 73%, 32%)
CMYKcmyk(4.9%, 0%, 73.2%, 67.8%)
CIE-LABlab(33.38, -10.43, 33.12)
CIE-LCHlch(33.38, 34.72, 107.49°)
OKLaboklab(42.21% -0.0317 0.0744)
OKLCHoklch(42.21% 0.081 113.1)
XYZxyz(6.3042, 7.7123, 1.9154)
Luminance0.0771 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4E5216 #1A1652
analogous
#523816 #4E5216 #305216
triadic
#4E5216 #164E52 #52164E
tetradic
#4E5216 #165238 #1A1652 #521630
square
#4E5216 #165238 #1A1652 #521630
split-complementary
#4E5216 #163052 #381652
monochromatic
#171806 #202209 #4E5216 #7C8223 #AAB330

Accessibility & contrast

On white

8.26
#4E5216 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.54
#4E5216 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4E5216
8.26:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4E5216#FFFFFF#000000##FFFFFF
##4E52161.008.262.548.26
#FFFFFF8.261.0021.001.00
#0000002.5421.001.0021.00
##FFFFFF8.261.0021.001.00

Color blindness preview

Protanopia (red-blind)
#594E0D
Deuteranopia (green-blind)
#594F1A
Tritanopia (blue-blind)
#544D46
Achromatopsia (no color)
#4E4E4E

Design tokens & code

CSS
--color: #4e5216;
/* rgb */ color: rgb(78, 82, 22);
/* oklch */ color: oklch(42.2% 0.081 113.1);
Tailwind
colors: {
  custom: {
    50: '#828257',
    500: '#4e5216',
    950: '#000000',
  },
}
SCSS
$custom: #4e5216;
$custom-light: #828257;
$custom-dark: #000000;
JSON
{
  "hex": "#4e5216",
  "rgb": {
    "r": 78,
    "g": 82,
    "b": 22
  },
  "hsl": {
    "h": 64,
    "s": 57.692,
    "l": 20.392
  },
  "oklch": {
    "l": 0.42207,
    "c": 0.08087,
    "h": 113.1
  },
  "luminance": 0.07712
}

Semantic roles & 50–950 ramp

primary
#4E5216
secondary
#403A89
accent
#47E151
background
#F8F7F5
surface
#EFEEE9
border
#CAC9C5
text
#0B0A03
muted
#7C7C78

Preview Lab

Preview with #4E5216

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

Preview Lab → · Contrast checker → · Palette generator →

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