#2A9947#2A9947

#2A9947 is a mid, vivid green. Relative luminance 0.237; OKLCH L 60.3% C 0.155 H 148.0°. Best body text is #000000 at 5.75:1 contrast (WCAG AA passes).

Color values

HEX#2A9947
RGBrgb(42, 153, 71)
HSLhsl(136, 57%, 38%)
HSVhsv(136, 73%, 60%)
CMYKcmyk(72.5%, 0%, 53.6%, 40%)
CIE-LABlab(55.81, -48.78, 34.10)
CIE-LCHlch(55.81, 59.52, 145.05°)
OKLaboklab(60.27% -0.1313 0.0821)
OKLCHoklch(60.27% 0.155 148)
XYZxyz(13.4824, 23.7281, 9.8295)
Luminance0.2373 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2A9947 #992A7C
analogous
#44992A #2A9947 #2A997E
triadic
#2A9947 #472A99 #99472A
tetradic
#2A9947 #2A4499 #992A7C #997E2A
square
#2A9947 #2A4499 #992A7C #997E2A
split-complementary
#2A9947 #7E2A99 #992A44
monochromatic
#10391A #1D6931 #2A9947 #38C85E #68D685

Accessibility & contrast

On white

3.65
#2A9947 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.75
#2A9947 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #2A9947
5.75:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2A9947#FFFFFF#000000##000000
##2A99471.003.655.755.75
#FFFFFF3.651.0021.0021.00
#0000005.7521.001.001.00
##0000005.7521.001.001.00

Color blindness preview

Protanopia (red-blind)
#9B8B40
Deuteranopia (green-blind)
#8D824D
Tritanopia (blue-blind)
#009686
Achromatopsia (no color)
#868686

Design tokens & code

CSS
--color: #2a9947;
/* rgb */ color: rgb(42, 153, 71);
/* oklch */ color: oklch(60.3% 0.155 148.0);
Tailwind
colors: {
  custom: {
    50: '#74b87c',
    500: '#2a9947',
    950: '#000000',
  },
}
SCSS
$custom: #2a9947;
$custom-light: #74b87c;
$custom-dark: #000000;
JSON
{
  "hex": "#2a9947",
  "rgb": {
    "r": 42,
    "g": 153,
    "b": 71
  },
  "hsl": {
    "h": 135.676,
    "s": 56.923,
    "l": 38.235
  },
  "oklch": {
    "l": 0.60274,
    "c": 0.15489,
    "h": 148
  },
  "luminance": 0.2373
}

Semantic roles & 50–950 ramp

primary
#2A9947
secondary
#BC63A5
accent
#48B8E0
background
#F7FBF7
surface
#EEF6EE
border
#C9D0C9
text
#091109
muted
#7B807B

Preview Lab

Preview with #2A9947

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

Preview Lab → · Contrast checker → · Palette generator →

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