#2A8E30#2A8E30

#2A8E30 is a mid, vivid green. Relative luminance 0.201; OKLCH L 56.9% C 0.160 H 143.9°. Best body text is #000000 at 5.01:1 contrast (WCAG AA passes).

Color values

HEX#2A8E30
RGBrgb(42, 142, 48)
HSLhsl(124, 54%, 36%)
HSVhsv(124, 70%, 56%)
CMYKcmyk(70.4%, 0%, 66.2%, 44.3%)
CIE-LABlab(51.89, -47.80, 40.62)
CIE-LCHlch(51.89, 62.73, 139.64°)
OKLaboklab(56.95% -0.1295 0.0943)
OKLCHoklch(56.95% 0.16 143.9)
XYZxyz(11.1606, 20.0504, 6.0777)
Luminance0.2005 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2A8E30 #8E2A88
analogous
#568E2A #2A8E30 #2A8E62
triadic
#2A8E30 #302A8E #8E302A
tetradic
#2A8E30 #2A568E #8E2A88 #8E622A
square
#2A8E30 #2A568E #8E2A88 #8E622A
split-complementary
#2A8E30 #622A8E #8E2A56
monochromatic
#0E3010 #1C5F20 #2A8E30 #38BD40 #62D169

Accessibility & contrast

On white

4.19
#2A8E30 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.01
#2A8E30 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #2A8E30
5.01:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2A8E30#FFFFFF#000000##000000
##2A8E301.004.195.015.01
#FFFFFF4.191.0021.0021.00
#0000005.0121.001.001.00
##0000005.0121.001.001.00

Color blindness preview

Protanopia (red-blind)
#918124
Deuteranopia (green-blind)
#857938
Tritanopia (blue-blind)
#0A8A7A
Achromatopsia (no color)
#7C7C7C

Design tokens & code

CSS
--color: #2a8e30;
/* rgb */ color: rgb(42, 142, 48);
/* oklch */ color: oklch(56.9% 0.160 143.9);
Tailwind
colors: {
  custom: {
    50: '#72b06d',
    500: '#2a8e30',
    950: '#000000',
  },
}
SCSS
$custom: #2a8e30;
$custom-light: #72b06d;
$custom-dark: #000000;
JSON
{
  "hex": "#2a8e30",
  "rgb": {
    "r": 42,
    "g": 142,
    "b": 48
  },
  "hsl": {
    "h": 123.6,
    "s": 54.348,
    "l": 36.078
  },
  "oklch": {
    "l": 0.56946,
    "c": 0.1602,
    "h": 143.9
  },
  "luminance": 0.20052
}

Semantic roles & 50–950 ramp

primary
#2A8E30
secondary
#B65DB1
accent
#4AD5DE
background
#F7FAF6
surface
#EDF5EC
border
#C8CFC7
text
#091107
muted
#7B807A

Preview Lab

Preview with #2A8E30

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

Preview Lab → · Contrast checker → · Palette generator →

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