#2AA838#2AA838

#2AA838 is a light, vivid green. Relative luminance 0.288; OKLCH L 64.2% C 0.186 H 144.5°. Best body text is #000000 at 6.76:1 contrast (WCAG AA passes).

Color values

HEX#2AA838
RGBrgb(42, 168, 56)
HSLhsl(127, 60%, 41%)
HSVhsv(127, 75%, 66%)
CMYKcmyk(75%, 0%, 66.7%, 34.1%)
CIE-LABlab(60.59, -55.95, 46.67)
CIE-LCHlch(60.59, 72.86, 140.17°)
OKLaboklab(64.18% -0.1512 0.108)
OKLCHoklch(64.18% 0.186 144.5)
XYZxyz(15.6702, 28.7812, 8.4701)
Luminance0.2878 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2AA838 #A82A9A
analogous
#5BA82A #2AA838 #2AA877
triadic
#2AA838 #382AA8 #A8382A
tetradic
#2AA838 #2A5BA8 #A82A9A #A8772A
square
#2AA838 #2A5BA8 #A82A9A #A8772A
split-complementary
#2AA838 #772AA8 #A82A5B
monochromatic
#124617 #1E7728 #2AA838 #40CF50 #71DB7D

Accessibility & contrast

On white

3.11
#2AA838 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.76
#2AA838 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #2AA838
6.76:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2AA838#FFFFFF#000000##000000
##2AA8381.003.116.766.76
#FFFFFF3.111.0021.0021.00
#0000006.7621.001.001.00
##0000006.7621.001.001.00

Color blindness preview

Protanopia (red-blind)
#AB982A
Deuteranopia (green-blind)
#9D8E42
Tritanopia (blue-blind)
#00A391
Achromatopsia (no color)
#929292

Design tokens & code

CSS
--color: #2aa838;
/* rgb */ color: rgb(42, 168, 56);
/* oklch */ color: oklch(64.2% 0.186 144.5);
Tailwind
colors: {
  custom: {
    50: '#78c374',
    500: '#2aa838',
    950: '#000000',
  },
}
SCSS
$custom: #2aa838;
$custom-light: #78c374;
$custom-dark: #000000;
JSON
{
  "hex": "#2aa838",
  "rgb": {
    "r": 42,
    "g": 168,
    "b": 56
  },
  "hsl": {
    "h": 126.667,
    "s": 60,
    "l": 41.176
  },
  "oklch": {
    "l": 0.64177,
    "c": 0.18583,
    "h": 144.5
  },
  "luminance": 0.28783
}

Semantic roles & 50–950 ramp

primary
#2AA838
secondary
#C36BB9
accent
#45D2E3
background
#F7FCF7
surface
#EEF8ED
border
#C9D1C8
text
#0A1308
muted
#7C827B

Preview Lab

Preview with #2AA838

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

Preview Lab → · Contrast checker → · Palette generator →

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