#2A9841#2A9841

#2A9841 is a mid, vivid green. Relative luminance 0.233; OKLCH L 59.9% C 0.159 H 146.7°. Best body text is #000000 at 5.67:1 contrast (WCAG AA passes).

Color values

HEX#2A9841
RGBrgb(42, 152, 65)
HSLhsl(133, 57%, 38%)
HSVhsv(133, 72%, 60%)
CMYKcmyk(72.4%, 0%, 57.2%, 40.4%)
CIE-LABlab(55.41, -49.29, 36.61)
CIE-LCHlch(55.41, 61.40, 143.39°)
OKLaboklab(59.92% -0.1328 0.0872)
OKLCHoklch(59.92% 0.159 146.7)
XYZxyz(13.1363, 23.3289, 8.8106)
Luminance0.2333 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2A9841 #982A81
analogous
#4A982A #2A9841 #2A9878
triadic
#2A9841 #412A98 #98412A
tetradic
#2A9841 #2A4A98 #982A81 #98782A
square
#2A9841 #2A4A98 #982A81 #98782A
split-complementary
#2A9841 #782A98 #982A4A
monochromatic
#103818 #1D682C #2A9841 #37C856 #67D57E

Accessibility & contrast

On white

3.71
#2A9841 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.67
#2A9841 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #2A9841
5.67:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2A9841#FFFFFF#000000##000000
##2A98411.003.715.675.67
#FFFFFF3.711.0021.0021.00
#0000005.6721.001.001.00
##0000005.6721.001.001.00

Color blindness preview

Protanopia (red-blind)
#9A8A39
Deuteranopia (green-blind)
#8D8148
Tritanopia (blue-blind)
#009485
Achromatopsia (no color)
#858585

Design tokens & code

CSS
--color: #2a9841;
/* rgb */ color: rgb(42, 152, 65);
/* oklch */ color: oklch(59.9% 0.159 146.7);
Tailwind
colors: {
  custom: {
    50: '#74b778',
    500: '#2a9841',
    950: '#000000',
  },
}
SCSS
$custom: #2a9841;
$custom-light: #74b778;
$custom-dark: #000000;
JSON
{
  "hex": "#2a9841",
  "rgb": {
    "r": 42,
    "g": 152,
    "b": 65
  },
  "hsl": {
    "h": 132.545,
    "s": 56.701,
    "l": 38.039
  },
  "oklch": {
    "l": 0.59915,
    "c": 0.15892,
    "h": 146.7
  },
  "luminance": 0.2333
}

Semantic roles & 50–950 ramp

primary
#2A9841
secondary
#BB62A9
accent
#48C0E0
background
#F7FBF7
surface
#EEF6ED
border
#C9D0C8
text
#091109
muted
#7B807B

Preview Lab

Preview with #2A9841

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

Preview Lab → · Contrast checker → · Palette generator →

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