#2A8D4E#2A8D4E

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

Color values

HEX#2A8D4E
RGBrgb(42, 141, 78)
HSLhsl(142, 54%, 36%)
HSVhsv(142, 70%, 55%)
CMYKcmyk(70.2%, 0%, 44.7%, 44.7%)
CIE-LABlab(51.94, -43.03, 25.54)
CIE-LCHlch(51.94, 50.04, 149.31°)
OKLaboklab(57.11% -0.116 0.063)
OKLCHoklch(57.11% 0.132 151.5)
XYZxyz(11.8539, 20.0908, 10.4594)
Luminance0.2009 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2A8D4E #8D2A69
analogous
#378D2A #2A8D4E #2A8D7F
triadic
#2A8D4E #4E2A8D #8D4E2A
tetradic
#2A8D4E #2A378D #8D2A69 #8D7F2A
square
#2A8D4E #2A378D #8D2A69 #8D7F2A
split-complementary
#2A8D4E #7F2A8D #8D2A37
monochromatic
#0E2F1A #1C5E34 #2A8D4E #38BC68 #61D08A

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##2A8D4E#FFFFFF#000000##000000
##2A8D4E1.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)
#8D8149
Deuteranopia (green-blind)
#817852
Tritanopia (blue-blind)
#008B7E
Achromatopsia (no color)
#7C7C7C

Design tokens & code

CSS
--color: #2a8d4e;
/* rgb */ color: rgb(42, 141, 78);
/* oklch */ color: oklch(57.1% 0.132 151.5);
Tailwind
colors: {
  custom: {
    50: '#71af80',
    500: '#2a8d4e',
    950: '#000000',
  },
}
SCSS
$custom: #2a8d4e;
$custom-light: #71af80;
$custom-dark: #000000;
JSON
{
  "hex": "#2a8d4e",
  "rgb": {
    "r": 42,
    "g": 141,
    "b": 78
  },
  "hsl": {
    "h": 141.818,
    "s": 54.098,
    "l": 35.882
  },
  "oklch": {
    "l": 0.57107,
    "c": 0.13199,
    "h": 151.5
  },
  "luminance": 0.20092
}

Semantic roles & 50–950 ramp

primary
#2A8D4E
secondary
#B65D96
accent
#4AA8DD
background
#F7FAF7
surface
#EDF5EE
border
#C8CFC9
text
#09100A
muted
#7B7F7C

Preview Lab

Preview with #2A8D4E

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

Preview Lab → · Contrast checker → · Palette generator →

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