#2A9752#2A9752

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

Color values

HEX#2A9752
RGBrgb(42, 151, 82)
HSLhsl(142, 56%, 38%)
HSVhsv(142, 72%, 59%)
CMYKcmyk(72.2%, 0%, 45.7%, 40.8%)
CIE-LABlab(55.31, -46.22, 27.73)
CIE-LCHlch(55.31, 53.90, 149.04°)
OKLaboklab(59.91% -0.1245 0.0682)
OKLCHoklch(59.91% 0.142 151.3)
XYZxyz(13.5433, 23.2331, 11.7517)
Luminance0.2324 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2A9752 #972A6F
analogous
#39972A #2A9752 #2A9788
triadic
#2A9752 #522A97 #97522A
tetradic
#2A9752 #2A3997 #972A6F #97882A
square
#2A9752 #2A3997 #972A6F #97882A
split-complementary
#2A9752 #882A97 #972A39
monochromatic
#0F371E #1D6738 #2A9752 #37C76C #67D58F

Accessibility & contrast

On white

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

On black

5.65
#2A9752 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #2A9752
5.65:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2A9752#FFFFFF#000000##000000
##2A97521.003.725.655.65
#FFFFFF3.721.0021.0021.00
#0000005.6521.001.001.00
##0000005.6521.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #2a9752;
/* rgb */ color: rgb(42, 151, 82);
/* oklch */ color: oklch(59.9% 0.142 151.3);
Tailwind
colors: {
  custom: {
    50: '#73b683',
    500: '#2a9752',
    950: '#000000',
  },
}
SCSS
$custom: #2a9752;
$custom-light: #73b683;
$custom-dark: #000000;
JSON
{
  "hex": "#2a9752",
  "rgb": {
    "r": 42,
    "g": 151,
    "b": 82
  },
  "hsl": {
    "h": 142.018,
    "s": 56.477,
    "l": 37.843
  },
  "oklch": {
    "l": 0.5991,
    "c": 0.14192,
    "h": 151.3
  },
  "luminance": 0.23235
}

Semantic roles & 50–950 ramp

primary
#2A9752
secondary
#BB629A
accent
#48A8E0
background
#F7FBF8
surface
#EDF6EF
border
#C8D0CA
text
#09110B
muted
#7B807C

Preview Lab

Preview with #2A9752

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

Preview Lab → · Contrast checker → · Palette generator →

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