#2A9957#2A9957

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

Color values

HEX#2A9957
RGBrgb(42, 153, 87)
HSLhsl(144, 57%, 38%)
HSVhsv(144, 73%, 60%)
CMYKcmyk(72.5%, 0%, 43.1%, 40%)
CIE-LABlab(56.05, -46.09, 26.00)
CIE-LCHlch(56.05, 52.91, 150.57°)
OKLaboklab(60.54% -0.1242 0.0643)
OKLCHoklch(60.54% 0.14 152.6)
XYZxyz(14.0652, 23.9612, 12.8987)
Luminance0.2396 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2A9957 #992A6C
analogous
#35992A #2A9957 #2A998E
triadic
#2A9957 #572A99 #99572A
tetradic
#2A9957 #2A3599 #992A6C #998E2A
square
#2A9957 #2A3599 #992A6C #998E2A
split-complementary
#2A9957 #8E2A99 #992A35
monochromatic
#103920 #1D693C #2A9957 #38C872 #68D694

Accessibility & contrast

On white

3.63
#2A9957 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.79
#2A9957 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #2A9957
5.79:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2A9957#FFFFFF#000000##000000
##2A99571.003.635.795.79
#FFFFFF3.631.0021.0021.00
#0000005.7921.001.001.00
##0000005.7921.001.001.00

Color blindness preview

Protanopia (red-blind)
#998C52
Deuteranopia (green-blind)
#8C835B
Tritanopia (blue-blind)
#009789
Achromatopsia (no color)
#868686

Design tokens & code

CSS
--color: #2a9957;
/* rgb */ color: rgb(42, 153, 87);
/* oklch */ color: oklch(60.5% 0.140 152.6);
Tailwind
colors: {
  custom: {
    50: '#73b887',
    500: '#2a9957',
    950: '#000000',
  },
}
SCSS
$custom: #2a9957;
$custom-light: #73b887;
$custom-dark: #000000;
JSON
{
  "hex": "#2a9957",
  "rgb": {
    "r": 42,
    "g": 153,
    "b": 87
  },
  "hsl": {
    "h": 144.324,
    "s": 56.923,
    "l": 38.235
  },
  "oklch": {
    "l": 0.60544,
    "c": 0.13985,
    "h": 152.6
  },
  "luminance": 0.23963
}

Semantic roles & 50–950 ramp

primary
#2A9957
secondary
#BC6398
accent
#48A2E0
background
#F7FBF8
surface
#EDF6EF
border
#C8D0CA
text
#09110B
muted
#7B807C

Preview Lab

Preview with #2A9957

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

Preview Lab → · Contrast checker → · Palette generator →

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