#2A8E37#2A8E37

#2A8E37 is a mid, vivid green. Relative luminance 0.201; OKLCH L 57.0% C 0.155 H 145.2°. Best body text is #000000 at 5.02:1 contrast (WCAG AA passes).

Color values

HEX#2A8E37
RGBrgb(42, 142, 55)
HSLhsl(128, 54%, 36%)
HSVhsv(128, 70%, 56%)
CMYKcmyk(70.4%, 0%, 61.3%, 44.3%)
CIE-LABlab(51.96, -46.97, 37.45)
CIE-LCHlch(51.96, 60.07, 141.44°)
OKLaboklab(57.03% -0.1269 0.0882)
OKLCHoklch(57.03% 0.155 145.2)
XYZxyz(11.3167, 20.1129, 6.8995)
Luminance0.2011 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2A8E37 #8E2A81
analogous
#4F8E2A #2A8E37 #2A8E69
triadic
#2A8E37 #372A8E #8E372A
tetradic
#2A8E37 #2A4F8E #8E2A81 #8E692A
square
#2A8E37 #2A4F8E #8E2A81 #8E692A
split-complementary
#2A8E37 #692A8E #8E2A4F
monochromatic
#0E3012 #1C5F25 #2A8E37 #38BD49 #62D170

Accessibility & contrast

On white

4.18
#2A8E37 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.02
#2A8E37 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #2A8E37
5.02:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2A8E37#FFFFFF#000000##000000
##2A8E371.004.185.025.02
#FFFFFF4.181.0021.0021.00
#0000005.0221.001.001.00
##0000005.0221.001.001.00

Color blindness preview

Protanopia (red-blind)
#90812E
Deuteranopia (green-blind)
#84793E
Tritanopia (blue-blind)
#058A7B
Achromatopsia (no color)
#7C7C7C

Design tokens & code

CSS
--color: #2a8e37;
/* rgb */ color: rgb(42, 142, 55);
/* oklch */ color: oklch(57.0% 0.155 145.2);
Tailwind
colors: {
  custom: {
    50: '#72b071',
    500: '#2a8e37',
    950: '#000000',
  },
}
SCSS
$custom: #2a8e37;
$custom-light: #72b071;
$custom-dark: #000000;
JSON
{
  "hex": "#2a8e37",
  "rgb": {
    "r": 42,
    "g": 142,
    "b": 55
  },
  "hsl": {
    "h": 127.8,
    "s": 54.348,
    "l": 36.078
  },
  "oklch": {
    "l": 0.57027,
    "c": 0.15457,
    "h": 145.2
  },
  "luminance": 0.20114
}

Semantic roles & 50–950 ramp

primary
#2A8E37
secondary
#B65DAB
accent
#4ACBDE
background
#F7FAF6
surface
#EDF5EC
border
#C8CFC7
text
#091108
muted
#7B807B

Preview Lab

Preview with #2A8E37

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

Preview Lab → · Contrast checker → · Palette generator →

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