#2AAA28#2AAA28

#2AAA28 is a light, vivid green. Relative luminance 0.294; OKLCH L 64.6% C 0.198 H 142.7°. Best body text is #000000 at 6.88:1 contrast (WCAG AA passes).

Color values

HEX#2AAA28
RGBrgb(42, 170, 40)
HSLhsl(119, 62%, 41%)
HSVhsv(119, 76%, 67%)
CMYKcmyk(75.3%, 0%, 76.5%, 33.3%)
CIE-LABlab(61.13, -58.04, 53.42)
CIE-LCHlch(61.13, 78.88, 137.37°)
OKLaboklab(64.59% -0.1576 0.1201)
OKLCHoklch(64.59% 0.198 142.7)
XYZxyz(15.7116, 29.3931, 6.8525)
Luminance0.2939 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2AAA28 #A828AA
analogous
#6BAA28 #2AAA28 #28AA67
triadic
#2AAA28 #282AAA #AA282A
tetradic
#2AAA28 #286BAA #A828AA #AA6728
square
#2AAA28 #286BAA #A828AA #AA6728
split-complementary
#2AAA28 #6728AA #AA286B
monochromatic
#124711 #1E781C #2AAA28 #40D23E #71DD6F

Accessibility & contrast

On white

3.05
#2AAA28 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.88
#2AAA28 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #2AAA28
6.88:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2AAA28#FFFFFF#000000##000000
##2AAA281.003.056.886.88
#FFFFFF3.051.0021.0021.00
#0000006.8821.001.001.00
##0000006.8821.001.001.00

Color blindness preview

Protanopia (red-blind)
#AE990A
Deuteranopia (green-blind)
#A09037
Tritanopia (blue-blind)
#00A591
Achromatopsia (no color)
#939393

Design tokens & code

CSS
--color: #2aaa28;
/* rgb */ color: rgb(42, 170, 40);
/* oklch */ color: oklch(64.6% 0.198 142.7);
Tailwind
colors: {
  custom: {
    50: '#79c46b',
    500: '#2aaa28',
    950: '#000000',
  },
}
SCSS
$custom: #2aaa28;
$custom-light: #79c46b;
$custom-dark: #000000;
JSON
{
  "hex": "#2aaa28",
  "rgb": {
    "r": 42,
    "g": 170,
    "b": 40
  },
  "hsl": {
    "h": 119.077,
    "s": 61.905,
    "l": 41.176
  },
  "oklch": {
    "l": 0.64588,
    "c": 0.19819,
    "h": 142.7
  },
  "luminance": 0.29395
}

Semantic roles & 50–950 ramp

primary
#2AAA28
secondary
#C36AC4
accent
#43E5E2
background
#F8FCF6
surface
#EFF8EC
border
#CAD1C7
text
#0B1307
muted
#7C827A

Preview Lab

Preview with #2AAA28

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

Preview Lab → · Contrast checker → · Palette generator →

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