#2AB038#2AB038

#2AB038 is a light, vivid green. Relative luminance 0.318; OKLCH L 66.3% C 0.195 H 144.3°. Best body text is #000000 at 7.37:1 contrast (WCAG AA passes).

Color values

HEX#2AB038
RGBrgb(42, 176, 56)
HSLhsl(126, 61%, 43%)
HSVhsv(126, 76%, 69%)
CMYKcmyk(76.1%, 0%, 68.2%, 31%)
CIE-LABlab(63.20, -58.60, 49.50)
CIE-LCHlch(63.20, 76.71, 139.81°)
OKLaboklab(66.35% -0.1584 0.114)
OKLCHoklch(66.35% 0.195 144.3)
XYZxyz(17.1928, 31.8264, 8.9776)
Luminance0.3183 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2AB038 #B02AA2
analogous
#5FB02A #2AB038 #2AB07B
triadic
#2AB038 #382AB0 #B0382A
tetradic
#2AB038 #2A5FB0 #B02AA2 #B07B2A
square
#2AB038 #2A5FB0 #B02AA2 #B07B2A
split-complementary
#2AB038 #7B2AB0 #B02A5F
monochromatic
#124D19 #1E7F28 #2AB038 #45D353 #76DE81

Accessibility & contrast

On white

2.85
#2AB038 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.37
#2AB038 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #2AB038
7.37:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2AB038#FFFFFF#000000##000000
##2AB0381.002.857.377.37
#FFFFFF2.851.0021.0021.00
#0000007.3721.001.001.00
##0000007.3721.001.001.00

Color blindness preview

Protanopia (red-blind)
#B39F27
Deuteranopia (green-blind)
#A49543
Tritanopia (blue-blind)
#00AB98
Achromatopsia (no color)
#999999

Design tokens & code

CSS
--color: #2ab038;
/* rgb */ color: rgb(42, 176, 56);
/* oklch */ color: oklch(66.3% 0.195 144.3);
Tailwind
colors: {
  custom: {
    50: '#7ac975',
    500: '#2ab038',
    950: '#000000',
  },
}
SCSS
$custom: #2ab038;
$custom-light: #7ac975;
$custom-dark: #000000;
JSON
{
  "hex": "#2ab038",
  "rgb": {
    "r": 42,
    "g": 176,
    "b": 56
  },
  "hsl": {
    "h": 126.269,
    "s": 61.468,
    "l": 42.745
  },
  "oklch": {
    "l": 0.66345,
    "c": 0.19515,
    "h": 144.3
  },
  "luminance": 0.31828
}

Semantic roles & 50–950 ramp

primary
#2AB038
secondary
#C670BD
accent
#43D4E5
background
#F8FCF7
surface
#EFF8ED
border
#CAD1C8
text
#0B1309
muted
#7C827B

Preview Lab

Preview with #2AB038

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

Preview Lab → · Contrast checker → · Palette generator →

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