#2AB431#2AB431

#2AB431 is a light, highly saturated green. Relative luminance 0.334; OKLCH L 67.4% C 0.204 H 143.4°. Best body text is #000000 at 7.67:1 contrast (WCAG AA passes).

Color values

HEX#2AB431
RGBrgb(42, 180, 49)
HSLhsl(123, 62%, 44%)
HSVhsv(123, 77%, 71%)
CMYKcmyk(76.7%, 0%, 72.8%, 29.4%)
CIE-LABlab(64.45, -60.53, 53.55)
CIE-LCHlch(64.45, 80.82, 138.50°)
OKLaboklab(67.36% -0.164 0.1216)
OKLCHoklch(67.36% 0.204 143.4)
XYZxyz(17.8293, 33.3544, 8.4035)
Luminance0.3336 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2AB431 #B42AAD
analogous
#68B42A #2AB431 #2AB476
triadic
#2AB431 #312AB4 #B4312A
tetradic
#2AB431 #2A68B4 #B42AAD #B4762A
square
#2AB431 #2A68B4 #B42AAD #B4762A
split-complementary
#2AB431 #762AB4 #B42A68
monochromatic
#135116 #1E8223 #2AB431 #47D44E #79E07E

Accessibility & contrast

On white

2.74
#2AB431 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.67
#2AB431 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #2AB431
7.67:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2AB431#FFFFFF#000000##000000
##2AB4311.002.747.677.67
#FFFFFF2.741.0021.0021.00
#0000007.6721.001.001.00
##0000007.6721.001.001.00

Color blindness preview

Protanopia (red-blind)
#B8A31A
Deuteranopia (green-blind)
#A9983F
Tritanopia (blue-blind)
#00AF9A
Achromatopsia (no color)
#9C9C9C

Design tokens & code

CSS
--color: #2ab431;
/* rgb */ color: rgb(42, 180, 49);
/* oklch */ color: oklch(67.4% 0.204 143.4);
Tailwind
colors: {
  custom: {
    50: '#7bcc71',
    500: '#2ab431',
    950: '#000000',
  },
}
SCSS
$custom: #2ab431;
$custom-light: #7bcc71;
$custom-dark: #000000;
JSON
{
  "hex": "#2ab431",
  "rgb": {
    "r": 42,
    "g": 180,
    "b": 49
  },
  "hsl": {
    "h": 123.043,
    "s": 62.162,
    "l": 43.529
  },
  "oklch": {
    "l": 0.67365,
    "c": 0.20414,
    "h": 143.4
  },
  "luminance": 0.33357
}

Semantic roles & 50–950 ramp

primary
#2AB431
secondary
#C872C3
accent
#43DDE5
background
#F8FCF7
surface
#EFF9ED
border
#CAD2C8
text
#0B1308
muted
#7C827B

Preview Lab

Preview with #2AB431

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

Preview Lab → · Contrast checker → · Palette generator →

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