#4E8221#4E8221

#4E8221 is a mid, vivid yellow-green. Relative luminance 0.177; OKLCH L 55.0% C 0.138 H 133.8°. Best body text is #FFFFFF at 4.63:1 contrast (WCAG AA passes).

Color values

HEX#4E8221
RGBrgb(78, 130, 33)
HSLhsl(92, 60%, 32%)
HSVhsv(92, 75%, 51%)
CMYKcmyk(40%, 0%, 74.6%, 49%)
CIE-LABlab(49.12, -34.13, 44.42)
CIE-LCHlch(49.12, 56.02, 127.54°)
OKLaboklab(55% -0.0957 0.0999)
OKLCHoklch(55% 0.138 133.8)
XYZxyz(11.3988, 17.6942, 4.2533)
Luminance0.1769 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4E8221 #552182
analogous
#7F8221 #4E8221 #218225
triadic
#4E8221 #214E82 #82214E
tetradic
#4E8221 #217F82 #552182 #822521
square
#4E8221 #217F82 #552182 #822521
split-complementary
#4E8221 #252182 #82217F
monochromatic
#132008 #315115 #4E8221 #6BB32D #8AD24C

Accessibility & contrast

On white

4.63
#4E8221 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.54
#4E8221 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#FFFFFF on #4E8221
4.63:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4E8221#FFFFFF#000000##FFFFFF
##4E82211.004.634.544.63
#FFFFFF4.631.0021.001.00
#0000004.5421.001.0021.00
##FFFFFF4.631.0021.001.00

Color blindness preview

Protanopia (red-blind)
#87770F
Deuteranopia (green-blind)
#80732A
Tritanopia (blue-blind)
#4E7D6F
Achromatopsia (no color)
#757575

Design tokens & code

CSS
--color: #4e8221;
/* rgb */ color: rgb(78, 130, 33);
/* oklch */ color: oklch(55.0% 0.138 133.8);
Tailwind
colors: {
  custom: {
    50: '#84a763',
    500: '#4e8221',
    950: '#000000',
  },
}
SCSS
$custom: #4e8221;
$custom-light: #84a763;
$custom-dark: #000000;
JSON
{
  "hex": "#4e8221",
  "rgb": {
    "r": 78,
    "g": 130,
    "b": 33
  },
  "hsl": {
    "h": 92.165,
    "s": 59.509,
    "l": 31.961
  },
  "oklch": {
    "l": 0.54995,
    "c": 0.13838,
    "h": 133.8
  },
  "luminance": 0.17695
}

Semantic roles & 50–950 ramp

primary
#4E8221
secondary
#834AB4
accent
#45E39A
background
#F8FAF6
surface
#EFF4EB
border
#CACEC6
text
#0B0F06
muted
#7C7F7A

Preview Lab

Preview with #4E8221

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

Preview Lab → · Contrast checker → · Palette generator →

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