#2A9145#2A9145

#2A9145 is a mid, vivid green. Relative luminance 0.212; OKLCH L 58.1% C 0.146 H 148.2°. Best body text is #000000 at 5.23:1 contrast (WCAG AA passes).

Color values

HEX#2A9145
RGBrgb(42, 145, 69)
HSLhsl(136, 55%, 37%)
HSVhsv(136, 71%, 57%)
CMYKcmyk(71%, 0%, 52.4%, 43.1%)
CIE-LABlab(53.14, -46.10, 31.84)
CIE-LCHlch(53.14, 56.03, 145.37°)
OKLaboklab(58.05% -0.1242 0.0769)
OKLCHoklch(58.05% 0.146 148.2)
XYZxyz(12.1535, 21.1714, 9.0750)
Luminance0.2117 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2A9145 #912A76
analogous
#43912A #2A9145 #2A9179
triadic
#2A9145 #452A91 #91452A
tetradic
#2A9145 #2A4391 #912A76 #91792A
square
#2A9145 #2A4391 #912A76 #91792A
split-complementary
#2A9145 #792A91 #912A43
monochromatic
#0F3218 #1C622E #2A9145 #38C05C #63D280

Accessibility & contrast

On white

4.01
#2A9145 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.23
#2A9145 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #2A9145
5.23:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2A9145#FFFFFF#000000##000000
##2A91451.004.015.235.23
#FFFFFF4.011.0021.0021.00
#0000005.2321.001.001.00
##0000005.2321.001.001.00

Color blindness preview

Protanopia (red-blind)
#92843E
Deuteranopia (green-blind)
#867B4B
Tritanopia (blue-blind)
#008E7F
Achromatopsia (no color)
#7F7F7F

Design tokens & code

CSS
--color: #2a9145;
/* rgb */ color: rgb(42, 145, 69);
/* oklch */ color: oklch(58.1% 0.146 148.2);
Tailwind
colors: {
  custom: {
    50: '#72b27a',
    500: '#2a9145',
    950: '#000000',
  },
}
SCSS
$custom: #2a9145;
$custom-light: #72b27a;
$custom-dark: #000000;
JSON
{
  "hex": "#2a9145",
  "rgb": {
    "r": 42,
    "g": 145,
    "b": 69
  },
  "hsl": {
    "h": 135.728,
    "s": 55.08,
    "l": 36.667
  },
  "oklch": {
    "l": 0.58051,
    "c": 0.14608,
    "h": 148.2
  },
  "luminance": 0.21173
}

Semantic roles & 50–950 ramp

primary
#2A9145
secondary
#B85FA1
accent
#49B7DE
background
#F7FBF7
surface
#EDF6EE
border
#C8D0C9
text
#091109
muted
#7B807B

Preview Lab

Preview with #2A9145

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

Preview Lab → · Contrast checker → · Palette generator →

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