#2A9642#2A9642

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

Color values

HEX#2A9642
RGBrgb(42, 150, 66)
HSLhsl(133, 56%, 38%)
HSVhsv(133, 72%, 59%)
CMYKcmyk(72%, 0%, 56%, 41.2%)
CIE-LABlab(54.76, -48.42, 35.34)
CIE-LCHlch(54.76, 59.94, 143.87°)
OKLaboklab(59.38% -0.1305 0.0845)
OKLCHoklch(59.38% 0.155 147.1)
XYZxyz(12.8436, 22.6969, 8.8573)
Luminance0.2270 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2A9642 #962A7E
analogous
#48962A #2A9642 #2A9678
triadic
#2A9642 #422A96 #96422A
tetradic
#2A9642 #2A4896 #962A7E #96782A
square
#2A9642 #2A4896 #962A7E #96782A
split-complementary
#2A9642 #782A96 #962A48
monochromatic
#0F3618 #1D662D #2A9642 #37C657 #66D47F

Accessibility & contrast

On white

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

On black

5.54
#2A9642 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #2A9642
5.54:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2A9642#FFFFFF#000000##000000
##2A96421.003.795.545.54
#FFFFFF3.791.0021.0021.00
#0000005.5421.001.001.00
##0000005.5421.001.001.00

Color blindness preview

Protanopia (red-blind)
#98883A
Deuteranopia (green-blind)
#8B8048
Tritanopia (blue-blind)
#009383
Achromatopsia (no color)
#838383

Design tokens & code

CSS
--color: #2a9642;
/* rgb */ color: rgb(42, 150, 66);
/* oklch */ color: oklch(59.4% 0.155 147.1);
Tailwind
colors: {
  custom: {
    50: '#73b679',
    500: '#2a9642',
    950: '#000000',
  },
}
SCSS
$custom: #2a9642;
$custom-light: #73b679;
$custom-dark: #000000;
JSON
{
  "hex": "#2a9642",
  "rgb": {
    "r": 42,
    "g": 150,
    "b": 66
  },
  "hsl": {
    "h": 133.333,
    "s": 56.25,
    "l": 37.647
  },
  "oklch": {
    "l": 0.5938,
    "c": 0.15544,
    "h": 147.1
  },
  "luminance": 0.22698
}

Semantic roles & 50–950 ramp

primary
#2A9642
secondary
#BA61A7
accent
#48BEE0
background
#F7FBF7
surface
#EDF6ED
border
#C8D0C8
text
#091109
muted
#7B807B

Preview Lab

Preview with #2A9642

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

Preview Lab → · Contrast checker → · Palette generator →

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