#2A9922#2A9922

#2A9922 is a mid, vivid green. Relative luminance 0.234; OKLCH L 59.9% C 0.182 H 142.1°. Best body text is #000000 at 5.68:1 contrast (WCAG AA passes).

Color values

HEX#2A9922
RGBrgb(42, 153, 34)
HSLhsl(116, 64%, 37%)
HSVhsv(116, 78%, 60%)
CMYKcmyk(72.5%, 0%, 77.8%, 40%)
CIE-LABlab(55.47, -52.89, 49.92)
CIE-LCHlch(55.47, 72.73, 136.65°)
OKLaboklab(59.88% -0.144 0.112)
OKLCHoklch(59.88% 0.182 142.1)
XYZxyz(12.6341, 23.3888, 5.3617)
Luminance0.2339 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2A9922 #912299
analogous
#669922 #2A9922 #229956
triadic
#2A9922 #222A99 #99222A
tetradic
#2A9922 #226699 #912299 #995622
square
#2A9922 #226699 #912299 #995622
split-complementary
#2A9922 #562299 #992266
monochromatic
#0F350C #1C6717 #2A9922 #38CB2D #63DB5B

Accessibility & contrast

On white

3.70
#2A9922 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.68
#2A9922 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #2A9922
5.68:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2A9922#FFFFFF#000000##000000
##2A99221.003.705.685.68
#FFFFFF3.701.0021.0021.00
#0000005.6821.001.001.00
##0000005.6821.001.001.00

Color blindness preview

Protanopia (red-blind)
#9D8A05
Deuteranopia (green-blind)
#90822F
Tritanopia (blue-blind)
#069483
Achromatopsia (no color)
#858585

Design tokens & code

CSS
--color: #2a9922;
/* rgb */ color: rgb(42, 153, 34);
/* oklch */ color: oklch(59.9% 0.182 142.1);
Tailwind
colors: {
  custom: {
    50: '#76b866',
    500: '#2a9922',
    950: '#000000',
  },
}
SCSS
$custom: #2a9922;
$custom-light: #76b866;
$custom-dark: #000000;
JSON
{
  "hex": "#2a9922",
  "rgb": {
    "r": 42,
    "g": 153,
    "b": 34
  },
  "hsl": {
    "h": 115.966,
    "s": 63.636,
    "l": 36.667
  },
  "oklch": {
    "l": 0.59878,
    "c": 0.1824,
    "h": 142.1
  },
  "luminance": 0.2339
}

Semantic roles & 50–950 ramp

primary
#2A9922
secondary
#B858BF
accent
#41E7DC
background
#F7FBF6
surface
#EEF6EB
border
#C9D0C6
text
#0A1106
muted
#7C807A

Preview Lab

Preview with #2A9922

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

Preview Lab → · Contrast checker → · Palette generator →

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