#2A9542#2A9542

#2A9542 is a mid, vivid green. Relative luminance 0.224; OKLCH L 59.1% C 0.154 H 147.1°. Best body text is #000000 at 5.48:1 contrast (WCAG AA passes).

Color values

HEX#2A9542
RGBrgb(42, 149, 66)
HSLhsl(133, 56%, 37%)
HSVhsv(133, 72%, 58%)
CMYKcmyk(71.8%, 0%, 55.7%, 41.6%)
CIE-LABlab(54.43, -48.05, 34.94)
CIE-LCHlch(54.43, 59.41, 143.98°)
OKLaboklab(59.11% -0.1295 0.0836)
OKLCHoklch(59.11% 0.154 147.1)
XYZxyz(12.6847, 22.3791, 8.8043)
Luminance0.2238 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2A9542 #952A7D
analogous
#47952A #2A9542 #2A9578
triadic
#2A9542 #422A95 #95422A
tetradic
#2A9542 #2A4795 #952A7D #95782A
square
#2A9542 #2A4795 #952A7D #95782A
split-complementary
#2A9542 #782A95 #952A47
monochromatic
#0F3618 #1D652D #2A9542 #37C557 #66D47E

Accessibility & contrast

On white

3.83
#2A9542 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.48
#2A9542 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #2A9542
5.48:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2A9542#FFFFFF#000000##000000
##2A95421.003.835.485.48
#FFFFFF3.831.0021.0021.00
#0000005.4821.001.001.00
##0000005.4821.001.001.00

Color blindness preview

Protanopia (red-blind)
#97883A
Deuteranopia (green-blind)
#8A7F48
Tritanopia (blue-blind)
#009282
Achromatopsia (no color)
#828282

Design tokens & code

CSS
--color: #2a9542;
/* rgb */ color: rgb(42, 149, 66);
/* oklch */ color: oklch(59.1% 0.154 147.1);
Tailwind
colors: {
  custom: {
    50: '#73b578',
    500: '#2a9542',
    950: '#000000',
  },
}
SCSS
$custom: #2a9542;
$custom-light: #73b578;
$custom-dark: #000000;
JSON
{
  "hex": "#2a9542",
  "rgb": {
    "r": 42,
    "g": 149,
    "b": 66
  },
  "hsl": {
    "h": 133.458,
    "s": 56.021,
    "l": 37.451
  },
  "oklch": {
    "l": 0.59106,
    "c": 0.15413,
    "h": 147.1
  },
  "luminance": 0.2238
}

Semantic roles & 50–950 ramp

primary
#2A9542
secondary
#BA61A6
accent
#48BDDF
background
#F7FBF7
surface
#EDF6ED
border
#C8D0C8
text
#091109
muted
#7B807B

Preview Lab

Preview with #2A9542

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

Preview Lab → · Contrast checker → · Palette generator →

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