#2AB227#2AB227

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

Color values

HEX#2AB227
RGBrgb(42, 178, 39)
HSLhsl(119, 64%, 43%)
HSVhsv(119, 78%, 70%)
CMYKcmyk(76.4%, 0%, 78.1%, 30.2%)
CIE-LABlab(63.74, -60.65, 56.30)
CIE-LCHlch(63.74, 82.76, 137.13°)
OKLaboklab(66.75% -0.1648 0.126)
OKLCHoklch(66.75% 0.207 142.6)
XYZxyz(17.2404, 32.4775, 7.2792)
Luminance0.3248 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2AB227 #AF27B2
analogous
#70B227 #2AB227 #27B269
triadic
#2AB227 #272AB2 #B2272A
tetradic
#2AB227 #2770B2 #AF27B2 #B26927
square
#2AB227 #2770B2 #AF27B2 #B26927
split-complementary
#2AB227 #6927B2 #B22770
monochromatic
#124E11 #1E801C #2AB227 #44D541 #75E073

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##2AB227#FFFFFF#000000##000000
##2AB2271.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)
#B6A100
Deuteranopia (green-blind)
#A79637
Tritanopia (blue-blind)
#00AD98
Achromatopsia (no color)
#9A9A9A

Design tokens & code

CSS
--color: #2ab227;
/* rgb */ color: rgb(42, 178, 39);
/* oklch */ color: oklch(66.8% 0.207 142.6);
Tailwind
colors: {
  custom: {
    50: '#7bca6c',
    500: '#2ab227',
    950: '#000000',
  },
}
SCSS
$custom: #2ab227;
$custom-light: #7bca6c;
$custom-dark: #000000;
JSON
{
  "hex": "#2ab227",
  "rgb": {
    "r": 42,
    "g": 178,
    "b": 39
  },
  "hsl": {
    "h": 118.705,
    "s": 64.055,
    "l": 42.549
  },
  "oklch": {
    "l": 0.66754,
    "c": 0.20743,
    "h": 142.6
  },
  "luminance": 0.3248
}

Semantic roles & 50–950 ramp

primary
#2AB227
secondary
#C66DC8
accent
#41E7E3
background
#F8FCF6
surface
#EFF9EC
border
#CAD2C7
text
#0B1307
muted
#7C827A

Preview Lab

Preview with #2AB227

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

Preview Lab → · Contrast checker → · Palette generator →

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