#2A9546#2A9546

#2A9546 is a mid, vivid green. Relative luminance 0.224; OKLCH L 59.2% C 0.151 H 148.1°. Best body text is #000000 at 5.49:1 contrast (WCAG AA passes).

Color values

HEX#2A9546
RGBrgb(42, 149, 70)
HSLhsl(136, 56%, 37%)
HSVhsv(136, 72%, 58%)
CMYKcmyk(71.8%, 0%, 53%, 41.6%)
CIE-LABlab(54.48, -47.45, 32.97)
CIE-LCHlch(54.48, 57.78, 145.21°)
OKLaboklab(59.17% -0.1278 0.0795)
OKLCHoklch(59.17% 0.151 148.1)
XYZxyz(12.8068, 22.4279, 9.4472)
Luminance0.2243 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2A9546 #952A79
analogous
#43952A #2A9546 #2A957C
triadic
#2A9546 #462A95 #95462A
tetradic
#2A9546 #2A4395 #952A79 #957C2A
square
#2A9546 #2A4395 #952A79 #957C2A
split-complementary
#2A9546 #7C2A95 #952A43
monochromatic
#0F3619 #1D6530 #2A9546 #37C55C #66D482

Accessibility & contrast

On white

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

On black

5.49
#2A9546 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #2A9546
5.49:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2A9546#FFFFFF#000000##000000
##2A95461.003.835.495.49
#FFFFFF3.831.0021.0021.00
#0000005.4921.001.001.00
##0000005.4921.001.001.00

Color blindness preview

Protanopia (red-blind)
#97883F
Deuteranopia (green-blind)
#8A7F4C
Tritanopia (blue-blind)
#009283
Achromatopsia (no color)
#828282

Design tokens & code

CSS
--color: #2a9546;
/* rgb */ color: rgb(42, 149, 70);
/* oklch */ color: oklch(59.2% 0.151 148.1);
Tailwind
colors: {
  custom: {
    50: '#73b57b',
    500: '#2a9546',
    950: '#000000',
  },
}
SCSS
$custom: #2a9546;
$custom-light: #73b57b;
$custom-dark: #000000;
JSON
{
  "hex": "#2a9546",
  "rgb": {
    "r": 42,
    "g": 149,
    "b": 70
  },
  "hsl": {
    "h": 135.701,
    "s": 56.021,
    "l": 37.451
  },
  "oklch": {
    "l": 0.59165,
    "c": 0.15051,
    "h": 148.1
  },
  "luminance": 0.22429
}

Semantic roles & 50–950 ramp

primary
#2A9546
secondary
#BA61A3
accent
#48B8DF
background
#F7FBF7
surface
#EDF6EE
border
#C8D0C9
text
#091109
muted
#7B807B

Preview Lab

Preview with #2A9546

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

Preview Lab → · Contrast checker → · Palette generator →

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