#2A9E42#2A9E42

#2A9E42 is a mid, vivid green. Relative luminance 0.253; OKLCH L 61.6% C 0.166 H 146.5°. Best body text is #000000 at 6.07:1 contrast (WCAG AA passes).

Color values

HEX#2A9E42
RGBrgb(42, 158, 66)
HSLhsl(132, 58%, 39%)
HSVhsv(132, 73%, 62%)
CMYKcmyk(73.4%, 0%, 58.2%, 38%)
CIE-LABlab(57.40, -51.31, 38.49)
CIE-LCHlch(57.40, 64.14, 143.13°)
OKLaboklab(61.57% -0.1383 0.0914)
OKLCHoklch(61.57% 0.166 146.5)
XYZxyz(14.1640, 25.3377, 9.2974)
Luminance0.2534 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2A9E42 #9E2A86
analogous
#4C9E2A #2A9E42 #2A9E7C
triadic
#2A9E42 #422A9E #9E422A
tetradic
#2A9E42 #2A4C9E #9E2A86 #9E7C2A
square
#2A9E42 #2A4C9E #9E2A86 #9E7C2A
split-complementary
#2A9E42 #7C2A9E #9E2A4C
monochromatic
#103D1A #1D6E2E #2A9E42 #3ACB58 #6BD881

Accessibility & contrast

On white

3.46
#2A9E42 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.07
#2A9E42 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #2A9E42
6.07:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2A9E42#FFFFFF#000000##000000
##2A9E421.003.466.076.07
#FFFFFF3.461.0021.0021.00
#0000006.0721.001.001.00
##0000006.0721.001.001.00

Color blindness preview

Protanopia (red-blind)
#A09039
Deuteranopia (green-blind)
#938649
Tritanopia (blue-blind)
#009A8A
Achromatopsia (no color)
#8A8A8A

Design tokens & code

CSS
--color: #2a9e42;
/* rgb */ color: rgb(42, 158, 66);
/* oklch */ color: oklch(61.6% 0.166 146.5);
Tailwind
colors: {
  custom: {
    50: '#75bc79',
    500: '#2a9e42',
    950: '#000000',
  },
}
SCSS
$custom: #2a9e42;
$custom-light: #75bc79;
$custom-dark: #000000;
JSON
{
  "hex": "#2a9e42",
  "rgb": {
    "r": 42,
    "g": 158,
    "b": 66
  },
  "hsl": {
    "h": 132.414,
    "s": 58,
    "l": 39.216
  },
  "oklch": {
    "l": 0.61569,
    "c": 0.16574,
    "h": 146.5
  },
  "luminance": 0.25339
}

Semantic roles & 50–950 ramp

primary
#2A9E42
secondary
#BE66AC
accent
#47C1E1
background
#F7FBF7
surface
#EEF6ED
border
#C9D0C8
text
#0A1209
muted
#7C817B

Preview Lab

Preview with #2A9E42

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

Preview Lab → · Contrast checker → · Palette generator →

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