#2A9746#2A9746

#2A9746 is a mid, vivid green. Relative luminance 0.231; OKLCH L 59.7% C 0.153 H 147.9°. Best body text is #000000 at 5.61:1 contrast (WCAG AA passes).

Color values

HEX#2A9746
RGBrgb(42, 151, 70)
HSLhsl(135, 56%, 38%)
HSVhsv(135, 72%, 59%)
CMYKcmyk(72.2%, 0%, 53.6%, 40.8%)
CIE-LABlab(55.14, -48.20, 33.78)
CIE-LCHlch(55.14, 58.86, 144.97°)
OKLaboklab(59.71% -0.1298 0.0813)
OKLCHoklch(59.71% 0.153 147.9)
XYZxyz(13.1260, 23.0662, 9.5536)
Luminance0.2307 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2A9746 #972A7B
analogous
#44972A #2A9746 #2A977C
triadic
#2A9746 #462A97 #97462A
tetradic
#2A9746 #2A4497 #972A7B #977C2A
square
#2A9746 #2A4497 #972A7B #977C2A
split-complementary
#2A9746 #7C2A97 #972A44
monochromatic
#0F371A #1D6730 #2A9746 #37C75C #67D583

Accessibility & contrast

On white

3.74
#2A9746 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.61
#2A9746 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #2A9746
5.61:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2A9746#FFFFFF#000000##000000
##2A97461.003.745.615.61
#FFFFFF3.741.0021.0021.00
#0000005.6121.001.001.00
##0000005.6121.001.001.00

Color blindness preview

Protanopia (red-blind)
#99893F
Deuteranopia (green-blind)
#8C804C
Tritanopia (blue-blind)
#009485
Achromatopsia (no color)
#848484

Design tokens & code

CSS
--color: #2a9746;
/* rgb */ color: rgb(42, 151, 70);
/* oklch */ color: oklch(59.7% 0.153 147.9);
Tailwind
colors: {
  custom: {
    50: '#73b77b',
    500: '#2a9746',
    950: '#000000',
  },
}
SCSS
$custom: #2a9746;
$custom-light: #73b77b;
$custom-dark: #000000;
JSON
{
  "hex": "#2a9746",
  "rgb": {
    "r": 42,
    "g": 151,
    "b": 70
  },
  "hsl": {
    "h": 135.413,
    "s": 56.477,
    "l": 37.843
  },
  "oklch": {
    "l": 0.59712,
    "c": 0.15316,
    "h": 147.9
  },
  "luminance": 0.23068
}

Semantic roles & 50–950 ramp

primary
#2A9746
secondary
#BB62A4
accent
#48B9E0
background
#F7FBF7
surface
#EDF6EE
border
#C8D0C9
text
#091109
muted
#7B807B

Preview Lab

Preview with #2A9746

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

Preview Lab → · Contrast checker → · Palette generator →

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