#2A9751#2A9751

#2A9751 is a mid, vivid green. Relative luminance 0.232; OKLCH L 59.9% C 0.143 H 151.0°. Best body text is #000000 at 5.64:1 contrast (WCAG AA passes).

Color values

HEX#2A9751
RGBrgb(42, 151, 81)
HSLhsl(141, 56%, 38%)
HSVhsv(141, 72%, 59%)
CMYKcmyk(72.2%, 0%, 46.4%, 40.8%)
CIE-LABlab(55.30, -46.40, 28.24)
CIE-LCHlch(55.30, 54.32, 148.67°)
OKLaboklab(59.89% -0.1249 0.0693)
OKLCHoklch(59.89% 0.143 151)
XYZxyz(13.5055, 23.2180, 11.5527)
Luminance0.2322 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2A9751 #972A70
analogous
#39972A #2A9751 #2A9787
triadic
#2A9751 #512A97 #97512A
tetradic
#2A9751 #2A3997 #972A70 #97872A
square
#2A9751 #2A3997 #972A70 #97872A
split-complementary
#2A9751 #872A97 #972A39
monochromatic
#0F371E #1D6737 #2A9751 #37C76B #67D58E

Accessibility & contrast

On white

3.72
#2A9751 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.64
#2A9751 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #2A9751
5.64:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2A9751#FFFFFF#000000##000000
##2A97511.003.725.645.64
#FFFFFF3.721.0021.0021.00
#0000005.6421.001.001.00
##0000005.6421.001.001.00

Color blindness preview

Protanopia (red-blind)
#988A4C
Deuteranopia (green-blind)
#8A8156
Tritanopia (blue-blind)
#009586
Achromatopsia (no color)
#848484

Design tokens & code

CSS
--color: #2a9751;
/* rgb */ color: rgb(42, 151, 81);
/* oklch */ color: oklch(59.9% 0.143 151.0);
Tailwind
colors: {
  custom: {
    50: '#73b683',
    500: '#2a9751',
    950: '#000000',
  },
}
SCSS
$custom: #2a9751;
$custom-light: #73b683;
$custom-dark: #000000;
JSON
{
  "hex": "#2a9751",
  "rgb": {
    "r": 42,
    "g": 151,
    "b": 81
  },
  "hsl": {
    "h": 141.468,
    "s": 56.477,
    "l": 37.843
  },
  "oklch": {
    "l": 0.59892,
    "c": 0.14287,
    "h": 151
  },
  "luminance": 0.2322
}

Semantic roles & 50–950 ramp

primary
#2A9751
secondary
#BB629B
accent
#48A9E0
background
#F7FBF8
surface
#EDF6EF
border
#C8D0CA
text
#09110A
muted
#7B807C

Preview Lab

Preview with #2A9751

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

Preview Lab → · Contrast checker → · Palette generator →

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