#2A9846#2A9846

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

Color values

HEX#2A9846
RGBrgb(42, 152, 70)
HSLhsl(135, 57%, 38%)
HSVhsv(135, 72%, 60%)
CMYKcmyk(72.4%, 0%, 53.9%, 40.4%)
CIE-LABlab(55.47, -48.56, 34.19)
CIE-LCHlch(55.47, 59.39, 144.86°)
OKLaboklab(59.99% -0.1308 0.0822)
OKLCHoklch(59.99% 0.154 147.8)
XYZxyz(13.2876, 23.3894, 9.6075)
Luminance0.2339 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2A9846 #982A7C
analogous
#45982A #2A9846 #2A987D
triadic
#2A9846 #462A98 #98462A
tetradic
#2A9846 #2A4598 #982A7C #987D2A
square
#2A9846 #2A4598 #982A7C #987D2A
split-complementary
#2A9846 #7D2A98 #982A45
monochromatic
#10381A #1D6830 #2A9846 #37C85C #67D583

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##2A9846#FFFFFF#000000##000000
##2A98461.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)
#9A8A3F
Deuteranopia (green-blind)
#8D814C
Tritanopia (blue-blind)
#009585
Achromatopsia (no color)
#858585

Design tokens & code

CSS
--color: #2a9846;
/* rgb */ color: rgb(42, 152, 70);
/* oklch */ color: oklch(60.0% 0.154 147.8);
Tailwind
colors: {
  custom: {
    50: '#74b77b',
    500: '#2a9846',
    950: '#000000',
  },
}
SCSS
$custom: #2a9846;
$custom-light: #74b77b;
$custom-dark: #000000;
JSON
{
  "hex": "#2a9846",
  "rgb": {
    "r": 42,
    "g": 152,
    "b": 70
  },
  "hsl": {
    "h": 135.273,
    "s": 56.701,
    "l": 38.039
  },
  "oklch": {
    "l": 0.59986,
    "c": 0.15447,
    "h": 147.8
  },
  "luminance": 0.23391
}

Semantic roles & 50–950 ramp

primary
#2A9846
secondary
#BB62A5
accent
#48B9E0
background
#F7FBF7
surface
#EEF6EE
border
#C9D0C9
text
#091109
muted
#7B807B

Preview Lab

Preview with #2A9846

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

Preview Lab → · Contrast checker → · Palette generator →

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