#2AB938#2AB938

#2AB938 is a light, highly saturated green. Relative luminance 0.355; OKLCH L 68.8% C 0.205 H 144.1°. Best body text is #000000 at 8.10:1 contrast (WCAG AA passes).

Color values

HEX#2AB938
RGBrgb(42, 185, 56)
HSLhsl(126, 63%, 45%)
HSVhsv(126, 77%, 73%)
CMYKcmyk(77.3%, 0%, 69.7%, 27.5%)
CIE-LABlab(66.12, -61.51, 52.61)
CIE-LCHlch(66.12, 80.94, 139.46°)
OKLaboklab(68.77% -0.1663 0.1205)
OKLCHoklch(68.77% 0.205 144.1)
XYZxyz(19.0163, 35.4734, 9.5855)
Luminance0.3548 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2AB938 #B92AAB
analogous
#64B92A #2AB938 #2AB980
triadic
#2AB938 #382AB9 #B9382A
tetradic
#2AB938 #2A64B9 #B92AAB #B9802A
square
#2AB938 #2A64B9 #B92AAB #B9802A
split-complementary
#2AB938 #802AB9 #B92A64
monochromatic
#13551A #1F8729 #2AB938 #4AD658 #7CE186

Accessibility & contrast

On white

2.59
#2AB938 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.10
#2AB938 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #2AB938
8.10:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2AB938#FFFFFF#000000##000000
##2AB9381.002.598.108.10
#FFFFFF2.591.0021.0021.00
#0000008.1021.001.001.00
##0000008.1021.001.001.00

Color blindness preview

Protanopia (red-blind)
#BDA725
Deuteranopia (green-blind)
#AD9C45
Tritanopia (blue-blind)
#00B49F
Achromatopsia (no color)
#A1A1A1

Design tokens & code

CSS
--color: #2ab938;
/* rgb */ color: rgb(42, 185, 56);
/* oklch */ color: oklch(68.8% 0.205 144.1);
Tailwind
colors: {
  custom: {
    50: '#7ccf75',
    500: '#2ab938',
    950: '#000000',
  },
}
SCSS
$custom: #2ab938;
$custom-light: #7ccf75;
$custom-dark: #000000;
JSON
{
  "hex": "#2ab938",
  "rgb": {
    "r": 42,
    "g": 185,
    "b": 56
  },
  "hsl": {
    "h": 125.874,
    "s": 62.996,
    "l": 44.51
  },
  "oklch": {
    "l": 0.68767,
    "c": 0.20538,
    "h": 144.1
  },
  "luminance": 0.35476
}

Semantic roles & 50–950 ramp

primary
#2AB938
secondary
#CA75C1
accent
#42D6E6
background
#F8FCF7
surface
#EFF9ED
border
#CAD2C8
text
#0B1409
muted
#7C827B

Preview Lab

Preview with #2AB938

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

Preview Lab → · Contrast checker → · Palette generator →

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