#2A9948#2A9948

#2A9948 is a mid, vivid green. Relative luminance 0.237; OKLCH L 60.3% C 0.154 H 148.2°. Best body text is #000000 at 5.75:1 contrast (WCAG AA passes).

Color values

HEX#2A9948
RGBrgb(42, 153, 72)
HSLhsl(136, 57%, 38%)
HSVhsv(136, 73%, 60%)
CMYKcmyk(72.5%, 0%, 52.9%, 40%)
CIE-LABlab(55.83, -48.63, 33.61)
CIE-LCHlch(55.83, 59.11, 145.35°)
OKLaboklab(60.29% -0.1309 0.081)
OKLCHoklch(60.29% 0.154 148.2)
XYZxyz(13.5147, 23.7411, 9.9999)
Luminance0.2374 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2A9948 #992A7B
analogous
#43992A #2A9948 #2A997F
triadic
#2A9948 #482A99 #99482A
tetradic
#2A9948 #2A4399 #992A7B #997F2A
square
#2A9948 #2A4399 #992A7B #997F2A
split-complementary
#2A9948 #7F2A99 #992A43
monochromatic
#10391B #1D6931 #2A9948 #38C85F #68D686

Accessibility & contrast

On white

3.65
#2A9948 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.75
#2A9948 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #2A9948
5.75:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2A9948#FFFFFF#000000##000000
##2A99481.003.655.755.75
#FFFFFF3.651.0021.0021.00
#0000005.7521.001.001.00
##0000005.7521.001.001.00

Color blindness preview

Protanopia (red-blind)
#9B8B41
Deuteranopia (green-blind)
#8D824E
Tritanopia (blue-blind)
#009686
Achromatopsia (no color)
#868686

Design tokens & code

CSS
--color: #2a9948;
/* rgb */ color: rgb(42, 153, 72);
/* oklch */ color: oklch(60.3% 0.154 148.2);
Tailwind
colors: {
  custom: {
    50: '#74b87d',
    500: '#2a9948',
    950: '#000000',
  },
}
SCSS
$custom: #2a9948;
$custom-light: #74b87d;
$custom-dark: #000000;
JSON
{
  "hex": "#2a9948",
  "rgb": {
    "r": 42,
    "g": 153,
    "b": 72
  },
  "hsl": {
    "h": 136.216,
    "s": 56.923,
    "l": 38.235
  },
  "oklch": {
    "l": 0.60289,
    "c": 0.15397,
    "h": 148.2
  },
  "luminance": 0.23743
}

Semantic roles & 50–950 ramp

primary
#2A9948
secondary
#BC63A4
accent
#48B7E0
background
#F7FBF7
surface
#EEF6EE
border
#C9D0C9
text
#09110A
muted
#7B807C

Preview Lab

Preview with #2A9948

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

Preview Lab → · Contrast checker → · Palette generator →

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