#2A9740#2A9740

#2A9740 is a mid, vivid green. Relative luminance 0.230; OKLCH L 59.6% C 0.159 H 146.6°. Best body text is #000000 at 5.60:1 contrast (WCAG AA passes).

Color values

HEX#2A9740
RGBrgb(42, 151, 64)
HSLhsl(132, 56%, 38%)
HSVhsv(132, 72%, 59%)
CMYKcmyk(72.2%, 0%, 57.6%, 40.8%)
CIE-LABlab(55.07, -49.06, 36.70)
CIE-LCHlch(55.07, 61.27, 143.20°)
OKLaboklab(59.63% -0.1323 0.0873)
OKLCHoklch(59.63% 0.159 146.6)
XYZxyz(12.9459, 22.9942, 8.6055)
Luminance0.2300 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2A9740 #972A81
analogous
#4A972A #2A9740 #2A9776
triadic
#2A9740 #402A97 #97402A
tetradic
#2A9740 #2A4A97 #972A81 #97762A
square
#2A9740 #2A4A97 #972A81 #97762A
split-complementary
#2A9740 #762A97 #972A4A
monochromatic
#0F3717 #1D672C #2A9740 #37C754 #67D57D

Accessibility & contrast

On white

3.75
#2A9740 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.60
#2A9740 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #2A9740
5.60:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2A9740#FFFFFF#000000##000000
##2A97401.003.755.605.60
#FFFFFF3.751.0021.0021.00
#0000005.6021.001.001.00
##0000005.6021.001.001.00

Color blindness preview

Protanopia (red-blind)
#998938
Deuteranopia (green-blind)
#8C8047
Tritanopia (blue-blind)
#009384
Achromatopsia (no color)
#848484

Design tokens & code

CSS
--color: #2a9740;
/* rgb */ color: rgb(42, 151, 64);
/* oklch */ color: oklch(59.6% 0.159 146.6);
Tailwind
colors: {
  custom: {
    50: '#74b777',
    500: '#2a9740',
    950: '#000000',
  },
}
SCSS
$custom: #2a9740;
$custom-light: #74b777;
$custom-dark: #000000;
JSON
{
  "hex": "#2a9740",
  "rgb": {
    "r": 42,
    "g": 151,
    "b": 64
  },
  "hsl": {
    "h": 132.11,
    "s": 56.477,
    "l": 37.843
  },
  "oklch": {
    "l": 0.59627,
    "c": 0.1585,
    "h": 146.6
  },
  "luminance": 0.22996
}

Semantic roles & 50–950 ramp

primary
#2A9740
secondary
#BB62A9
accent
#48C1E0
background
#F7FBF7
surface
#EEF6ED
border
#C9D0C8
text
#091109
muted
#7B807B

Preview Lab

Preview with #2A9740

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

Preview Lab → · Contrast checker → · Palette generator →

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