#4E8121#4E8121

#4E8121 is a mid, vivid yellow-green. Relative luminance 0.174; OKLCH L 54.7% C 0.137 H 133.6°. Best body text is #FFFFFF at 4.68:1 contrast (WCAG AA passes).

Color values

HEX#4E8121
RGBrgb(78, 129, 33)
HSLhsl(92, 59%, 32%)
HSVhsv(92, 74%, 51%)
CMYKcmyk(39.5%, 0%, 74.4%, 49.4%)
CIE-LABlab(48.80, -33.68, 44.09)
CIE-LCHlch(48.80, 55.49, 127.38°)
OKLaboklab(54.73% -0.0945 0.0993)
OKLCHoklch(54.73% 0.137 133.6)
XYZxyz(11.2665, 17.4295, 4.2091)
Luminance0.1743 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4E8121 #542181
analogous
#7E8121 #4E8121 #218124
triadic
#4E8121 #214E81 #81214E
tetradic
#4E8121 #217E81 #542181 #812421
square
#4E8121 #217E81 #542181 #812421
split-complementary
#4E8121 #242181 #81217E
monochromatic
#132008 #315015 #4E8121 #6BB22D #8AD14B

Accessibility & contrast

On white

4.68
#4E8121 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.49
#4E8121 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #4E8121
4.68:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4E8121#FFFFFF#000000##FFFFFF
##4E81211.004.684.494.68
#FFFFFF4.681.0021.001.00
#0000004.4921.001.0021.00
##FFFFFF4.681.0021.001.00

Color blindness preview

Protanopia (red-blind)
#867710
Deuteranopia (green-blind)
#7F722A
Tritanopia (blue-blind)
#4E7C6E
Achromatopsia (no color)
#747474

Design tokens & code

CSS
--color: #4e8121;
/* rgb */ color: rgb(78, 129, 33);
/* oklch */ color: oklch(54.7% 0.137 133.6);
Tailwind
colors: {
  custom: {
    50: '#84a663',
    500: '#4e8121',
    950: '#000000',
  },
}
SCSS
$custom: #4e8121;
$custom-light: #84a663;
$custom-dark: #000000;
JSON
{
  "hex": "#4e8121",
  "rgb": {
    "r": 78,
    "g": 129,
    "b": 33
  },
  "hsl": {
    "h": 91.875,
    "s": 59.259,
    "l": 31.765
  },
  "oklch": {
    "l": 0.54728,
    "c": 0.13706,
    "h": 133.6
  },
  "luminance": 0.1743
}

Semantic roles & 50–950 ramp

primary
#4E8121
secondary
#824AB4
accent
#45E299
background
#F8FAF6
surface
#EFF4EB
border
#CACEC6
text
#0B0F06
muted
#7C7F7A

Preview Lab

Preview with #4E8121

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

Preview Lab → · Contrast checker → · Palette generator →

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