#2AB228#2AB228

#2AB228 is a light, highly saturated green. Relative luminance 0.325; OKLCH L 66.8% C 0.207 H 142.7°. Best body text is #000000 at 7.50:1 contrast (WCAG AA passes).

Color values

HEX#2AB228
RGBrgb(42, 178, 40)
HSLhsl(119, 63%, 43%)
HSVhsv(119, 78%, 70%)
CMYKcmyk(76.4%, 0%, 77.5%, 30.2%)
CIE-LABlab(63.74, -60.58, 55.99)
CIE-LCHlch(63.74, 82.49, 137.26°)
OKLaboklab(66.76% -0.1645 0.1255)
OKLCHoklch(66.76% 0.207 142.7)
XYZxyz(17.2572, 32.4842, 7.3677)
Luminance0.3249 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2AB228 #B028B2
analogous
#6FB228 #2AB228 #28B26B
triadic
#2AB228 #282AB2 #B2282A
tetradic
#2AB228 #286FB2 #B028B2 #B26B28
square
#2AB228 #286FB2 #B028B2 #B26B28
split-complementary
#2AB228 #6B28B2 #B2286F
monochromatic
#124E12 #1E801D #2AB228 #45D543 #76E075

Accessibility & contrast

On white

2.80
#2AB228 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.50
#2AB228 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #2AB228
7.50:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2AB228#FFFFFF#000000##000000
##2AB2281.002.807.507.50
#FFFFFF2.801.0021.0021.00
#0000007.5021.001.001.00
##0000007.5021.001.001.00

Color blindness preview

Protanopia (red-blind)
#B6A103
Deuteranopia (green-blind)
#A79638
Tritanopia (blue-blind)
#00AD98
Achromatopsia (no color)
#9A9A9A

Design tokens & code

CSS
--color: #2ab228;
/* rgb */ color: rgb(42, 178, 40);
/* oklch */ color: oklch(66.8% 0.207 142.7);
Tailwind
colors: {
  custom: {
    50: '#7bca6c',
    500: '#2ab228',
    950: '#000000',
  },
}
SCSS
$custom: #2ab228;
$custom-light: #7bca6c;
$custom-dark: #000000;
JSON
{
  "hex": "#2ab228",
  "rgb": {
    "r": 42,
    "g": 178,
    "b": 40
  },
  "hsl": {
    "h": 119.13,
    "s": 63.303,
    "l": 42.745
  },
  "oklch": {
    "l": 0.6676,
    "c": 0.20692,
    "h": 142.7
  },
  "luminance": 0.32486
}

Semantic roles & 50–950 ramp

primary
#2AB228
secondary
#C66FC7
accent
#41E6E4
background
#F8FCF6
surface
#EFF9EC
border
#CAD2C7
text
#0B1307
muted
#7C827A

Preview Lab

Preview with #2AB228

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

Preview Lab → · Contrast checker → · Palette generator →

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