#2A9548#2A9548

#2A9548 is a mid, vivid green. Relative luminance 0.225; OKLCH L 59.2% C 0.149 H 148.6°. Best body text is #000000 at 5.49:1 contrast (WCAG AA passes).

Color values

HEX#2A9548
RGBrgb(42, 149, 72)
HSLhsl(137, 56%, 37%)
HSVhsv(137, 72%, 58%)
CMYKcmyk(71.8%, 0%, 51.7%, 41.6%)
CIE-LABlab(54.51, -47.14, 31.98)
CIE-LCHlch(54.51, 56.96, 145.85°)
OKLaboklab(59.2% -0.1269 0.0774)
OKLCHoklch(59.2% 0.149 148.6)
XYZxyz(12.8710, 22.4536, 9.7853)
Luminance0.2245 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2A9548 #952A77
analogous
#42952A #2A9548 #2A957D
triadic
#2A9548 #482A95 #95482A
tetradic
#2A9548 #2A4295 #952A77 #957D2A
square
#2A9548 #2A4295 #952A77 #957D2A
split-complementary
#2A9548 #7D2A95 #952A42
monochromatic
#0F361A #1D6531 #2A9548 #37C55F #66D485

Accessibility & contrast

On white

3.82
#2A9548 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.49
#2A9548 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #2A9548
5.49:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2A9548#FFFFFF#000000##000000
##2A95481.003.825.495.49
#FFFFFF3.821.0021.0021.00
#0000005.4921.001.001.00
##0000005.4921.001.001.00

Color blindness preview

Protanopia (red-blind)
#968841
Deuteranopia (green-blind)
#8A7F4E
Tritanopia (blue-blind)
#009283
Achromatopsia (no color)
#828282

Design tokens & code

CSS
--color: #2a9548;
/* rgb */ color: rgb(42, 149, 72);
/* oklch */ color: oklch(59.2% 0.149 148.6);
Tailwind
colors: {
  custom: {
    50: '#73b57c',
    500: '#2a9548',
    950: '#000000',
  },
}
SCSS
$custom: #2a9548;
$custom-light: #73b57c;
$custom-dark: #000000;
JSON
{
  "hex": "#2a9548",
  "rgb": {
    "r": 42,
    "g": 149,
    "b": 72
  },
  "hsl": {
    "h": 136.822,
    "s": 56.021,
    "l": 37.451
  },
  "oklch": {
    "l": 0.59196,
    "c": 0.14866,
    "h": 148.6
  },
  "luminance": 0.22455
}

Semantic roles & 50–950 ramp

primary
#2A9548
secondary
#BA61A1
accent
#48B5DF
background
#F7FBF7
surface
#EDF6EE
border
#C8D0C9
text
#09110A
muted
#7B807C

Preview Lab

Preview with #2A9548

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

Preview Lab → · Contrast checker → · Palette generator →

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