#2A9452#2A9452

#2A9452 is a mid, vivid green. Relative luminance 0.223; OKLCH L 59.1% C 0.138 H 151.7°. Best body text is #000000 at 5.46:1 contrast (WCAG AA passes).

Color values

HEX#2A9452
RGBrgb(42, 148, 82)
HSLhsl(143, 56%, 37%)
HSVhsv(143, 72%, 58%)
CMYKcmyk(71.6%, 0%, 44.6%, 42%)
CIE-LABlab(54.32, -45.06, 26.45)
CIE-LCHlch(54.32, 52.25, 149.58°)
OKLaboklab(59.09% -0.1214 0.0652)
OKLCHoklch(59.09% 0.138 151.7)
XYZxyz(13.0666, 22.2798, 11.5928)
Luminance0.2228 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2A9452 #942A6C
analogous
#37942A #2A9452 #2A9487
triadic
#2A9452 #522A94 #94522A
tetradic
#2A9452 #2A3794 #942A6C #94872A
square
#2A9452 #2A3794 #942A6C #94872A
split-complementary
#2A9452 #872A94 #942A37
monochromatic
#0F351D #1C6438 #2A9452 #38C46C #65D38F

Accessibility & contrast

On white

3.85
#2A9452 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.46
#2A9452 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #2A9452
5.46:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2A9452#FFFFFF#000000##000000
##2A94521.003.855.465.46
#FFFFFF3.851.0021.0021.00
#0000005.4621.001.001.00
##0000005.4621.001.001.00

Color blindness preview

Protanopia (red-blind)
#94874D
Deuteranopia (green-blind)
#877E57
Tritanopia (blue-blind)
#009284
Achromatopsia (no color)
#828282

Design tokens & code

CSS
--color: #2a9452;
/* rgb */ color: rgb(42, 148, 82);
/* oklch */ color: oklch(59.1% 0.138 151.7);
Tailwind
colors: {
  custom: {
    50: '#72b483',
    500: '#2a9452',
    950: '#000000',
  },
}
SCSS
$custom: #2a9452;
$custom-light: #72b483;
$custom-dark: #000000;
JSON
{
  "hex": "#2a9452",
  "rgb": {
    "r": 42,
    "g": 148,
    "b": 82
  },
  "hsl": {
    "h": 142.642,
    "s": 55.789,
    "l": 37.255
  },
  "oklch": {
    "l": 0.59093,
    "c": 0.13781,
    "h": 151.7
  },
  "luminance": 0.22281
}

Semantic roles & 50–950 ramp

primary
#2A9452
secondary
#B96098
accent
#49A6DF
background
#F7FBF8
surface
#EDF6EF
border
#C8D0CA
text
#09110B
muted
#7B807C

Preview Lab

Preview with #2A9452

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

Preview Lab → · Contrast checker → · Palette generator →

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