#2AA42B#2AA42B

#2AA42B is a light, vivid green. Relative luminance 0.272; OKLCH L 63.0% C 0.190 H 143.0°. Best body text is #000000 at 6.44:1 contrast (WCAG AA passes).

Color values

HEX#2AA42B
RGBrgb(42, 164, 43)
HSLhsl(120, 59%, 40%)
HSVhsv(120, 74%, 64%)
CMYKcmyk(74.4%, 0%, 73.8%, 35.7%)
CIE-LABlab(59.17, -55.85, 50.40)
CIE-LCHlch(59.17, 75.22, 137.94°)
OKLaboklab(62.97% -0.1516 0.1142)
OKLCHoklch(62.97% 0.19 143)
XYZxyz(14.6654, 27.2159, 6.7653)
Luminance0.2722 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2AA42B #A42AA3
analogous
#66A42A #2AA42B #2AA468
triadic
#2AA42B #2B2AA4 #A42B2A
tetradic
#2AA42B #2A66A4 #A42AA3 #A4682A
square
#2AA42B #2A66A4 #A42AA3 #A4682A
split-complementary
#2AA42B #682AA4 #A42A66
monochromatic
#114311 #1E731E #2AA42B #3ECD3F #6EDA6F

Accessibility & contrast

On white

3.26
#2AA42B on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.44
#2AA42B on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #2AA42B
6.44:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2AA42B#FFFFFF#000000##000000
##2AA42B1.003.266.446.44
#FFFFFF3.261.0021.0021.00
#0000006.4421.001.001.00
##0000006.4421.001.001.00

Color blindness preview

Protanopia (red-blind)
#A89415
Deuteranopia (green-blind)
#9A8B38
Tritanopia (blue-blind)
#009F8C
Achromatopsia (no color)
#8E8E8E

Design tokens & code

CSS
--color: #2aa42b;
/* rgb */ color: rgb(42, 164, 43);
/* oklch */ color: oklch(63.0% 0.190 143.0);
Tailwind
colors: {
  custom: {
    50: '#78c06c',
    500: '#2aa42b',
    950: '#000000',
  },
}
SCSS
$custom: #2aa42b;
$custom-light: #78c06c;
$custom-dark: #000000;
JSON
{
  "hex": "#2aa42b",
  "rgb": {
    "r": 42,
    "g": 164,
    "b": 43
  },
  "hsl": {
    "h": 120.492,
    "s": 59.223,
    "l": 40.392
  },
  "oklch": {
    "l": 0.62971,
    "c": 0.18978,
    "h": 143
  },
  "luminance": 0.27218
}

Semantic roles & 50–950 ramp

primary
#2AA42B
secondary
#C169C0
accent
#45E1E2
background
#F7FBF6
surface
#EEF7EC
border
#C9D0C7
text
#0A1207
muted
#7C817A

Preview Lab

Preview with #2AA42B

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

Preview Lab → · Contrast checker → · Palette generator →

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