#2AB828#2AB828

#2AB828 is a light, highly saturated green. Relative luminance 0.349; OKLCH L 68.4% C 0.213 H 142.7°. Best body text is #000000 at 7.99:1 contrast (WCAG AA passes).

Color values

HEX#2AB828
RGBrgb(42, 184, 40)
HSLhsl(119, 64%, 44%)
HSVhsv(119, 78%, 72%)
CMYKcmyk(77.2%, 0%, 78.3%, 27.8%)
CIE-LABlab(65.69, -62.46, 57.87)
CIE-LCHlch(65.69, 85.15, 137.18°)
OKLaboklab(68.38% -0.1696 0.1294)
OKLCHoklch(68.38% 0.213 142.7)
XYZxyz(18.4772, 34.9242, 7.7743)
Luminance0.3493 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2AB828 #B628B8
analogous
#72B828 #2AB828 #28B86E
triadic
#2AB828 #282AB8 #B8282A
tetradic
#2AB828 #2872B8 #B628B8 #B86E28
square
#2AB828 #2872B8 #B628B8 #B86E28
split-complementary
#2AB828 #6E28B8 #B82872
monochromatic
#135312 #1F861D #2AB828 #48D746 #7AE279

Accessibility & contrast

On white

2.63
#2AB828 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.99
#2AB828 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #2AB828
7.99:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2AB828#FFFFFF#000000##000000
##2AB8281.002.637.997.99
#FFFFFF2.631.0021.0021.00
#0000007.9921.001.001.00
##0000007.9921.001.001.00

Color blindness preview

Protanopia (red-blind)
#BCA600
Deuteranopia (green-blind)
#AD9B39
Tritanopia (blue-blind)
#00B29D
Achromatopsia (no color)
#A0A0A0

Design tokens & code

CSS
--color: #2ab828;
/* rgb */ color: rgb(42, 184, 40);
/* oklch */ color: oklch(68.4% 0.213 142.7);
Tailwind
colors: {
  custom: {
    50: '#7dcf6d',
    500: '#2ab828',
    950: '#000000',
  },
}
SCSS
$custom: #2ab828;
$custom-light: #7dcf6d;
$custom-dark: #000000;
JSON
{
  "hex": "#2ab828",
  "rgb": {
    "r": 42,
    "g": 184,
    "b": 40
  },
  "hsl": {
    "h": 119.167,
    "s": 64.286,
    "l": 43.922
  },
  "oklch": {
    "l": 0.6838,
    "c": 0.21336,
    "h": 142.7
  },
  "luminance": 0.34926
}

Semantic roles & 50–950 ramp

primary
#2AB828
secondary
#C872CA
accent
#41E7E5
background
#F8FCF6
surface
#F0F9EC
border
#CBD2C7
text
#0B1408
muted
#7C827B

Preview Lab

Preview with #2AB828

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

Preview Lab → · Contrast checker → · Palette generator →

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