#2A9D42#2A9D42

#2A9D42 is a mid, vivid green. Relative luminance 0.250; OKLCH L 61.3% C 0.164 H 146.6°. Best body text is #000000 at 6.00:1 contrast (WCAG AA passes).

Color values

HEX#2A9D42
RGBrgb(42, 157, 66)
HSLhsl(133, 58%, 39%)
HSVhsv(133, 73%, 62%)
CMYKcmyk(73.2%, 0%, 58%, 38.4%)
CIE-LABlab(57.07, -50.95, 38.10)
CIE-LCHlch(57.07, 63.62, 143.21°)
OKLaboklab(61.3% -0.1373 0.0905)
OKLCHoklch(61.3% 0.164 146.6)
XYZxyz(13.9942, 24.9980, 9.2408)
Luminance0.2500 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2A9D42 #9D2A85
analogous
#4C9D2A #2A9D42 #2A9D7C
triadic
#2A9D42 #422A9D #9D422A
tetradic
#2A9D42 #2A4C9D #9D2A85 #9D7C2A
square
#2A9D42 #2A4C9D #9D2A85 #9D7C2A
split-complementary
#2A9D42 #7C2A9D #9D2A4C
monochromatic
#103C19 #1D6D2E #2A9D42 #3ACA58 #6AD781

Accessibility & contrast

On white

3.50
#2A9D42 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.00
#2A9D42 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #2A9D42
6.00:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2A9D42#FFFFFF#000000##000000
##2A9D421.003.506.006.00
#FFFFFF3.501.0021.0021.00
#0000006.0021.001.001.00
##0000006.0021.001.001.00

Color blindness preview

Protanopia (red-blind)
#9F8F39
Deuteranopia (green-blind)
#928549
Tritanopia (blue-blind)
#009989
Achromatopsia (no color)
#898989

Design tokens & code

CSS
--color: #2a9d42;
/* rgb */ color: rgb(42, 157, 66);
/* oklch */ color: oklch(61.3% 0.164 146.6);
Tailwind
colors: {
  custom: {
    50: '#75bb79',
    500: '#2a9d42',
    950: '#000000',
  },
}
SCSS
$custom: #2a9d42;
$custom-light: #75bb79;
$custom-dark: #000000;
JSON
{
  "hex": "#2a9d42",
  "rgb": {
    "r": 42,
    "g": 157,
    "b": 66
  },
  "hsl": {
    "h": 132.522,
    "s": 57.789,
    "l": 39.02
  },
  "oklch": {
    "l": 0.61296,
    "c": 0.16447,
    "h": 146.6
  },
  "luminance": 0.25
}

Semantic roles & 50–950 ramp

primary
#2A9D42
secondary
#BE65AB
accent
#47C1E1
background
#F7FBF7
surface
#EEF6ED
border
#C9D0C8
text
#0A1209
muted
#7C817B

Preview Lab

Preview with #2A9D42

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

Preview Lab → · Contrast checker → · Palette generator →

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