#2A8E4F#2A8E4F

#2A8E4F is a mid, vivid green. Relative luminance 0.204; OKLCH L 57.4% C 0.132 H 151.7°. Best body text is #000000 at 5.08:1 contrast (WCAG AA passes).

Color values

HEX#2A8E4F
RGBrgb(42, 142, 79)
HSLhsl(142, 54%, 36%)
HSVhsv(142, 70%, 56%)
CMYKcmyk(70.4%, 0%, 44.4%, 44.3%)
CIE-LABlab(52.29, -43.25, 25.45)
CIE-LCHlch(52.29, 50.18, 149.53°)
OKLaboklab(57.4% -0.1166 0.0628)
OKLCHoklch(57.4% 0.132 151.7)
XYZxyz(12.0381, 20.4014, 10.6991)
Luminance0.2040 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2A8E4F #8E2A69
analogous
#378E2A #2A8E4F #2A8E81
triadic
#2A8E4F #4F2A8E #8E4F2A
tetradic
#2A8E4F #2A378E #8E2A69 #8E812A
square
#2A8E4F #2A378E #8E2A69 #8E812A
split-complementary
#2A8E4F #812A8E #8E2A37
monochromatic
#0E301A #1C5F35 #2A8E4F #38BD69 #62D18B

Accessibility & contrast

On white

4.13
#2A8E4F on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.08
#2A8E4F on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #2A8E4F
5.08:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2A8E4F#FFFFFF#000000##000000
##2A8E4F1.004.135.085.08
#FFFFFF4.131.0021.0021.00
#0000005.0821.001.001.00
##0000005.0821.001.001.00

Color blindness preview

Protanopia (red-blind)
#8E824A
Deuteranopia (green-blind)
#827953
Tritanopia (blue-blind)
#008C7F
Achromatopsia (no color)
#7D7D7D

Design tokens & code

CSS
--color: #2a8e4f;
/* rgb */ color: rgb(42, 142, 79);
/* oklch */ color: oklch(57.4% 0.132 151.7);
Tailwind
colors: {
  custom: {
    50: '#71b081',
    500: '#2a8e4f',
    950: '#000000',
  },
}
SCSS
$custom: #2a8e4f;
$custom-light: #71b081;
$custom-dark: #000000;
JSON
{
  "hex": "#2a8e4f",
  "rgb": {
    "r": 42,
    "g": 142,
    "b": 79
  },
  "hsl": {
    "h": 142.2,
    "s": 54.348,
    "l": 36.078
  },
  "oklch": {
    "l": 0.57399,
    "c": 0.13241,
    "h": 151.7
  },
  "luminance": 0.20403
}

Semantic roles & 50–950 ramp

primary
#2A8E4F
secondary
#B65D95
accent
#4AA7DE
background
#F7FAF7
surface
#EDF5EE
border
#C8CFC9
text
#09100A
muted
#7B7F7C

Preview Lab

Preview with #2A8E4F

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

Preview Lab → · Contrast checker → · Palette generator →

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