#4A9721#4A9721

#4A9721 is a mid, vivid yellow-green. Relative luminance 0.237; OKLCH L 60.4% C 0.167 H 137.3°. Best body text is #000000 at 5.74:1 contrast (WCAG AA passes).

Color values

HEX#4A9721
RGBrgb(74, 151, 33)
HSLhsl(99, 64%, 36%)
HSVhsv(99, 78%, 59%)
CMYKcmyk(51%, 0%, 78.1%, 40.8%)
CIE-LABlab(55.78, -44.32, 50.90)
CIE-LCHlch(55.78, 67.49, 131.05°)
OKLaboklab(60.41% -0.123 0.1136)
OKLCHoklch(60.41% 0.167 137.3)
XYZxyz(14.1647, 23.6979, 5.2663)
Luminance0.2370 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4A9721 #6E2197
analogous
#859721 #4A9721 #219733
triadic
#4A9721 #214A97 #97214A
tetradic
#4A9721 #218597 #6E2197 #973321
square
#4A9721 #218597 #6E2197 #973321
split-complementary
#4A9721 #332197 #972185
monochromatic
#19330B #316516 #4A9721 #63C92C #85DA58

Accessibility & contrast

On white

3.66
#4A9721 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.74
#4A9721 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #4A9721
5.74:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4A9721#FFFFFF#000000##000000
##4A97211.003.665.745.74
#FFFFFF3.661.0021.0021.00
#0000005.7421.001.001.00
##0000005.7421.001.001.00

Color blindness preview

Protanopia (red-blind)
#9C8A03
Deuteranopia (green-blind)
#92832E
Tritanopia (blue-blind)
#459181
Achromatopsia (no color)
#868686

Design tokens & code

CSS
--color: #4a9721;
/* rgb */ color: rgb(74, 151, 33);
/* oklch */ color: oklch(60.4% 0.167 137.3);
Tailwind
colors: {
  custom: {
    50: '#84b666',
    500: '#4a9721',
    950: '#000000',
  },
}
SCSS
$custom: #4a9721;
$custom-light: #84b666;
$custom-dark: #000000;
JSON
{
  "hex": "#4a9721",
  "rgb": {
    "r": 74,
    "g": 151,
    "b": 33
  },
  "hsl": {
    "h": 99.153,
    "s": 64.13,
    "l": 36.078
  },
  "oklch": {
    "l": 0.60411,
    "c": 0.16737,
    "h": 137.3
  },
  "luminance": 0.23699
}

Semantic roles & 50–950 ramp

primary
#4A9721
secondary
#9A55BE
accent
#41E7AD
background
#F8FBF6
surface
#F0F6EB
border
#CBD0C6
text
#0C1106
muted
#7D807A

Preview Lab

Preview with #4A9721

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

Preview Lab → · Contrast checker → · Palette generator →

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