#2A9640#2A9640

#2A9640 is a mid, vivid green. Relative luminance 0.227; OKLCH L 59.4% C 0.157 H 146.6°. Best body text is #000000 at 5.53:1 contrast (WCAG AA passes).

Color values

HEX#2A9640
RGBrgb(42, 150, 64)
HSLhsl(132, 56%, 38%)
HSVhsv(132, 72%, 59%)
CMYKcmyk(72%, 0%, 57.3%, 41.2%)
CIE-LABlab(54.73, -48.70, 36.30)
CIE-LCHlch(54.73, 60.74, 143.30°)
OKLaboklab(59.35% -0.1313 0.0865)
OKLCHoklch(59.35% 0.157 146.6)
XYZxyz(12.7857, 22.6737, 8.5521)
Luminance0.2268 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2A9640 #962A80
analogous
#4A962A #2A9640 #2A9676
triadic
#2A9640 #402A96 #96402A
tetradic
#2A9640 #2A4A96 #962A80 #96762A
square
#2A9640 #2A4A96 #962A80 #96762A
split-complementary
#2A9640 #762A96 #962A4A
monochromatic
#0F3617 #1D662C #2A9640 #37C654 #66D47D

Accessibility & contrast

On white

3.79
#2A9640 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.53
#2A9640 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #2A9640
5.53:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2A9640#FFFFFF#000000##000000
##2A96401.003.795.535.53
#FFFFFF3.791.0021.0021.00
#0000005.5321.001.001.00
##0000005.5321.001.001.00

Color blindness preview

Protanopia (red-blind)
#988838
Deuteranopia (green-blind)
#8B7F47
Tritanopia (blue-blind)
#009383
Achromatopsia (no color)
#838383

Design tokens & code

CSS
--color: #2a9640;
/* rgb */ color: rgb(42, 150, 64);
/* oklch */ color: oklch(59.4% 0.157 146.6);
Tailwind
colors: {
  custom: {
    50: '#73b677',
    500: '#2a9640',
    950: '#000000',
  },
}
SCSS
$custom: #2a9640;
$custom-light: #73b677;
$custom-dark: #000000;
JSON
{
  "hex": "#2a9640",
  "rgb": {
    "r": 42,
    "g": 150,
    "b": 64
  },
  "hsl": {
    "h": 132.222,
    "s": 56.25,
    "l": 37.647
  },
  "oklch": {
    "l": 0.59352,
    "c": 0.15721,
    "h": 146.6
  },
  "luminance": 0.22675
}

Semantic roles & 50–950 ramp

primary
#2A9640
secondary
#BA61A8
accent
#48C1E0
background
#F7FBF7
surface
#EDF6ED
border
#C8D0C8
text
#091109
muted
#7B807B

Preview Lab

Preview with #2A9640

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

Preview Lab → · Contrast checker → · Palette generator →

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