#2A9A22#2A9A22

#2A9A22 is a mid, vivid green. Relative luminance 0.237; OKLCH L 60.2% C 0.184 H 142.1°. Best body text is #000000 at 5.74:1 contrast (WCAG AA passes).

Color values

HEX#2A9A22
RGBrgb(42, 154, 34)
HSLhsl(116, 64%, 37%)
HSVhsv(116, 78%, 60%)
CMYKcmyk(72.7%, 0%, 77.9%, 39.6%)
CIE-LABlab(55.80, -53.22, 50.24)
CIE-LCHlch(55.80, 73.19, 136.65°)
OKLaboklab(60.16% -0.1449 0.1127)
OKLCHoklch(60.16% 0.184 142.1)
XYZxyz(12.7984, 23.7175, 5.4165)
Luminance0.2372 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2A9A22 #92229A
analogous
#669A22 #2A9A22 #229A56
triadic
#2A9A22 #222A9A #9A222A
tetradic
#2A9A22 #22669A #92229A #9A5622
square
#2A9A22 #22669A #92229A #9A5622
split-complementary
#2A9A22 #56229A #9A2266
monochromatic
#0F360C #1C6817 #2A9A22 #38CC2D #64DB5B

Accessibility & contrast

On white

3.66
#2A9A22 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.74
#2A9A22 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #2A9A22
5.74:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2A9A22#FFFFFF#000000##000000
##2A9A221.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)
#9E8B04
Deuteranopia (green-blind)
#918230
Tritanopia (blue-blind)
#059583
Achromatopsia (no color)
#868686

Design tokens & code

CSS
--color: #2a9a22;
/* rgb */ color: rgb(42, 154, 34);
/* oklch */ color: oklch(60.2% 0.184 142.1);
Tailwind
colors: {
  custom: {
    50: '#76b966',
    500: '#2a9a22',
    950: '#000000',
  },
}
SCSS
$custom: #2a9a22;
$custom-light: #76b966;
$custom-dark: #000000;
JSON
{
  "hex": "#2a9a22",
  "rgb": {
    "r": 42,
    "g": 154,
    "b": 34
  },
  "hsl": {
    "h": 116,
    "s": 63.83,
    "l": 36.863
  },
  "oklch": {
    "l": 0.60155,
    "c": 0.18354,
    "h": 142.1
  },
  "luminance": 0.23719
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #2A9A22

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

Preview Lab → · Contrast checker → · Palette generator →

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