#2A9C22#2A9C22

#2A9C22 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#2A9C22
RGBrgb(42, 156, 34)
HSLhsl(116, 64%, 37%)
HSVhsv(116, 78%, 61%)
CMYKcmyk(73.1%, 0%, 78.2%, 38.8%)
CIE-LABlab(56.47, -53.89, 50.89)
CIE-LCHlch(56.47, 74.12, 136.64°)
OKLaboklab(60.71% -0.1467 0.114)
OKLCHoklch(60.71% 0.186 142.1)
XYZxyz(13.1313, 24.3832, 5.5275)
Luminance0.2439 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2A9C22 #94229C
analogous
#679C22 #2A9C22 #229C57
triadic
#2A9C22 #222A9C #9C222A
tetradic
#2A9C22 #22679C #94229C #9C5722
square
#2A9C22 #22679C #94229C #9C5722
split-complementary
#2A9C22 #57229C #9C2267
monochromatic
#0F380C #1C6A17 #2A9C22 #38CE2D #65DC5D

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##2A9C22#FFFFFF#000000##000000
##2A9C221.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)
#A08D02
Deuteranopia (green-blind)
#938430
Tritanopia (blue-blind)
#029785
Achromatopsia (no color)
#878787

Design tokens & code

CSS
--color: #2a9c22;
/* rgb */ color: rgb(42, 156, 34);
/* oklch */ color: oklch(60.7% 0.186 142.1);
Tailwind
colors: {
  custom: {
    50: '#76ba67',
    500: '#2a9c22',
    950: '#000000',
  },
}
SCSS
$custom: #2a9c22;
$custom-light: #76ba67;
$custom-dark: #000000;
JSON
{
  "hex": "#2a9c22",
  "rgb": {
    "r": 42,
    "g": 156,
    "b": 34
  },
  "hsl": {
    "h": 116.066,
    "s": 64.211,
    "l": 37.255
  },
  "oklch": {
    "l": 0.60708,
    "c": 0.18579,
    "h": 142.1
  },
  "luminance": 0.24385
}

Semantic roles & 50–950 ramp

primary
#2A9C22
secondary
#B95AC0
accent
#41E7DC
background
#F7FBF6
surface
#EEF6EB
border
#C9D0C6
text
#0A1206
muted
#7C817A

Preview Lab

Preview with #2A9C22

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

Preview Lab → · Contrast checker → · Palette generator →

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