#2A9A45#2A9A45

#2A9A45 is a mid, vivid green. Relative luminance 0.240; OKLCH L 60.5% C 0.158 H 147.5°. Best body text is #000000 at 5.81:1 contrast (WCAG AA passes).

Color values

HEX#2A9A45
RGBrgb(42, 154, 69)
HSLhsl(134, 57%, 38%)
HSVhsv(134, 73%, 60%)
CMYKcmyk(72.7%, 0%, 55.2%, 39.6%)
CIE-LABlab(56.12, -49.45, 35.48)
CIE-LCHlch(56.12, 60.86, 144.34°)
OKLaboklab(60.52% -0.1332 0.085)
OKLCHoklch(60.52% 0.158 147.5)
XYZxyz(13.5836, 24.0316, 9.5518)
Luminance0.2403 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2A9A45 #9A2A7F
analogous
#479A2A #2A9A45 #2A9A7D
triadic
#2A9A45 #452A9A #9A452A
tetradic
#2A9A45 #2A479A #9A2A7F #9A7D2A
square
#2A9A45 #2A479A #9A2A7F #9A7D2A
split-complementary
#2A9A45 #7D2A9A #9A2A47
monochromatic
#103A1A #1D6A2F #2A9A45 #38C95B #68D683

Accessibility & contrast

On white

3.62
#2A9A45 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.81
#2A9A45 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #2A9A45
5.81:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2A9A45#FFFFFF#000000##000000
##2A9A451.003.625.815.81
#FFFFFF3.621.0021.0021.00
#0000005.8121.001.001.00
##0000005.8121.001.001.00

Color blindness preview

Protanopia (red-blind)
#9C8C3D
Deuteranopia (green-blind)
#8F834B
Tritanopia (blue-blind)
#009787
Achromatopsia (no color)
#868686

Design tokens & code

CSS
--color: #2a9a45;
/* rgb */ color: rgb(42, 154, 69);
/* oklch */ color: oklch(60.5% 0.158 147.5);
Tailwind
colors: {
  custom: {
    50: '#74b97b',
    500: '#2a9a45',
    950: '#000000',
  },
}
SCSS
$custom: #2a9a45;
$custom-light: #74b97b;
$custom-dark: #000000;
JSON
{
  "hex": "#2a9a45",
  "rgb": {
    "r": 42,
    "g": 154,
    "b": 69
  },
  "hsl": {
    "h": 134.464,
    "s": 57.143,
    "l": 38.431
  },
  "oklch": {
    "l": 0.60518,
    "c": 0.15798,
    "h": 147.5
  },
  "luminance": 0.24033
}

Semantic roles & 50–950 ramp

primary
#2A9A45
secondary
#BC63A7
accent
#47BCE0
background
#F7FBF7
surface
#EEF6EE
border
#C9D0C9
text
#091109
muted
#7B807B

Preview Lab

Preview with #2A9A45

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

Preview Lab → · Contrast checker → · Palette generator →

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