#2A9D51#2A9D51

#2A9D51 is a mid, vivid green. Relative luminance 0.252; OKLCH L 61.5% C 0.151 H 150.2°. Best body text is #000000 at 6.04:1 contrast (WCAG AA passes).

Color values

HEX#2A9D51
RGBrgb(42, 157, 81)
HSLhsl(140, 58%, 39%)
HSVhsv(140, 73%, 62%)
CMYKcmyk(73.2%, 0%, 48.4%, 38.4%)
CIE-LABlab(57.27, -48.67, 30.75)
CIE-LCHlch(57.27, 57.57, 147.72°)
OKLaboklab(61.52% -0.131 0.0751)
OKLCHoklch(61.52% 0.151 150.2)
XYZxyz(14.4958, 25.1986, 11.8828)
Luminance0.2520 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2A9D51 #9D2A76
analogous
#3D9D2A #2A9D51 #2A9D8B
triadic
#2A9D51 #512A9D #9D512A
tetradic
#2A9D51 #2A3D9D #9D2A76 #9D8B2A
square
#2A9D51 #2A3D9D #9D2A76 #9D8B2A
split-complementary
#2A9D51 #8B2A9D #9D2A3D
monochromatic
#103C1F #1D6D38 #2A9D51 #3ACA6B #6AD78F

Accessibility & contrast

On white

3.48
#2A9D51 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.04
#2A9D51 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #2A9D51
6.04:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2A9D51#FFFFFF#000000##000000
##2A9D511.003.486.046.04
#FFFFFF3.481.0021.0021.00
#0000006.0421.001.001.00
##0000006.0421.001.001.00

Color blindness preview

Protanopia (red-blind)
#9E8F4B
Deuteranopia (green-blind)
#908656
Tritanopia (blue-blind)
#009A8B
Achromatopsia (no color)
#898989

Design tokens & code

CSS
--color: #2a9d51;
/* rgb */ color: rgb(42, 157, 81);
/* oklch */ color: oklch(61.5% 0.151 150.2);
Tailwind
colors: {
  custom: {
    50: '#74bb83',
    500: '#2a9d51',
    950: '#000000',
  },
}
SCSS
$custom: #2a9d51;
$custom-light: #74bb83;
$custom-dark: #000000;
JSON
{
  "hex": "#2a9d51",
  "rgb": {
    "r": 42,
    "g": 157,
    "b": 81
  },
  "hsl": {
    "h": 140.348,
    "s": 57.789,
    "l": 39.02
  },
  "oklch": {
    "l": 0.61521,
    "c": 0.15095,
    "h": 150.2
  },
  "luminance": 0.252
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #2A9D51

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

Preview Lab → · Contrast checker → · Palette generator →

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