#2A9857#2A9857

#2A9857 is a mid, vivid green. Relative luminance 0.236; OKLCH L 60.3% C 0.138 H 152.8°. Best body text is #000000 at 5.73:1 contrast (WCAG AA passes).

Color values

HEX#2A9857
RGBrgb(42, 152, 87)
HSLhsl(145, 57%, 38%)
HSVhsv(145, 72%, 60%)
CMYKcmyk(72.4%, 0%, 42.8%, 40.4%)
CIE-LABlab(55.72, -45.70, 25.57)
CIE-LCHlch(55.72, 52.37, 150.77°)
OKLaboklab(60.27% -0.1232 0.0633)
OKLCHoklch(60.27% 0.138 152.8)
XYZxyz(13.9022, 23.6353, 12.8444)
Luminance0.2364 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2A9857 #982A6B
analogous
#34982A #2A9857 #2A988E
triadic
#2A9857 #572A98 #98572A
tetradic
#2A9857 #2A3498 #982A6B #988E2A
square
#2A9857 #2A3498 #982A6B #988E2A
split-complementary
#2A9857 #8E2A98 #982A34
monochromatic
#103820 #1D683C #2A9857 #37C872 #67D594

Accessibility & contrast

On white

3.67
#2A9857 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.73
#2A9857 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #2A9857
5.73:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2A9857#FFFFFF#000000##000000
##2A98571.003.675.735.73
#FFFFFF3.671.0021.0021.00
#0000005.7321.001.001.00
##0000005.7321.001.001.00

Color blindness preview

Protanopia (red-blind)
#988B52
Deuteranopia (green-blind)
#8B825B
Tritanopia (blue-blind)
#009688
Achromatopsia (no color)
#858585

Design tokens & code

CSS
--color: #2a9857;
/* rgb */ color: rgb(42, 152, 87);
/* oklch */ color: oklch(60.3% 0.138 152.8);
Tailwind
colors: {
  custom: {
    50: '#73b787',
    500: '#2a9857',
    950: '#000000',
  },
}
SCSS
$custom: #2a9857;
$custom-light: #73b787;
$custom-dark: #000000;
JSON
{
  "hex": "#2a9857",
  "rgb": {
    "r": 42,
    "g": 152,
    "b": 87
  },
  "hsl": {
    "h": 144.545,
    "s": 56.701,
    "l": 38.039
  },
  "oklch": {
    "l": 0.60273,
    "c": 0.13849,
    "h": 152.8
  },
  "luminance": 0.23637
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #2A9857

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

Preview Lab → · Contrast checker → · Palette generator →

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