#2A9951#2A9951

#2A9951 is a mid, vivid green. Relative luminance 0.239; OKLCH L 60.4% C 0.146 H 150.7°. Best body text is #000000 at 5.77:1 contrast (WCAG AA passes).

Color values

HEX#2A9951
RGBrgb(42, 153, 81)
HSLhsl(141, 57%, 38%)
HSVhsv(141, 73%, 60%)
CMYKcmyk(72.5%, 0%, 47.1%, 40%)
CIE-LABlab(55.95, -47.16, 29.08)
CIE-LCHlch(55.95, 55.41, 148.34°)
OKLaboklab(60.44% -0.1269 0.0713)
OKLCHoklch(60.44% 0.146 150.7)
XYZxyz(13.8301, 23.8672, 11.6609)
Luminance0.2387 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2A9951 #992A72
analogous
#3A992A #2A9951 #2A9988
triadic
#2A9951 #512A99 #99512A
tetradic
#2A9951 #2A3A99 #992A72 #99882A
square
#2A9951 #2A3A99 #992A72 #99882A
split-complementary
#2A9951 #882A99 #992A3A
monochromatic
#10391E #1D6938 #2A9951 #38C86B #68D68E

Accessibility & contrast

On white

3.64
#2A9951 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.77
#2A9951 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #2A9951
5.77:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2A9951#FFFFFF#000000##000000
##2A99511.003.645.775.77
#FFFFFF3.641.0021.0021.00
#0000005.7721.001.001.00
##0000005.7721.001.001.00

Color blindness preview

Protanopia (red-blind)
#9A8C4B
Deuteranopia (green-blind)
#8C8256
Tritanopia (blue-blind)
#009688
Achromatopsia (no color)
#868686

Design tokens & code

CSS
--color: #2a9951;
/* rgb */ color: rgb(42, 153, 81);
/* oklch */ color: oklch(60.4% 0.146 150.7);
Tailwind
colors: {
  custom: {
    50: '#74b883',
    500: '#2a9951',
    950: '#000000',
  },
}
SCSS
$custom: #2a9951;
$custom-light: #74b883;
$custom-dark: #000000;
JSON
{
  "hex": "#2a9951",
  "rgb": {
    "r": 42,
    "g": 153,
    "b": 81
  },
  "hsl": {
    "h": 141.081,
    "s": 56.923,
    "l": 38.235
  },
  "oklch": {
    "l": 0.60435,
    "c": 0.14558,
    "h": 150.7
  },
  "luminance": 0.23869
}

Semantic roles & 50–950 ramp

primary
#2A9951
secondary
#BC639D
accent
#48ABE0
background
#F7FBF8
surface
#EDF6EF
border
#C8D0CA
text
#09110A
muted
#7B807C

Preview Lab

Preview with #2A9951

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

Preview Lab → · Contrast checker → · Palette generator →

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