#2A9847#2A9847

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

Color values

HEX#2A9847
RGBrgb(42, 152, 71)
HSLhsl(136, 57%, 38%)
HSVhsv(136, 72%, 60%)
CMYKcmyk(72.4%, 0%, 53.3%, 40.4%)
CIE-LABlab(55.48, -48.41, 33.69)
CIE-LCHlch(55.48, 58.98, 145.16°)
OKLaboklab(60% -0.1304 0.0812)
OKLCHoklch(60% 0.154 148.1)
XYZxyz(13.3194, 23.4022, 9.7751)
Luminance0.2340 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2A9847 #982A7B
analogous
#44982A #2A9847 #2A987E
triadic
#2A9847 #472A98 #98472A
tetradic
#2A9847 #2A4498 #982A7B #987E2A
square
#2A9847 #2A4498 #982A7B #987E2A
split-complementary
#2A9847 #7E2A98 #982A44
monochromatic
#10381A #1D6831 #2A9847 #37C85D #67D584

Accessibility & contrast

On white

3.70
#2A9847 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

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

Best text color

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

Contrast matrix

fg \ bg##2A9847#FFFFFF#000000##000000
##2A98471.003.705.685.68
#FFFFFF3.701.0021.0021.00
#0000005.6821.001.001.00
##0000005.6821.001.001.00

Color blindness preview

Protanopia (red-blind)
#9A8A40
Deuteranopia (green-blind)
#8D814D
Tritanopia (blue-blind)
#009585
Achromatopsia (no color)
#858585

Design tokens & code

CSS
--color: #2a9847;
/* rgb */ color: rgb(42, 152, 71);
/* oklch */ color: oklch(60.0% 0.154 148.1);
Tailwind
colors: {
  custom: {
    50: '#74b77c',
    500: '#2a9847',
    950: '#000000',
  },
}
SCSS
$custom: #2a9847;
$custom-light: #74b77c;
$custom-dark: #000000;
JSON
{
  "hex": "#2a9847",
  "rgb": {
    "r": 42,
    "g": 152,
    "b": 71
  },
  "hsl": {
    "h": 135.818,
    "s": 56.701,
    "l": 38.039
  },
  "oklch": {
    "l": 0.60001,
    "c": 0.15357,
    "h": 148.1
  },
  "luminance": 0.23404
}

Semantic roles & 50–950 ramp

primary
#2A9847
secondary
#BB62A4
accent
#48B8E0
background
#F7FBF7
surface
#EDF6EE
border
#C8D0C9
text
#091109
muted
#7B807B

Preview Lab

Preview with #2A9847

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

Preview Lab → · Contrast checker → · Palette generator →

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