#4E6421#4E6421

#4E6421 is a mid, moderate yellow-green. Relative luminance 0.108; OKLCH L 47.0% C 0.096 H 125.4°. Best body text is #FFFFFF at 6.63:1 contrast (WCAG AA passes).

Color values

HEX#4E6421
RGBrgb(78, 100, 33)
HSLhsl(80, 50%, 26%)
HSVhsv(80, 67%, 39%)
CMYKcmyk(22%, 0%, 67%, 60.8%)
CIE-LABlab(39.32, -19.55, 34.23)
CIE-LCHlch(39.32, 39.42, 119.73°)
OKLaboklab(47.02% -0.0558 0.0785)
OKLCHoklch(47.02% 0.096 125.4)
XYZxyz(7.9736, 10.8438, 3.1115)
Luminance0.1084 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4E6421 #372164
analogous
#645821 #4E6421 #2C6421
triadic
#4E6421 #214E64 #64214E
tetradic
#4E6421 #216458 #372164 #64212C
square
#4E6421 #216458 #372164 #64212C
split-complementary
#4E6421 #212C64 #582164
monochromatic
#121708 #2A3612 #4E6421 #729230 #96C040

Accessibility & contrast

On white

6.63
#4E6421 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.17
#4E6421 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #4E6421
6.63:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4E6421#FFFFFF#000000##FFFFFF
##4E64211.006.633.176.63
#FFFFFF6.631.0021.001.00
#0000003.1721.001.0021.00
##FFFFFF6.631.0021.001.00

Color blindness preview

Protanopia (red-blind)
#695D19
Deuteranopia (green-blind)
#665C26
Tritanopia (blue-blind)
#515F56
Achromatopsia (no color)
#5D5D5D

Design tokens & code

CSS
--color: #4e6421;
/* rgb */ color: rgb(78, 100, 33);
/* oklch */ color: oklch(47.0% 0.096 125.4);
Tailwind
colors: {
  custom: {
    50: '#829060',
    500: '#4e6421',
    950: '#000000',
  },
}
SCSS
$custom: #4e6421;
$custom-light: #829060;
$custom-dark: #000000;
JSON
{
  "hex": "#4e6421",
  "rgb": {
    "r": 78,
    "g": 100,
    "b": 33
  },
  "hsl": {
    "h": 79.701,
    "s": 50.376,
    "l": 26.078
  },
  "oklch": {
    "l": 0.47017,
    "c": 0.09636,
    "h": 125.4
  },
  "luminance": 0.10844
}

Semantic roles & 50–950 ramp

primary
#4E6421
secondary
#634998
accent
#4EDA7C
background
#F8F8F5
surface
#EFF0E9
border
#CACBC5
text
#0B0C05
muted
#7C7D79

Preview Lab

Preview with #4E6421

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

Preview Lab → · Contrast checker → · Palette generator →

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