#2A9754#2A9754

#2A9754 is a mid, vivid green. Relative luminance 0.233; OKLCH L 59.9% C 0.140 H 151.9°. Best body text is #000000 at 5.65:1 contrast (WCAG AA passes).

Color values

HEX#2A9754
RGBrgb(42, 151, 84)
HSLhsl(143, 56%, 38%)
HSVhsv(143, 72%, 59%)
CMYKcmyk(72.2%, 0%, 44.4%, 40.8%)
CIE-LABlab(55.34, -45.86, 26.70)
CIE-LCHlch(55.34, 53.07, 149.80°)
OKLaboklab(59.95% -0.1235 0.0659)
OKLCHoklch(59.95% 0.14 151.9)
XYZxyz(13.6205, 23.2640, 12.1584)
Luminance0.2327 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2A9754 #972A6D
analogous
#37972A #2A9754 #2A978A
triadic
#2A9754 #542A97 #97542A
tetradic
#2A9754 #2A3797 #972A6D #978A2A
square
#2A9754 #2A3797 #972A6D #978A2A
split-complementary
#2A9754 #8A2A97 #972A37
monochromatic
#0F371F #1D6739 #2A9754 #37C76F #67D591

Accessibility & contrast

On white

3.71
#2A9754 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.65
#2A9754 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #2A9754
5.65:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2A9754#FFFFFF#000000##000000
##2A97541.003.715.655.65
#FFFFFF3.711.0021.0021.00
#0000005.6521.001.001.00
##0000005.6521.001.001.00

Color blindness preview

Protanopia (red-blind)
#978A4F
Deuteranopia (green-blind)
#8A8159
Tritanopia (blue-blind)
#009587
Achromatopsia (no color)
#858585

Design tokens & code

CSS
--color: #2a9754;
/* rgb */ color: rgb(42, 151, 84);
/* oklch */ color: oklch(59.9% 0.140 151.9);
Tailwind
colors: {
  custom: {
    50: '#73b685',
    500: '#2a9754',
    950: '#000000',
  },
}
SCSS
$custom: #2a9754;
$custom-light: #73b685;
$custom-dark: #000000;
JSON
{
  "hex": "#2a9754",
  "rgb": {
    "r": 42,
    "g": 151,
    "b": 84
  },
  "hsl": {
    "h": 143.119,
    "s": 56.477,
    "l": 37.843
  },
  "oklch": {
    "l": 0.59946,
    "c": 0.14,
    "h": 151.9
  },
  "luminance": 0.23266
}

Semantic roles & 50–950 ramp

primary
#2A9754
secondary
#BB6299
accent
#48A5E0
background
#F7FBF8
surface
#EDF6EF
border
#C8D0CA
text
#09110B
muted
#7B807C

Preview Lab

Preview with #2A9754

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

Preview Lab → · Contrast checker → · Palette generator →

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