#2A9C21#2A9C21

#2A9C21 is a mid, vivid green. Relative luminance 0.244; OKLCH L 60.7% C 0.186 H 142.1°. Best body text is #000000 at 5.88:1 contrast (WCAG AA passes).

Color values

HEX#2A9C21
RGBrgb(42, 156, 33)
HSLhsl(116, 65%, 37%)
HSVhsv(116, 79%, 61%)
CMYKcmyk(73.1%, 0%, 78.8%, 38.8%)
CIE-LABlab(56.46, -53.96, 51.22)
CIE-LCHlch(56.46, 74.40, 136.49°)
OKLaboklab(60.7% -0.1469 0.1146)
OKLCHoklch(60.7% 0.186 142.1)
XYZxyz(13.1171, 24.3775, 5.4526)
Luminance0.2438 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2A9C21 #93219C
analogous
#679C21 #2A9C21 #219C56
triadic
#2A9C21 #212A9C #9C212A
tetradic
#2A9C21 #21679C #93219C #9C5621
square
#2A9C21 #21679C #93219C #9C5621
split-complementary
#2A9C21 #56219C #9C2167
monochromatic
#0F370C #1C6916 #2A9C21 #38CF2C #65DC5B

Accessibility & contrast

On white

3.57
#2A9C21 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.88
#2A9C21 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #2A9C21
5.88:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2A9C21#FFFFFF#000000##000000
##2A9C211.003.575.885.88
#FFFFFF3.571.0021.0021.00
#0000005.8821.001.001.00
##0000005.8821.001.001.00

Color blindness preview

Protanopia (red-blind)
#A08D00
Deuteranopia (green-blind)
#93842F
Tritanopia (blue-blind)
#039785
Achromatopsia (no color)
#878787

Design tokens & code

CSS
--color: #2a9c21;
/* rgb */ color: rgb(42, 156, 33);
/* oklch */ color: oklch(60.7% 0.186 142.1);
Tailwind
colors: {
  custom: {
    50: '#76ba66',
    500: '#2a9c21',
    950: '#000000',
  },
}
SCSS
$custom: #2a9c21;
$custom-light: #76ba66;
$custom-dark: #000000;
JSON
{
  "hex": "#2a9c21",
  "rgb": {
    "r": 42,
    "g": 156,
    "b": 33
  },
  "hsl": {
    "h": 115.61,
    "s": 65.079,
    "l": 37.059
  },
  "oklch": {
    "l": 0.60701,
    "c": 0.18631,
    "h": 142.1
  },
  "luminance": 0.24379
}

Semantic roles & 50–950 ramp

primary
#2A9C21
secondary
#B958C1
accent
#40E8DC
background
#F7FBF6
surface
#EEF6EB
border
#C9D0C6
text
#0A1206
muted
#7C817A

Preview Lab

Preview with #2A9C21

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

Preview Lab → · Contrast checker → · Palette generator →

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