#2A9645#2A9645

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

Color values

HEX#2A9645
RGBrgb(42, 150, 69)
HSLhsl(135, 56%, 38%)
HSVhsv(135, 72%, 59%)
CMYKcmyk(72%, 0%, 54%, 41.2%)
CIE-LABlab(54.80, -47.98, 33.87)
CIE-LCHlch(54.80, 58.73, 144.78°)
OKLaboklab(59.42% -0.1292 0.0815)
OKLCHoklch(59.42% 0.153 147.8)
XYZxyz(12.9344, 22.7332, 9.3353)
Luminance0.2273 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2A9645 #962A7B
analogous
#45962A #2A9645 #2A967B
triadic
#2A9645 #452A96 #96452A
tetradic
#2A9645 #2A4596 #962A7B #967B2A
square
#2A9645 #2A4596 #962A7B #967B2A
split-complementary
#2A9645 #7B2A96 #962A45
monochromatic
#0F3619 #1D662F #2A9645 #37C65B #66D482

Accessibility & contrast

On white

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

On black

5.55
#2A9645 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #2A9645
5.55:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2A9645#FFFFFF#000000##000000
##2A96451.003.795.555.55
#FFFFFF3.791.0021.0021.00
#0000005.5521.001.001.00
##0000005.5521.001.001.00

Color blindness preview

Protanopia (red-blind)
#98893E
Deuteranopia (green-blind)
#8B804B
Tritanopia (blue-blind)
#009384
Achromatopsia (no color)
#838383

Design tokens & code

CSS
--color: #2a9645;
/* rgb */ color: rgb(42, 150, 69);
/* oklch */ color: oklch(59.4% 0.153 147.8);
Tailwind
colors: {
  custom: {
    50: '#73b67a',
    500: '#2a9645',
    950: '#000000',
  },
}
SCSS
$custom: #2a9645;
$custom-light: #73b67a;
$custom-dark: #000000;
JSON
{
  "hex": "#2a9645",
  "rgb": {
    "r": 42,
    "g": 150,
    "b": 69
  },
  "hsl": {
    "h": 135,
    "s": 56.25,
    "l": 37.647
  },
  "oklch": {
    "l": 0.59424,
    "c": 0.15275,
    "h": 147.8
  },
  "luminance": 0.22735
}

Semantic roles & 50–950 ramp

primary
#2A9645
secondary
#BA61A4
accent
#48BAE0
background
#F7FBF7
surface
#EDF6EE
border
#C8D0C9
text
#091109
muted
#7B807B

Preview Lab

Preview with #2A9645

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

Preview Lab → · Contrast checker → · Palette generator →

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