#2A8F4E#2A8F4E

#2A8F4E is a mid, vivid green. Relative luminance 0.207; OKLCH L 57.7% C 0.135 H 151.2°. Best body text is #000000 at 5.14:1 contrast (WCAG AA passes).

Color values

HEX#2A8F4E
RGBrgb(42, 143, 78)
HSLhsl(141, 55%, 36%)
HSVhsv(141, 71%, 56%)
CMYKcmyk(70.6%, 0%, 45.5%, 43.9%)
CIE-LABlab(52.60, -43.82, 26.40)
CIE-LCHlch(52.60, 51.16, 148.94°)
OKLaboklab(57.66% -0.1181 0.065)
OKLCHoklch(57.66% 0.135 151.2)
XYZxyz(12.1514, 20.6859, 10.5586)
Luminance0.2069 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2A8F4E #8F2A6B
analogous
#398F2A #2A8F4E #2A8F81
triadic
#2A8F4E #4E2A8F #8F4E2A
tetradic
#2A8F4E #2A398F #8F2A6B #8F812A
square
#2A8F4E #2A398F #8F2A6B #8F812A
split-complementary
#2A8F4E #812A8F #8F2A39
monochromatic
#0E301A #1C6034 #2A8F4E #38BE68 #62D18A

Accessibility & contrast

On white

4.09
#2A8F4E on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.14
#2A8F4E on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #2A8F4E
5.14:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2A8F4E#FFFFFF#000000##000000
##2A8F4E1.004.095.145.14
#FFFFFF4.091.0021.0021.00
#0000005.1421.001.001.00
##0000005.1421.001.001.00

Color blindness preview

Protanopia (red-blind)
#908349
Deuteranopia (green-blind)
#837A52
Tritanopia (blue-blind)
#008D7F
Achromatopsia (no color)
#7E7E7E

Design tokens & code

CSS
--color: #2a8f4e;
/* rgb */ color: rgb(42, 143, 78);
/* oklch */ color: oklch(57.7% 0.135 151.2);
Tailwind
colors: {
  custom: {
    50: '#71b180',
    500: '#2a8f4e',
    950: '#000000',
  },
}
SCSS
$custom: #2a8f4e;
$custom-light: #71b180;
$custom-dark: #000000;
JSON
{
  "hex": "#2a8f4e",
  "rgb": {
    "r": 42,
    "g": 143,
    "b": 78
  },
  "hsl": {
    "h": 141.386,
    "s": 54.595,
    "l": 36.275
  },
  "oklch": {
    "l": 0.57655,
    "c": 0.13477,
    "h": 151.2
  },
  "luminance": 0.20687
}

Semantic roles & 50–950 ramp

primary
#2A8F4E
secondary
#B75E97
accent
#4AA9DE
background
#F7FBF7
surface
#EDF6EE
border
#C8D0C9
text
#09110A
muted
#7B807C

Preview Lab

Preview with #2A8F4E

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

Preview Lab → · Contrast checker → · Palette generator →

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