#2A9721#2A9721

#2A9721 is a mid, vivid green. Relative luminance 0.227; OKLCH L 59.3% C 0.181 H 142.0°. Best body text is #000000 at 5.55:1 contrast (WCAG AA passes).

Color values

HEX#2A9721
RGBrgb(42, 151, 33)
HSLhsl(115, 64%, 36%)
HSVhsv(115, 78%, 59%)
CMYKcmyk(72.2%, 0%, 78.1%, 40.8%)
CIE-LABlab(54.80, -52.29, 49.60)
CIE-LCHlch(54.80, 72.07, 136.51°)
OKLaboklab(59.32% -0.1424 0.1112)
OKLCHoklch(59.32% 0.181 142)
XYZxyz(12.2953, 22.7339, 5.1787)
Luminance0.2273 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2A9721 #8E2197
analogous
#659721 #2A9721 #219753
triadic
#2A9721 #212A97 #97212A
tetradic
#2A9721 #216597 #8E2197 #975321
square
#2A9721 #216597 #8E2197 #975321
split-complementary
#2A9721 #532197 #972165
monochromatic
#0E330B #1C6516 #2A9721 #38C92C #62DA58

Accessibility & contrast

On white

3.79
#2A9721 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.55
#2A9721 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #2A9721
5.55:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2A9721#FFFFFF#000000##000000
##2A97211.003.795.555.55
#FFFFFF3.791.0021.0021.00
#0000005.5521.001.001.00
##0000005.5521.001.001.00

Color blindness preview

Protanopia (red-blind)
#9B8803
Deuteranopia (green-blind)
#8E802E
Tritanopia (blue-blind)
#099281
Achromatopsia (no color)
#838383

Design tokens & code

CSS
--color: #2a9721;
/* rgb */ color: rgb(42, 151, 33);
/* oklch */ color: oklch(59.3% 0.181 142.0);
Tailwind
colors: {
  custom: {
    50: '#75b766',
    500: '#2a9721',
    950: '#000000',
  },
}
SCSS
$custom: #2a9721;
$custom-light: #75b766;
$custom-dark: #000000;
JSON
{
  "hex": "#2a9721",
  "rgb": {
    "r": 42,
    "g": 151,
    "b": 33
  },
  "hsl": {
    "h": 115.424,
    "s": 64.13,
    "l": 36.078
  },
  "oklch": {
    "l": 0.59317,
    "c": 0.18067,
    "h": 142
  },
  "luminance": 0.22735
}

Semantic roles & 50–950 ramp

primary
#2A9721
secondary
#B655BE
accent
#41E7DA
background
#F7FBF6
surface
#EEF6EB
border
#C9D0C6
text
#0A1106
muted
#7C807A

Preview Lab

Preview with #2A9721

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

Preview Lab → · Contrast checker → · Palette generator →

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