#2AB438#2AB438

#2AB438 is a light, vivid green. Relative luminance 0.334; OKLCH L 67.4% C 0.200 H 144.2°. Best body text is #000000 at 7.68:1 contrast (WCAG AA passes).

Color values

HEX#2AB438
RGBrgb(42, 180, 56)
HSLhsl(126, 62%, 44%)
HSVhsv(126, 77%, 71%)
CMYKcmyk(76.7%, 0%, 68.9%, 29.4%)
CIE-LABlab(64.50, -59.90, 50.89)
CIE-LCHlch(64.50, 78.60, 139.65°)
OKLaboklab(67.42% -0.162 0.1169)
OKLCHoklch(67.42% 0.2 144.2)
XYZxyz(17.9887, 33.4182, 9.2429)
Luminance0.3342 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2AB438 #B42AA6
analogous
#61B42A #2AB438 #2AB47D
triadic
#2AB438 #382AB4 #B4382A
tetradic
#2AB438 #2A61B4 #B42AA6 #B47D2A
square
#2AB438 #2A61B4 #B42AA6 #B47D2A
split-complementary
#2AB438 #7D2AB4 #B42A61
monochromatic
#135119 #1E8229 #2AB438 #47D455 #79E083

Accessibility & contrast

On white

2.73
#2AB438 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.68
#2AB438 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #2AB438
7.68:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2AB438#FFFFFF#000000##000000
##2AB4381.002.737.687.68
#FFFFFF2.731.0021.0021.00
#0000007.6821.001.001.00
##0000007.6821.001.001.00

Color blindness preview

Protanopia (red-blind)
#B7A326
Deuteranopia (green-blind)
#A89844
Tritanopia (blue-blind)
#00AF9B
Achromatopsia (no color)
#9C9C9C

Design tokens & code

CSS
--color: #2ab438;
/* rgb */ color: rgb(42, 180, 56);
/* oklch */ color: oklch(67.4% 0.200 144.2);
Tailwind
colors: {
  custom: {
    50: '#7bcc75',
    500: '#2ab438',
    950: '#000000',
  },
}
SCSS
$custom: #2ab438;
$custom-light: #7bcc75;
$custom-dark: #000000;
JSON
{
  "hex": "#2ab438",
  "rgb": {
    "r": 42,
    "g": 180,
    "b": 56
  },
  "hsl": {
    "h": 126.087,
    "s": 62.162,
    "l": 43.529
  },
  "oklch": {
    "l": 0.67424,
    "c": 0.19973,
    "h": 144.2
  },
  "luminance": 0.3342
}

Semantic roles & 50–950 ramp

primary
#2AB438
secondary
#C872BF
accent
#43D5E5
background
#F8FCF7
surface
#EFF9ED
border
#CAD2C8
text
#0B1309
muted
#7C827B

Preview Lab

Preview with #2AB438

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

Preview Lab → · Contrast checker → · Palette generator →

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