#2A9848#2A9848

#2A9848 is a mid, vivid green. Relative luminance 0.234; OKLCH L 60.0% C 0.153 H 148.3°. Best body text is #000000 at 5.68:1 contrast (WCAG AA passes).

Color values

HEX#2A9848
RGBrgb(42, 152, 72)
HSLhsl(136, 57%, 38%)
HSVhsv(136, 72%, 60%)
CMYKcmyk(72.4%, 0%, 52.6%, 40.4%)
CIE-LABlab(55.50, -48.26, 33.20)
CIE-LCHlch(55.50, 58.58, 145.47°)
OKLaboklab(60.02% -0.1299 0.0801)
OKLCHoklch(60.02% 0.153 148.3)
XYZxyz(13.3518, 23.4151, 9.9455)
Luminance0.2342 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2A9848 #982A7A
analogous
#43982A #2A9848 #2A987F
triadic
#2A9848 #482A98 #98482A
tetradic
#2A9848 #2A4398 #982A7A #987F2A
square
#2A9848 #2A4398 #982A7A #987F2A
split-complementary
#2A9848 #7F2A98 #982A43
monochromatic
#10381B #1D6831 #2A9848 #37C85F #67D585

Accessibility & contrast

On white

3.69
#2A9848 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.68
#2A9848 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #2A9848
5.68:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2A9848#FFFFFF#000000##000000
##2A98481.003.695.685.68
#FFFFFF3.691.0021.0021.00
#0000005.6821.001.001.00
##0000005.6821.001.001.00

Color blindness preview

Protanopia (red-blind)
#998A41
Deuteranopia (green-blind)
#8C814E
Tritanopia (blue-blind)
#009586
Achromatopsia (no color)
#858585

Design tokens & code

CSS
--color: #2a9848;
/* rgb */ color: rgb(42, 152, 72);
/* oklch */ color: oklch(60.0% 0.153 148.3);
Tailwind
colors: {
  custom: {
    50: '#74b77d',
    500: '#2a9848',
    950: '#000000',
  },
}
SCSS
$custom: #2a9848;
$custom-light: #74b77d;
$custom-dark: #000000;
JSON
{
  "hex": "#2a9848",
  "rgb": {
    "r": 42,
    "g": 152,
    "b": 72
  },
  "hsl": {
    "h": 136.364,
    "s": 56.701,
    "l": 38.039
  },
  "oklch": {
    "l": 0.60016,
    "c": 0.15265,
    "h": 148.3
  },
  "luminance": 0.23417
}

Semantic roles & 50–950 ramp

primary
#2A9848
secondary
#BB62A3
accent
#48B6E0
background
#F7FBF7
surface
#EDF6EE
border
#C8D0C9
text
#09110A
muted
#7B807C

Preview Lab

Preview with #2A9848

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

Preview Lab → · Contrast checker → · Palette generator →

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