#2A9844#2A9844

#2A9844 is a mid, vivid green. Relative luminance 0.234; OKLCH L 60.0% C 0.156 H 147.4°. Best body text is #000000 at 5.67:1 contrast (WCAG AA passes).

Color values

HEX#2A9844
RGBrgb(42, 152, 68)
HSLhsl(134, 57%, 38%)
HSVhsv(134, 72%, 60%)
CMYKcmyk(72.4%, 0%, 55.3%, 40.4%)
CIE-LABlab(55.45, -48.86, 35.17)
CIE-LCHlch(55.45, 60.20, 144.26°)
OKLaboklab(59.96% -0.1316 0.0843)
OKLCHoklch(59.96% 0.156 147.4)
XYZxyz(13.2255, 23.3646, 9.2805)
Luminance0.2337 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2A9844 #982A7E
analogous
#47982A #2A9844 #2A987B
triadic
#2A9844 #442A98 #98442A
tetradic
#2A9844 #2A4798 #982A7E #987B2A
square
#2A9844 #2A4798 #982A7E #987B2A
split-complementary
#2A9844 #7B2A98 #982A47
monochromatic
#103819 #1D682F #2A9844 #37C85A #67D581

Accessibility & contrast

On white

3.70
#2A9844 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.67
#2A9844 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #2A9844
5.67:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2A9844#FFFFFF#000000##000000
##2A98441.003.705.675.67
#FFFFFF3.701.0021.0021.00
#0000005.6721.001.001.00
##0000005.6721.001.001.00

Color blindness preview

Protanopia (red-blind)
#9A8A3C
Deuteranopia (green-blind)
#8D814A
Tritanopia (blue-blind)
#009585
Achromatopsia (no color)
#858585

Design tokens & code

CSS
--color: #2a9844;
/* rgb */ color: rgb(42, 152, 68);
/* oklch */ color: oklch(60.0% 0.156 147.4);
Tailwind
colors: {
  custom: {
    50: '#74b77a',
    500: '#2a9844',
    950: '#000000',
  },
}
SCSS
$custom: #2a9844;
$custom-light: #74b77a;
$custom-dark: #000000;
JSON
{
  "hex": "#2a9844",
  "rgb": {
    "r": 42,
    "g": 152,
    "b": 68
  },
  "hsl": {
    "h": 134.182,
    "s": 56.701,
    "l": 38.039
  },
  "oklch": {
    "l": 0.59957,
    "c": 0.15628,
    "h": 147.4
  },
  "luminance": 0.23366
}

Semantic roles & 50–950 ramp

primary
#2A9844
secondary
#BB62A6
accent
#48BCE0
background
#F7FBF7
surface
#EEF6EE
border
#C9D0C9
text
#091109
muted
#7B807B

Preview Lab

Preview with #2A9844

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

Preview Lab → · Contrast checker → · Palette generator →

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