#2AA842#2AA842

#2AA842 is a light, vivid green. Relative luminance 0.289; OKLCH L 64.3% C 0.178 H 146.0°. Best body text is #000000 at 6.78:1 contrast (WCAG AA passes).

Color values

HEX#2AA842
RGBrgb(42, 168, 66)
HSLhsl(131, 60%, 41%)
HSVhsv(131, 75%, 66%)
CMYKcmyk(75%, 0%, 60.7%, 34.1%)
CIE-LABlab(60.68, -54.80, 42.31)
CIE-LCHlch(60.68, 69.24, 142.33°)
OKLaboklab(64.29% -0.1477 0.0997)
OKLCHoklch(64.29% 0.178 146)
XYZxyz(15.9397, 28.8890, 9.8893)
Luminance0.2889 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2AA842 #A82A90
analogous
#51A82A #2AA842 #2AA881
triadic
#2AA842 #422AA8 #A8422A
tetradic
#2AA842 #2A51A8 #A82A90 #A8812A
square
#2AA842 #2A51A8 #A82A90 #A8812A
split-complementary
#2AA842 #812AA8 #A82A51
monochromatic
#12461C #1E772F #2AA842 #40CF5B #71DB85

Accessibility & contrast

On white

3.10
#2AA842 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.78
#2AA842 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #2AA842
6.78:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2AA842#FFFFFF#000000##000000
##2AA8421.003.106.786.78
#FFFFFF3.101.0021.0021.00
#0000006.7821.001.001.00
##0000006.7821.001.001.00

Color blindness preview

Protanopia (red-blind)
#AA9837
Deuteranopia (green-blind)
#9C8E4A
Tritanopia (blue-blind)
#00A492
Achromatopsia (no color)
#929292

Design tokens & code

CSS
--color: #2aa842;
/* rgb */ color: rgb(42, 168, 66);
/* oklch */ color: oklch(64.3% 0.178 146.0);
Tailwind
colors: {
  custom: {
    50: '#78c37a',
    500: '#2aa842',
    950: '#000000',
  },
}
SCSS
$custom: #2aa842;
$custom-light: #78c37a;
$custom-dark: #000000;
JSON
{
  "hex": "#2aa842",
  "rgb": {
    "r": 42,
    "g": 168,
    "b": 66
  },
  "hsl": {
    "h": 131.429,
    "s": 60,
    "l": 41.176
  },
  "oklch": {
    "l": 0.64287,
    "c": 0.1782,
    "h": 146
  },
  "luminance": 0.28891
}

Semantic roles & 50–950 ramp

primary
#2AA842
secondary
#C36BB2
accent
#45C5E3
background
#F7FCF7
surface
#EEF8EE
border
#C9D1C9
text
#0A1309
muted
#7C827B

Preview Lab

Preview with #2AA842

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

Preview Lab → · Contrast checker → · Palette generator →

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