#2AA22F#2AA22F

#2AA22F is a light, vivid green. Relative luminance 0.265; OKLCH L 62.5% C 0.185 H 143.5°. Best body text is #000000 at 6.31:1 contrast (WCAG AA passes).

Color values

HEX#2AA22F
RGBrgb(42, 162, 47)
HSLhsl(123, 59%, 40%)
HSVhsv(123, 74%, 64%)
CMYKcmyk(74.1%, 0%, 71%, 36.5%)
CIE-LABlab(58.54, -54.83, 48.20)
CIE-LCHlch(58.54, 73.01, 138.68°)
OKLaboklab(62.46% -0.1486 0.1101)
OKLCHoklch(62.46% 0.185 143.5)
XYZxyz(14.3874, 26.5365, 7.0526)
Luminance0.2654 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2AA22F #A22A9D
analogous
#61A22A #2AA22F #2AA26B
triadic
#2AA22F #2F2AA2 #A22F2A
tetradic
#2AA22F #2A61A2 #A22A9D #A26B2A
square
#2AA22F #2A61A2 #A22A9D #A26B2A
split-complementary
#2AA22F #6B2AA2 #A22A61
monochromatic
#114113 #1D7121 #2AA22F #3DCD43 #6DD972

Accessibility & contrast

On white

3.33
#2AA22F on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.31
#2AA22F on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #2AA22F
6.31:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2AA22F#FFFFFF#000000##000000
##2AA22F1.003.336.316.31
#FFFFFF3.331.0021.0021.00
#0000006.3121.001.001.00
##0000006.3121.001.001.00

Color blindness preview

Protanopia (red-blind)
#A5921D
Deuteranopia (green-blind)
#98893A
Tritanopia (blue-blind)
#009D8B
Achromatopsia (no color)
#8D8D8D

Design tokens & code

CSS
--color: #2aa22f;
/* rgb */ color: rgb(42, 162, 47);
/* oklch */ color: oklch(62.5% 0.185 143.5);
Tailwind
colors: {
  custom: {
    50: '#77bf6e',
    500: '#2aa22f',
    950: '#000000',
  },
}
SCSS
$custom: #2aa22f;
$custom-light: #77bf6e;
$custom-dark: #000000;
JSON
{
  "hex": "#2aa22f",
  "rgb": {
    "r": 42,
    "g": 162,
    "b": 47
  },
  "hsl": {
    "h": 122.5,
    "s": 58.824,
    "l": 40
  },
  "oklch": {
    "l": 0.62457,
    "c": 0.18498,
    "h": 143.5
  },
  "luminance": 0.26538
}

Semantic roles & 50–950 ramp

primary
#2AA22F
secondary
#C068BC
accent
#46DCE2
background
#F7FBF6
surface
#EEF7EC
border
#C9D0C7
text
#0A1207
muted
#7C817A

Preview Lab

Preview with #2AA22F

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

Preview Lab → · Contrast checker → · Palette generator →

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