#2A9E52#2A9E52

#2A9E52 is a mid, vivid green. Relative luminance 0.256; OKLCH L 61.8% C 0.151 H 150.3°. Best body text is #000000 at 6.11:1 contrast (WCAG AA passes).

Color values

HEX#2A9E52
RGBrgb(42, 158, 82)
HSLhsl(141, 58%, 39%)
HSVhsv(141, 73%, 62%)
CMYKcmyk(73.4%, 0%, 48.1%, 38%)
CIE-LABlab(57.61, -48.88, 30.66)
CIE-LCHlch(57.61, 57.70, 147.90°)
OKLaboklab(61.81% -0.1315 0.0749)
OKLCHoklch(61.81% 0.151 150.3)
XYZxyz(14.7035, 25.5535, 12.1384)
Luminance0.2555 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2A9E52 #9E2A76
analogous
#3C9E2A #2A9E52 #2A9E8C
triadic
#2A9E52 #522A9E #9E522A
tetradic
#2A9E52 #2A3C9E #9E2A76 #9E8C2A
square
#2A9E52 #2A3C9E #9E2A76 #9E8C2A
split-complementary
#2A9E52 #8C2A9E #9E2A3C
monochromatic
#103D20 #1D6E39 #2A9E52 #3ACB6C #6BD890

Accessibility & contrast

On white

3.44
#2A9E52 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.11
#2A9E52 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #2A9E52
6.11:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2A9E52#FFFFFF#000000##000000
##2A9E521.003.446.116.11
#FFFFFF3.441.0021.0021.00
#0000006.1121.001.001.00
##0000006.1121.001.001.00

Color blindness preview

Protanopia (red-blind)
#9F904C
Deuteranopia (green-blind)
#918757
Tritanopia (blue-blind)
#009B8C
Achromatopsia (no color)
#8A8A8A

Design tokens & code

CSS
--color: #2a9e52;
/* rgb */ color: rgb(42, 158, 82);
/* oklch */ color: oklch(61.8% 0.151 150.3);
Tailwind
colors: {
  custom: {
    50: '#75bc84',
    500: '#2a9e52',
    950: '#000000',
  },
}
SCSS
$custom: #2a9e52;
$custom-light: #75bc84;
$custom-dark: #000000;
JSON
{
  "hex": "#2a9e52",
  "rgb": {
    "r": 42,
    "g": 158,
    "b": 82
  },
  "hsl": {
    "h": 140.69,
    "s": 58,
    "l": 39.216
  },
  "oklch": {
    "l": 0.61808,
    "c": 0.15134,
    "h": 150.3
  },
  "luminance": 0.25555
}

Semantic roles & 50–950 ramp

primary
#2A9E52
secondary
#BE66A0
accent
#47ACE1
background
#F7FBF8
surface
#EEF6EF
border
#C9D0CA
text
#09120B
muted
#7B817C

Preview Lab

Preview with #2A9E52

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

Preview Lab → · Contrast checker → · Palette generator →

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