#2AA828#2AA828

#2AA828 is a light, vivid green. Relative luminance 0.287; OKLCH L 64.0% C 0.196 H 142.7°. Best body text is #000000 at 6.73:1 contrast (WCAG AA passes).

Color values

HEX#2AA828
RGBrgb(42, 168, 40)
HSLhsl(119, 62%, 41%)
HSVhsv(119, 76%, 66%)
CMYKcmyk(75%, 0%, 76.2%, 34.1%)
CIE-LABlab(60.47, -57.39, 52.78)
CIE-LCHlch(60.47, 77.97, 137.40°)
OKLaboklab(64.04% -0.1559 0.1188)
OKLCHoklch(64.04% 0.196 142.7)
XYZxyz(15.3395, 28.6489, 6.7284)
Luminance0.2865 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2AA828 #A628A8
analogous
#6AA828 #2AA828 #28A866
triadic
#2AA828 #282AA8 #A8282A
tetradic
#2AA828 #286AA8 #A628A8 #A86628
square
#2AA828 #286AA8 #A628A8 #A86628
split-complementary
#2AA828 #6628A8 #A8286A
monochromatic
#114510 #1E771C #2AA828 #3FD13D #70DC6E

Accessibility & contrast

On white

3.12
#2AA828 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.73
#2AA828 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #2AA828
6.73:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2AA828#FFFFFF#000000##000000
##2AA8281.003.126.736.73
#FFFFFF3.121.0021.0021.00
#0000006.7321.001.001.00
##0000006.7321.001.001.00

Color blindness preview

Protanopia (red-blind)
#AC980B
Deuteranopia (green-blind)
#9E8E36
Tritanopia (blue-blind)
#00A390
Achromatopsia (no color)
#929292

Design tokens & code

CSS
--color: #2aa828;
/* rgb */ color: rgb(42, 168, 40);
/* oklch */ color: oklch(64.0% 0.196 142.7);
Tailwind
colors: {
  custom: {
    50: '#79c36b',
    500: '#2aa828',
    950: '#000000',
  },
}
SCSS
$custom: #2aa828;
$custom-light: #79c36b;
$custom-dark: #000000;
JSON
{
  "hex": "#2aa828",
  "rgb": {
    "r": 42,
    "g": 168,
    "b": 40
  },
  "hsl": {
    "h": 119.063,
    "s": 61.538,
    "l": 40.784
  },
  "oklch": {
    "l": 0.64042,
    "c": 0.19598,
    "h": 142.7
  },
  "luminance": 0.28651
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #2AA828

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

Preview Lab → · Contrast checker → · Palette generator →

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