#2AA728#2AA728

#2AA728 is a light, vivid green. Relative luminance 0.283; OKLCH L 63.8% C 0.195 H 142.7°. Best body text is #000000 at 6.66:1 contrast (WCAG AA passes).

Color values

HEX#2AA728
RGBrgb(42, 167, 40)
HSLhsl(119, 61%, 41%)
HSVhsv(119, 76%, 65%)
CMYKcmyk(74.9%, 0%, 76%, 34.5%)
CIE-LABlab(60.14, -57.07, 52.45)
CIE-LCHlch(60.14, 77.51, 137.41°)
OKLaboklab(63.77% -0.155 0.1181)
OKLCHoklch(63.77% 0.195 142.7)
XYZxyz(15.1556, 28.2811, 6.6671)
Luminance0.2828 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2AA728 #A528A7
analogous
#69A728 #2AA728 #28A765
triadic
#2AA728 #282AA7 #A7282A
tetradic
#2AA728 #2869A7 #A528A7 #A76528
square
#2AA728 #2869A7 #A528A7 #A76528
split-complementary
#2AA728 #6528A7 #A72869
monochromatic
#114410 #1E761C #2AA728 #3ED03C #6FDC6D

Accessibility & contrast

On white

3.15
#2AA728 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.66
#2AA728 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #2AA728
6.66:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2AA728#FFFFFF#000000##000000
##2AA7281.003.156.666.66
#FFFFFF3.151.0021.0021.00
#0000006.6621.001.001.00
##0000006.6621.001.001.00

Color blindness preview

Protanopia (red-blind)
#AB970C
Deuteranopia (green-blind)
#9D8D36
Tritanopia (blue-blind)
#00A28F
Achromatopsia (no color)
#919191

Design tokens & code

CSS
--color: #2aa728;
/* rgb */ color: rgb(42, 167, 40);
/* oklch */ color: oklch(63.8% 0.195 142.7);
Tailwind
colors: {
  custom: {
    50: '#79c26b',
    500: '#2aa728',
    950: '#000000',
  },
}
SCSS
$custom: #2aa728;
$custom-light: #79c26b;
$custom-dark: #000000;
JSON
{
  "hex": "#2aa728",
  "rgb": {
    "r": 42,
    "g": 167,
    "b": 40
  },
  "hsl": {
    "h": 119.055,
    "s": 61.353,
    "l": 40.588
  },
  "oklch": {
    "l": 0.63769,
    "c": 0.19487,
    "h": 142.7
  },
  "luminance": 0.28283
}

Semantic roles & 50–950 ramp

primary
#2AA728
secondary
#C168C3
accent
#43E4E2
background
#F8FCF6
surface
#EFF8EC
border
#CAD1C7
text
#0A1307
muted
#7C827A

Preview Lab

Preview with #2AA728

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

Preview Lab → · Contrast checker → · Palette generator →

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