#2A9748#2A9748

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

Color values

HEX#2A9748
RGBrgb(42, 151, 72)
HSLhsl(137, 56%, 38%)
HSVhsv(137, 72%, 59%)
CMYKcmyk(72.2%, 0%, 52.3%, 40.8%)
CIE-LABlab(55.17, -47.89, 32.79)
CIE-LCHlch(55.17, 58.04, 145.60°)
OKLaboklab(59.74% -0.1289 0.0792)
OKLCHoklch(59.74% 0.151 148.4)
XYZxyz(13.1901, 23.0919, 9.8917)
Luminance0.2309 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2A9748 #972A79
analogous
#42972A #2A9748 #2A977F
triadic
#2A9748 #482A97 #97482A
tetradic
#2A9748 #2A4297 #972A79 #977F2A
square
#2A9748 #2A4297 #972A79 #977F2A
split-complementary
#2A9748 #7F2A97 #972A42
monochromatic
#0F371A #1D6731 #2A9748 #37C75F #67D585

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##2A9748#FFFFFF#000000##000000
##2A97481.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)
#988A41
Deuteranopia (green-blind)
#8B804E
Tritanopia (blue-blind)
#009485
Achromatopsia (no color)
#848484

Design tokens & code

CSS
--color: #2a9748;
/* rgb */ color: rgb(42, 151, 72);
/* oklch */ color: oklch(59.7% 0.151 148.4);
Tailwind
colors: {
  custom: {
    50: '#73b77d',
    500: '#2a9748',
    950: '#000000',
  },
}
SCSS
$custom: #2a9748;
$custom-light: #73b77d;
$custom-dark: #000000;
JSON
{
  "hex": "#2a9748",
  "rgb": {
    "r": 42,
    "g": 151,
    "b": 72
  },
  "hsl": {
    "h": 136.514,
    "s": 56.477,
    "l": 37.843
  },
  "oklch": {
    "l": 0.59743,
    "c": 0.15132,
    "h": 148.4
  },
  "luminance": 0.23093
}

Semantic roles & 50–950 ramp

primary
#2A9748
secondary
#BB62A2
accent
#48B6E0
background
#F7FBF7
surface
#EDF6EE
border
#C8D0C9
text
#09110A
muted
#7B807C

Preview Lab

Preview with #2A9748

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

Preview Lab → · Contrast checker → · Palette generator →

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