#2A9954#2A9954

#2A9954 is a mid, vivid green. Relative luminance 0.239; OKLCH L 60.5% C 0.143 H 151.6°. Best body text is #000000 at 5.78:1 contrast (WCAG AA passes).

Color values

HEX#2A9954
RGBrgb(42, 153, 84)
HSLhsl(143, 57%, 38%)
HSVhsv(143, 73%, 60%)
CMYKcmyk(72.5%, 0%, 45.1%, 40%)
CIE-LABlab(56.00, -46.64, 27.55)
CIE-LCHlch(56.00, 54.16, 149.43°)
OKLaboklab(60.49% -0.1256 0.0678)
OKLCHoklch(60.49% 0.143 151.6)
XYZxyz(13.9451, 23.9132, 12.2666)
Luminance0.2392 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2A9954 #992A6F
analogous
#37992A #2A9954 #2A998B
triadic
#2A9954 #542A99 #99542A
tetradic
#2A9954 #2A3799 #992A6F #998B2A
square
#2A9954 #2A3799 #992A6F #998B2A
split-complementary
#2A9954 #8B2A99 #992A37
monochromatic
#10391F #1D693A #2A9954 #38C86F #68D691

Accessibility & contrast

On white

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

On black

5.78
#2A9954 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #2A9954
5.78:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2A9954#FFFFFF#000000##000000
##2A99541.003.635.785.78
#FFFFFF3.631.0021.0021.00
#0000005.7821.001.001.00
##0000005.7821.001.001.00

Color blindness preview

Protanopia (red-blind)
#998C4F
Deuteranopia (green-blind)
#8C8259
Tritanopia (blue-blind)
#009788
Achromatopsia (no color)
#868686

Design tokens & code

CSS
--color: #2a9954;
/* rgb */ color: rgb(42, 153, 84);
/* oklch */ color: oklch(60.5% 0.143 151.6);
Tailwind
colors: {
  custom: {
    50: '#73b885',
    500: '#2a9954',
    950: '#000000',
  },
}
SCSS
$custom: #2a9954;
$custom-light: #73b885;
$custom-dark: #000000;
JSON
{
  "hex": "#2a9954",
  "rgb": {
    "r": 42,
    "g": 153,
    "b": 84
  },
  "hsl": {
    "h": 142.703,
    "s": 56.923,
    "l": 38.235
  },
  "oklch": {
    "l": 0.60489,
    "c": 0.14273,
    "h": 151.6
  },
  "luminance": 0.23915
}

Semantic roles & 50–950 ramp

primary
#2A9954
secondary
#BC639A
accent
#48A6E0
background
#F7FBF8
surface
#EDF6EF
border
#C8D0CA
text
#09110B
muted
#7B807C

Preview Lab

Preview with #2A9954

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

Preview Lab → · Contrast checker → · Palette generator →

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