#4E6221#4E6221

#4E6221 is a mid, moderate yellow-green. Relative luminance 0.105; OKLCH L 46.5% C 0.093 H 124.5°. Best body text is #FFFFFF at 6.79:1 contrast (WCAG AA passes).

Color values

HEX#4E6221
RGBrgb(78, 98, 33)
HSLhsl(78, 50%, 26%)
HSVhsv(78, 66%, 38%)
CMYKcmyk(20.4%, 0%, 66.3%, 61.6%)
CIE-LABlab(38.66, -18.49, 33.52)
CIE-LCHlch(38.66, 38.28, 118.88°)
OKLaboklab(46.49% -0.0529 0.077)
OKLCHoklch(46.49% 0.093 124.5)
XYZxyz(7.7841, 10.4648, 3.0484)
Luminance0.1047 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4E6221 #352162
analogous
#625521 #4E6221 #2D6221
triadic
#4E6221 #214E62 #62214E
tetradic
#4E6221 #216255 #352162 #62212D
square
#4E6221 #216255 #352162 #62212D
split-complementary
#4E6221 #212D62 #552162
monochromatic
#121708 #2A3412 #4E6221 #729030 #97BE40

Accessibility & contrast

On white

6.79
#4E6221 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.09
#4E6221 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #4E6221
6.79:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4E6221#FFFFFF#000000##FFFFFF
##4E62211.006.793.096.79
#FFFFFF6.791.0021.001.00
#0000003.0921.001.0021.00
##FFFFFF6.791.0021.001.00

Color blindness preview

Protanopia (red-blind)
#685C19
Deuteranopia (green-blind)
#655B26
Tritanopia (blue-blind)
#525D54
Achromatopsia (no color)
#5B5B5B

Design tokens & code

CSS
--color: #4e6221;
/* rgb */ color: rgb(78, 98, 33);
/* oklch */ color: oklch(46.5% 0.093 124.5);
Tailwind
colors: {
  custom: {
    50: '#828e5f',
    500: '#4e6221',
    950: '#000000',
  },
}
SCSS
$custom: #4e6221;
$custom-light: #828e5f;
$custom-dark: #000000;
JSON
{
  "hex": "#4e6221",
  "rgb": {
    "r": 78,
    "g": 98,
    "b": 33
  },
  "hsl": {
    "h": 78.462,
    "s": 49.618,
    "l": 25.686
  },
  "oklch": {
    "l": 0.46491,
    "c": 0.09345,
    "h": 124.5
  },
  "luminance": 0.10465
}

Semantic roles & 50–950 ramp

primary
#4E6221
secondary
#614996
accent
#4FD979
background
#F8F8F5
surface
#EFF0E9
border
#CACBC5
text
#0B0C05
muted
#7C7D79

Preview Lab

Preview with #4E6221

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

Preview Lab → · Contrast checker → · Palette generator →

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