#2A9E51#2A9E51

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

Color values

HEX#2A9E51
RGBrgb(42, 158, 81)
HSLhsl(140, 58%, 39%)
HSVhsv(140, 73%, 62%)
CMYKcmyk(73.4%, 0%, 48.7%, 38%)
CIE-LABlab(57.60, -49.05, 31.16)
CIE-LCHlch(57.60, 58.11, 147.57°)
OKLaboklab(61.79% -0.132 0.076)
OKLCHoklch(61.79% 0.152 150.1)
XYZxyz(14.6657, 25.5384, 11.9395)
Luminance0.2554 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2A9E51 #9E2A77
analogous
#3D9E2A #2A9E51 #2A9E8B
triadic
#2A9E51 #512A9E #9E512A
tetradic
#2A9E51 #2A3D9E #9E2A77 #9E8B2A
square
#2A9E51 #2A3D9E #9E2A77 #9E8B2A
split-complementary
#2A9E51 #8B2A9E #9E2A3D
monochromatic
#103D1F #1D6E38 #2A9E51 #3ACB6B #6BD88F

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##2A9E51#FFFFFF#000000##000000
##2A9E511.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)
#9F904B
Deuteranopia (green-blind)
#918656
Tritanopia (blue-blind)
#009B8C
Achromatopsia (no color)
#8A8A8A

Design tokens & code

CSS
--color: #2a9e51;
/* rgb */ color: rgb(42, 158, 81);
/* oklch */ color: oklch(61.8% 0.152 150.1);
Tailwind
colors: {
  custom: {
    50: '#75bc83',
    500: '#2a9e51',
    950: '#000000',
  },
}
SCSS
$custom: #2a9e51;
$custom-light: #75bc83;
$custom-dark: #000000;
JSON
{
  "hex": "#2a9e51",
  "rgb": {
    "r": 42,
    "g": 158,
    "b": 81
  },
  "hsl": {
    "h": 140.172,
    "s": 58,
    "l": 39.216
  },
  "oklch": {
    "l": 0.61792,
    "c": 0.15228,
    "h": 150.1
  },
  "luminance": 0.2554
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #2A9E51

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

Preview Lab → · Contrast checker → · Palette generator →

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