#2A9738#2A9738

#2A9738 is a mid, vivid green. Relative luminance 0.229; OKLCH L 59.5% C 0.165 H 145.0°. Best body text is #000000 at 5.58:1 contrast (WCAG AA passes).

Color values

HEX#2A9738
RGBrgb(42, 151, 56)
HSLhsl(128, 56%, 38%)
HSVhsv(128, 72%, 59%)
CMYKcmyk(72.2%, 0%, 62.9%, 40.8%)
CIE-LABlab(54.98, -50.10, 40.42)
CIE-LCHlch(54.98, 64.37, 141.10°)
OKLaboklab(59.53% -0.1353 0.0947)
OKLCHoklch(59.53% 0.165 145)
XYZxyz(12.7344, 22.9096, 7.4915)
Luminance0.2291 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2A9738 #972A89
analogous
#53972A #2A9738 #2A976E
triadic
#2A9738 #382A97 #97382A
tetradic
#2A9738 #2A5397 #972A89 #976E2A
square
#2A9738 #2A5397 #972A89 #976E2A
split-complementary
#2A9738 #6E2A97 #972A53
monochromatic
#0F3714 #1D6726 #2A9738 #37C74A #67D575

Accessibility & contrast

On white

3.76
#2A9738 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.58
#2A9738 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #2A9738
5.58:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2A9738#FFFFFF#000000##000000
##2A97381.003.765.585.58
#FFFFFF3.761.0021.0021.00
#0000005.5821.001.001.00
##0000005.5821.001.001.00

Color blindness preview

Protanopia (red-blind)
#9A892D
Deuteranopia (green-blind)
#8D8040
Tritanopia (blue-blind)
#009383
Achromatopsia (no color)
#848484

Design tokens & code

CSS
--color: #2a9738;
/* rgb */ color: rgb(42, 151, 56);
/* oklch */ color: oklch(59.5% 0.165 145.0);
Tailwind
colors: {
  custom: {
    50: '#74b772',
    500: '#2a9738',
    950: '#000000',
  },
}
SCSS
$custom: #2a9738;
$custom-light: #74b772;
$custom-dark: #000000;
JSON
{
  "hex": "#2a9738",
  "rgb": {
    "r": 42,
    "g": 151,
    "b": 56
  },
  "hsl": {
    "h": 127.706,
    "s": 56.477,
    "l": 37.843
  },
  "oklch": {
    "l": 0.59526,
    "c": 0.16518,
    "h": 145
  },
  "luminance": 0.22911
}

Semantic roles & 50–950 ramp

primary
#2A9738
secondary
#BB62AF
accent
#48CCE0
background
#F7FBF7
surface
#EEF6ED
border
#C9D0C8
text
#091108
muted
#7B807B

Preview Lab

Preview with #2A9738

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

Preview Lab → · Contrast checker → · Palette generator →

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