#2A9729#2A9729

#2A9729 is a mid, vivid green. Relative luminance 0.228; OKLCH L 59.4% C 0.176 H 142.8°. Best body text is #000000 at 5.56:1 contrast (WCAG AA passes).

Color values

HEX#2A9729
RGBrgb(42, 151, 41)
HSLhsl(119, 57%, 38%)
HSVhsv(119, 73%, 59%)
CMYKcmyk(72.2%, 0%, 72.8%, 40.8%)
CIE-LABlab(54.85, -51.65, 46.73)
CIE-LCHlch(54.85, 69.65, 137.87°)
OKLaboklab(59.38% -0.1403 0.1063)
OKLCHoklch(59.38% 0.176 142.8)
XYZxyz(12.4209, 22.7842, 5.8406)
Luminance0.2279 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2A9729 #962997
analogous
#619729 #2A9729 #29975F
triadic
#2A9729 #292A97 #97292A
tetradic
#2A9729 #296197 #962997 #975F29
square
#2A9729 #296197 #962997 #975F29
split-complementary
#2A9729 #5F2997 #972961
monochromatic
#0F370F #1D671C #2A9729 #37C736 #66D565

Accessibility & contrast

On white

3.78
#2A9729 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.56
#2A9729 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #2A9729
5.56:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2A9729#FFFFFF#000000##000000
##2A97291.003.785.565.56
#FFFFFF3.781.0021.0021.00
#0000005.5621.001.001.00
##0000005.5621.001.001.00

Color blindness preview

Protanopia (red-blind)
#9A8917
Deuteranopia (green-blind)
#8E8034
Tritanopia (blue-blind)
#049281
Achromatopsia (no color)
#838383

Design tokens & code

CSS
--color: #2a9729;
/* rgb */ color: rgb(42, 151, 41);
/* oklch */ color: oklch(59.4% 0.176 142.8);
Tailwind
colors: {
  custom: {
    50: '#75b76a',
    500: '#2a9729',
    950: '#000000',
  },
}
SCSS
$custom: #2a9729;
$custom-light: #75b76a;
$custom-dark: #000000;
JSON
{
  "hex": "#2a9729",
  "rgb": {
    "r": 42,
    "g": 151,
    "b": 41
  },
  "hsl": {
    "h": 119.455,
    "s": 57.292,
    "l": 37.647
  },
  "oklch": {
    "l": 0.59377,
    "c": 0.176,
    "h": 142.8
  },
  "luminance": 0.22786
}

Semantic roles & 50–950 ramp

primary
#2A9729
secondary
#BA61BB
accent
#47E1DF
background
#F7FBF6
surface
#EEF6EB
border
#C9D0C6
text
#0A1107
muted
#7C807A

Preview Lab

Preview with #2A9729

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

Preview Lab → · Contrast checker → · Palette generator →

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