#4E5222#4E5222

#4E5222 is a dark, moderate yellow. Relative luminance 0.078; OKLCH L 42.3% C 0.069 H 113.3°. Best body text is #FFFFFF at 8.22:1 contrast (WCAG AA passes).

Color values

HEX#4E5222
RGBrgb(78, 82, 34)
HSLhsl(65, 41%, 23%)
HSVhsv(65, 59%, 32%)
CMYKcmyk(4.9%, 0%, 58.5%, 67.8%)
CIE-LABlab(33.50, -9.44, 27.22)
CIE-LCHlch(33.50, 28.80, 109.12°)
OKLaboklab(42.34% -0.0274 0.0637)
OKLCHoklch(42.34% 0.069 113.3)
XYZxyz(6.4480, 7.7699, 2.6731)
Luminance0.0777 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4E5222 #262252
analogous
#523E22 #4E5222 #365222
triadic
#4E5222 #224E52 #52224E
tetradic
#4E5222 #22523E #262252 #522236
square
#4E5222 #22523E #262252 #522236
split-complementary
#4E5222 #223652 #3E2252
monochromatic
#151609 #252710 #4E5222 #777D34 #A0A946

Accessibility & contrast

On white

8.22
#4E5222 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.55
#4E5222 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4E5222
8.22:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4E5222#FFFFFF#000000##FFFFFF
##4E52221.008.222.558.22
#FFFFFF8.221.0021.001.00
#0000002.5521.001.0021.00
##FFFFFF8.221.0021.001.00

Color blindness preview

Protanopia (red-blind)
#584E1D
Deuteranopia (green-blind)
#584F25
Tritanopia (blue-blind)
#534D47
Achromatopsia (no color)
#4F4F4F

Design tokens & code

CSS
--color: #4e5222;
/* rgb */ color: rgb(78, 82, 34);
/* oklch */ color: oklch(42.3% 0.069 113.3);
Tailwind
colors: {
  custom: {
    50: '#81825f',
    500: '#4e5222',
    950: '#000000',
  },
}
SCSS
$custom: #4e5222;
$custom-light: #81825f;
$custom-dark: #000000;
JSON
{
  "hex": "#4e5222",
  "rgb": {
    "r": 78,
    "g": 82,
    "b": 34
  },
  "hsl": {
    "h": 65,
    "s": 41.379,
    "l": 22.745
  },
  "oklch": {
    "l": 0.42344,
    "c": 0.06935,
    "h": 113.3
  },
  "luminance": 0.0777
}

Semantic roles & 50–950 ramp

primary
#4E5222
secondary
#4F4A86
accent
#57D161
background
#F8F7F5
surface
#EFEEE9
border
#CAC9C5
text
#0A0A04
muted
#7C7C79

Preview Lab

Preview with #4E5222

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

Preview Lab → · Contrast checker → · Palette generator →

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