#2AB338#2AB338

#2AB338 is a light, vivid green. Relative luminance 0.330; OKLCH L 67.2% C 0.199 H 144.2°. Best body text is #000000 at 7.60:1 contrast (WCAG AA passes).

Color values

HEX#2AB338
RGBrgb(42, 179, 56)
HSLhsl(126, 62%, 43%)
HSVhsv(126, 77%, 70%)
CMYKcmyk(76.5%, 0%, 68.7%, 29.8%)
CIE-LABlab(64.17, -59.58, 50.55)
CIE-LCHlch(64.17, 78.13, 139.69°)
OKLaboklab(67.15% -0.1611 0.1162)
OKLCHoklch(67.15% 0.199 144.2)
XYZxyz(17.7876, 33.0159, 9.1759)
Luminance0.3302 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2AB338 #B32AA5
analogous
#61B32A #2AB338 #2AB37C
triadic
#2AB338 #382AB3 #B3382A
tetradic
#2AB338 #2A61B3 #B32AA5 #B37C2A
square
#2AB338 #2A61B3 #B32AA5 #B37C2A
split-complementary
#2AB338 #7C2AB3 #B32A61
monochromatic
#135019 #1E8128 #2AB338 #46D455 #78DF83

Accessibility & contrast

On white

2.76
#2AB338 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.60
#2AB338 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #2AB338
7.60:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2AB338#FFFFFF#000000##000000
##2AB3381.002.767.607.60
#FFFFFF2.761.0021.0021.00
#0000007.6021.001.001.00
##0000007.6021.001.001.00

Color blindness preview

Protanopia (red-blind)
#B6A226
Deuteranopia (green-blind)
#A79744
Tritanopia (blue-blind)
#00AE9A
Achromatopsia (no color)
#9C9C9C

Design tokens & code

CSS
--color: #2ab338;
/* rgb */ color: rgb(42, 179, 56);
/* oklch */ color: oklch(67.2% 0.199 144.2);
Tailwind
colors: {
  custom: {
    50: '#7bcb75',
    500: '#2ab338',
    950: '#000000',
  },
}
SCSS
$custom: #2ab338;
$custom-light: #7bcb75;
$custom-dark: #000000;
JSON
{
  "hex": "#2ab338",
  "rgb": {
    "r": 42,
    "g": 179,
    "b": 56
  },
  "hsl": {
    "h": 126.131,
    "s": 61.991,
    "l": 43.333
  },
  "oklch": {
    "l": 0.67154,
    "c": 0.1986,
    "h": 144.2
  },
  "luminance": 0.33018
}

Semantic roles & 50–950 ramp

primary
#2AB338
secondary
#C772BE
accent
#43D4E5
background
#F8FCF7
surface
#EFF9ED
border
#CAD2C8
text
#0B1309
muted
#7C827B

Preview Lab

Preview with #2AB338

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

Preview Lab → · Contrast checker → · Palette generator →

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