#4E6621#4E6621

#4E6621 is a mid, moderate yellow-green. Relative luminance 0.112; OKLCH L 47.5% C 0.099 H 126.3°. Best body text is #FFFFFF at 6.47:1 contrast (WCAG AA passes).

Color values

HEX#4E6621
RGBrgb(78, 102, 33)
HSLhsl(81, 51%, 26%)
HSVhsv(81, 68%, 40%)
CMYKcmyk(23.5%, 0%, 67.6%, 60%)
CIE-LABlab(39.97, -20.60, 34.93)
CIE-LCHlch(39.97, 40.55, 120.53°)
OKLaboklab(47.55% -0.0587 0.08)
OKLCHoklch(47.55% 0.099 126.3)
XYZxyz(8.1678, 11.2321, 3.1763)
Luminance0.1123 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4E6621 #392166
analogous
#665C21 #4E6621 #2C6621
triadic
#4E6621 #214E66 #66214E
tetradic
#4E6621 #21665C #392166 #66212C
square
#4E6621 #21665C #392166 #66212C
split-complementary
#4E6621 #212C66 #5C2166
monochromatic
#121707 #2B3812 #4E6621 #719430 #94C140

Accessibility & contrast

On white

6.47
#4E6621 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.25
#4E6621 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #4E6621
6.47:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4E6621#FFFFFF#000000##FFFFFF
##4E66211.006.473.256.47
#FFFFFF6.471.0021.001.00
#0000003.2521.001.0021.00
##FFFFFF6.471.0021.001.00

Color blindness preview

Protanopia (red-blind)
#6B5F18
Deuteranopia (green-blind)
#685E26
Tritanopia (blue-blind)
#516158
Achromatopsia (no color)
#5E5E5E

Design tokens & code

CSS
--color: #4e6621;
/* rgb */ color: rgb(78, 102, 33);
/* oklch */ color: oklch(47.5% 0.099 126.3);
Tailwind
colors: {
  custom: {
    50: '#829160',
    500: '#4e6621',
    950: '#000000',
  },
}
SCSS
$custom: #4e6621;
$custom-light: #829160;
$custom-dark: #000000;
JSON
{
  "hex": "#4e6621",
  "rgb": {
    "r": 78,
    "g": 102,
    "b": 33
  },
  "hsl": {
    "h": 80.87,
    "s": 51.111,
    "l": 26.471
  },
  "oklch": {
    "l": 0.47545,
    "c": 0.09927,
    "h": 126.3
  },
  "luminance": 0.11232
}

Semantic roles & 50–950 ramp

primary
#4E6621
secondary
#65499A
accent
#4DDB7E
background
#F8F8F5
surface
#EFF0EA
border
#CACBC6
text
#0B0D05
muted
#7C7D79

Preview Lab

Preview with #4E6621

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

Preview Lab → · Contrast checker → · Palette generator →

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