#2A9545#2A9545

#2A9545 is a mid, vivid green. Relative luminance 0.224; OKLCH L 59.2% C 0.151 H 147.9°. Best body text is #000000 at 5.48:1 contrast (WCAG AA passes).

Color values

HEX#2A9545
RGBrgb(42, 149, 69)
HSLhsl(135, 56%, 37%)
HSVhsv(135, 72%, 58%)
CMYKcmyk(71.8%, 0%, 53.7%, 41.6%)
CIE-LABlab(54.47, -47.60, 33.47)
CIE-LCHlch(54.47, 58.19, 144.89°)
OKLaboklab(59.15% -0.1282 0.0806)
OKLCHoklch(59.15% 0.151 147.9)
XYZxyz(12.7755, 22.4154, 9.2824)
Luminance0.2242 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2A9545 #952A7A
analogous
#45952A #2A9545 #2A957A
triadic
#2A9545 #452A95 #95452A
tetradic
#2A9545 #2A4595 #952A7A #957A2A
square
#2A9545 #2A4595 #952A7A #957A2A
split-complementary
#2A9545 #7A2A95 #952A45
monochromatic
#0F3619 #1D652F #2A9545 #37C55B #66D481

Accessibility & contrast

On white

3.83
#2A9545 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.48
#2A9545 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #2A9545
5.48:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2A9545#FFFFFF#000000##000000
##2A95451.003.835.485.48
#FFFFFF3.831.0021.0021.00
#0000005.4821.001.001.00
##0000005.4821.001.001.00

Color blindness preview

Protanopia (red-blind)
#97883E
Deuteranopia (green-blind)
#8A7F4B
Tritanopia (blue-blind)
#009283
Achromatopsia (no color)
#828282

Design tokens & code

CSS
--color: #2a9545;
/* rgb */ color: rgb(42, 149, 69);
/* oklch */ color: oklch(59.2% 0.151 147.9);
Tailwind
colors: {
  custom: {
    50: '#73b57a',
    500: '#2a9545',
    950: '#000000',
  },
}
SCSS
$custom: #2a9545;
$custom-light: #73b57a;
$custom-dark: #000000;
JSON
{
  "hex": "#2a9545",
  "rgb": {
    "r": 42,
    "g": 149,
    "b": 69
  },
  "hsl": {
    "h": 135.14,
    "s": 56.021,
    "l": 37.451
  },
  "oklch": {
    "l": 0.5915,
    "c": 0.15142,
    "h": 147.9
  },
  "luminance": 0.22417
}

Semantic roles & 50–950 ramp

primary
#2A9545
secondary
#BA61A3
accent
#48B9DF
background
#F7FBF7
surface
#EDF6EE
border
#C8D0C9
text
#091109
muted
#7B807B

Preview Lab

Preview with #2A9545

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

Preview Lab → · Contrast checker → · Palette generator →

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