#2A9A42#2A9A42

#2A9A42 is a mid, vivid green. Relative luminance 0.240; OKLCH L 60.5% C 0.161 H 146.8°. Best body text is #000000 at 5.80:1 contrast (WCAG AA passes).

Color values

HEX#2A9A42
RGBrgb(42, 154, 66)
HSLhsl(133, 57%, 38%)
HSVhsv(133, 73%, 60%)
CMYKcmyk(72.7%, 0%, 57.1%, 39.6%)
CIE-LABlab(56.08, -49.87, 36.92)
CIE-LCHlch(56.08, 62.05, 143.49°)
OKLaboklab(60.48% -0.1344 0.088)
OKLCHoklch(60.48% 0.161 146.8)
XYZxyz(13.4928, 23.9953, 9.0737)
Luminance0.2400 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2A9A42 #9A2A82
analogous
#4A9A2A #2A9A42 #2A9A7A
triadic
#2A9A42 #422A9A #9A422A
tetradic
#2A9A42 #2A4A9A #9A2A82 #9A7A2A
square
#2A9A42 #2A4A9A #9A2A82 #9A7A2A
split-complementary
#2A9A42 #7A2A9A #9A2A4A
monochromatic
#103A19 #1D6A2D #2A9A42 #38C957 #68D680

Accessibility & contrast

On white

3.62
#2A9A42 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.80
#2A9A42 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #2A9A42
5.80:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2A9A42#FFFFFF#000000##000000
##2A9A421.003.625.805.80
#FFFFFF3.621.0021.0021.00
#0000005.8021.001.001.00
##0000005.8021.001.001.00

Color blindness preview

Protanopia (red-blind)
#9C8C3A
Deuteranopia (green-blind)
#8F8349
Tritanopia (blue-blind)
#009686
Achromatopsia (no color)
#868686

Design tokens & code

CSS
--color: #2a9a42;
/* rgb */ color: rgb(42, 154, 66);
/* oklch */ color: oklch(60.5% 0.161 146.8);
Tailwind
colors: {
  custom: {
    50: '#74b979',
    500: '#2a9a42',
    950: '#000000',
  },
}
SCSS
$custom: #2a9a42;
$custom-light: #74b979;
$custom-dark: #000000;
JSON
{
  "hex": "#2a9a42",
  "rgb": {
    "r": 42,
    "g": 154,
    "b": 66
  },
  "hsl": {
    "h": 132.857,
    "s": 57.143,
    "l": 38.431
  },
  "oklch": {
    "l": 0.60476,
    "c": 0.16063,
    "h": 146.8
  },
  "luminance": 0.23997
}

Semantic roles & 50–950 ramp

primary
#2A9A42
secondary
#BC63A9
accent
#47C0E0
background
#F7FBF7
surface
#EEF6ED
border
#C9D0C8
text
#091209
muted
#7B817B

Preview Lab

Preview with #2A9A42

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

Preview Lab → · Contrast checker → · Palette generator →

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