#2A8E40#2A8E40

#2A8E40 is a mid, vivid green. Relative luminance 0.202; OKLCH L 57.1% C 0.147 H 147.2°. Best body text is #000000 at 5.04:1 contrast (WCAG AA passes).

Color values

HEX#2A8E40
RGBrgb(42, 142, 64)
HSLhsl(133, 54%, 36%)
HSVhsv(133, 70%, 56%)
CMYKcmyk(70.4%, 0%, 54.9%, 44.3%)
CIE-LABlab(52.07, -45.73, 33.11)
CIE-LCHlch(52.07, 56.46, 144.10°)
OKLaboklab(57.15% -0.1233 0.0794)
OKLCHoklch(57.15% 0.147 147.2)
XYZxyz(11.5524, 20.2072, 8.1410)
Luminance0.2021 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2A8E40 #8E2A78
analogous
#468E2A #2A8E40 #2A8E72
triadic
#2A8E40 #402A8E #8E402A
tetradic
#2A8E40 #2A468E #8E2A78 #8E722A
square
#2A8E40 #2A468E #8E2A78 #8E722A
split-complementary
#2A8E40 #722A8E #8E2A46
monochromatic
#0E3015 #1C5F2B #2A8E40 #38BD55 #62D17A

Accessibility & contrast

On white

4.17
#2A8E40 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.04
#2A8E40 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #2A8E40
5.04:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2A8E40#FFFFFF#000000##000000
##2A8E401.004.175.045.04
#FFFFFF4.171.0021.0021.00
#0000005.0421.001.001.00
##0000005.0421.001.001.00

Color blindness preview

Protanopia (red-blind)
#908139
Deuteranopia (green-blind)
#847946
Tritanopia (blue-blind)
#008B7C
Achromatopsia (no color)
#7C7C7C

Design tokens & code

CSS
--color: #2a8e40;
/* rgb */ color: rgb(42, 142, 64);
/* oklch */ color: oklch(57.1% 0.147 147.2);
Tailwind
colors: {
  custom: {
    50: '#72b077',
    500: '#2a8e40',
    950: '#000000',
  },
}
SCSS
$custom: #2a8e40;
$custom-light: #72b077;
$custom-dark: #000000;
JSON
{
  "hex": "#2a8e40",
  "rgb": {
    "r": 42,
    "g": 142,
    "b": 64
  },
  "hsl": {
    "h": 133.2,
    "s": 54.348,
    "l": 36.078
  },
  "oklch": {
    "l": 0.57149,
    "c": 0.14667,
    "h": 147.2
  },
  "luminance": 0.20208
}

Semantic roles & 50–950 ramp

primary
#2A8E40
secondary
#B65DA3
accent
#4ABDDE
background
#F7FAF7
surface
#EDF5ED
border
#C8CFC8
text
#091109
muted
#7B807B

Preview Lab

Preview with #2A8E40

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

Preview Lab → · Contrast checker → · Palette generator →

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