#2A9747#2A9747

#2A9747 is a mid, vivid green. Relative luminance 0.231; OKLCH L 59.7% C 0.152 H 148.2°. Best body text is #000000 at 5.62:1 contrast (WCAG AA passes).

Color values

HEX#2A9747
RGBrgb(42, 151, 71)
HSLhsl(136, 56%, 38%)
HSVhsv(136, 72%, 59%)
CMYKcmyk(72.2%, 0%, 53%, 40.8%)
CIE-LABlab(55.15, -48.04, 33.29)
CIE-LCHlch(55.15, 58.45, 145.28°)
OKLaboklab(59.73% -0.1294 0.0803)
OKLCHoklch(59.73% 0.152 148.2)
XYZxyz(13.1578, 23.0789, 9.7213)
Luminance0.2308 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2A9747 #972A7A
analogous
#44972A #2A9747 #2A977D
triadic
#2A9747 #472A97 #97472A
tetradic
#2A9747 #2A4497 #972A7A #977D2A
square
#2A9747 #2A4497 #972A7A #977D2A
split-complementary
#2A9747 #7D2A97 #972A44
monochromatic
#0F371A #1D6730 #2A9747 #37C75E #67D584

Accessibility & contrast

On white

3.74
#2A9747 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.62
#2A9747 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #2A9747
5.62:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2A9747#FFFFFF#000000##000000
##2A97471.003.745.625.62
#FFFFFF3.741.0021.0021.00
#0000005.6221.001.001.00
##0000005.6221.001.001.00

Color blindness preview

Protanopia (red-blind)
#998A40
Deuteranopia (green-blind)
#8C804D
Tritanopia (blue-blind)
#009485
Achromatopsia (no color)
#848484

Design tokens & code

CSS
--color: #2a9747;
/* rgb */ color: rgb(42, 151, 71);
/* oklch */ color: oklch(59.7% 0.152 148.2);
Tailwind
colors: {
  custom: {
    50: '#73b77c',
    500: '#2a9747',
    950: '#000000',
  },
}
SCSS
$custom: #2a9747;
$custom-light: #73b77c;
$custom-dark: #000000;
JSON
{
  "hex": "#2a9747",
  "rgb": {
    "r": 42,
    "g": 151,
    "b": 71
  },
  "hsl": {
    "h": 135.963,
    "s": 56.477,
    "l": 37.843
  },
  "oklch": {
    "l": 0.59727,
    "c": 0.15224,
    "h": 148.2
  },
  "luminance": 0.2308
}

Semantic roles & 50–950 ramp

primary
#2A9747
secondary
#BB62A3
accent
#48B7E0
background
#F7FBF7
surface
#EDF6EE
border
#C8D0C9
text
#091109
muted
#7B807B

Preview Lab

Preview with #2A9747

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

Preview Lab → · Contrast checker → · Palette generator →

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