#2A8D28#2A8D28

#2A8D28 is a mid, vivid green. Relative luminance 0.197; OKLCH L 56.6% C 0.165 H 142.8°. Best body text is #000000 at 4.94:1 contrast (WCAG AA passes).

Color values

HEX#2A8D28
RGBrgb(42, 141, 40)
HSLhsl(119, 56%, 35%)
HSVhsv(119, 72%, 55%)
CMYKcmyk(70.2%, 0%, 71.6%, 44.7%)
CIE-LABlab(51.49, -48.26, 43.63)
CIE-LCHlch(51.49, 65.06, 137.89°)
OKLaboklab(56.59% -0.1311 0.0997)
OKLCHoklch(56.59% 0.165 142.8)
XYZxyz(10.8621, 19.6940, 5.2360)
Luminance0.1969 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2A8D28 #8B288D
analogous
#5C8D28 #2A8D28 #288D58
triadic
#2A8D28 #282A8D #8D282A
tetradic
#2A8D28 #285C8D #8B288D #8D5828
square
#2A8D28 #285C8D #8B288D #8D5828
split-complementary
#2A8D28 #58288D #8D285C
monochromatic
#0E2E0D #1C5D1A #2A8D28 #38BD36 #60D15E

Accessibility & contrast

On white

4.25
#2A8D28 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.94
#2A8D28 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #2A8D28
4.94:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2A8D28#FFFFFF#000000##000000
##2A8D281.004.254.944.94
#FFFFFF4.251.0021.0021.00
#0000004.9421.001.001.00
##0000004.9421.001.001.00

Color blindness preview

Protanopia (red-blind)
#908018
Deuteranopia (green-blind)
#857832
Tritanopia (blue-blind)
#0F8979
Achromatopsia (no color)
#7B7B7B

Design tokens & code

CSS
--color: #2a8d28;
/* rgb */ color: rgb(42, 141, 40);
/* oklch */ color: oklch(56.6% 0.165 142.8);
Tailwind
colors: {
  custom: {
    50: '#72af68',
    500: '#2a8d28',
    950: '#000000',
  },
}
SCSS
$custom: #2a8d28;
$custom-light: #72af68;
$custom-dark: #000000;
JSON
{
  "hex": "#2a8d28",
  "rgb": {
    "r": 42,
    "g": 141,
    "b": 40
  },
  "hsl": {
    "h": 118.812,
    "s": 55.801,
    "l": 35.49
  },
  "oklch": {
    "l": 0.56589,
    "c": 0.16473,
    "h": 142.8
  },
  "luminance": 0.19695
}

Semantic roles & 50–950 ramp

primary
#2A8D28
secondary
#B55AB7
accent
#49DFDC
background
#F7FAF6
surface
#EDF5EB
border
#C8CFC6
text
#091006
muted
#7B7F7A

Preview Lab

Preview with #2A8D28

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

Preview Lab → · Contrast checker → · Palette generator →

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