#2DAB28#2DAB28

#2DAB28 is a light, vivid green. Relative luminance 0.298; OKLCH L 64.9% C 0.198 H 142.4°. Best body text is #000000 at 6.97:1 contrast (WCAG AA passes).

Color values

HEX#2DAB28
RGBrgb(45, 171, 40)
HSLhsl(118, 62%, 41%)
HSVhsv(118, 77%, 67%)
CMYKcmyk(73.7%, 0%, 76.6%, 32.9%)
CIE-LABlab(61.51, -57.87, 53.82)
CIE-LCHlch(61.51, 79.03, 137.07°)
OKLaboklab(64.92% -0.1573 0.121)
OKLCHoklch(64.92% 0.198 142.4)
XYZxyz(16.0271, 29.8351, 6.9212)
Luminance0.2984 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2DAB28 #A628AB
analogous
#6FAB28 #2DAB28 #28AB65
triadic
#2DAB28 #282DAB #AB282D
tetradic
#2DAB28 #286FAB #A628AB #AB6528
square
#2DAB28 #286FAB #A628AB #AB6528
split-complementary
#2DAB28 #6528AB #AB286F
monochromatic
#134811 #20791C #2DAB28 #44D23E #74DE70

Accessibility & contrast

On white

3.01
#2DAB28 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.97
#2DAB28 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #2DAB28
6.97:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2DAB28#FFFFFF#000000##000000
##2DAB281.003.016.976.97
#FFFFFF3.011.0021.0021.00
#0000006.9721.001.001.00
##0000006.9721.001.001.00

Color blindness preview

Protanopia (red-blind)
#AF9A09
Deuteranopia (green-blind)
#A19137
Tritanopia (blue-blind)
#00A692
Achromatopsia (no color)
#959595

Design tokens & code

CSS
--color: #2dab28;
/* rgb */ color: rgb(45, 171, 40);
/* oklch */ color: oklch(64.9% 0.198 142.4);
Tailwind
colors: {
  custom: {
    50: '#7ac56c',
    500: '#2dab28',
    950: '#000000',
  },
}
SCSS
$custom: #2dab28;
$custom-light: #7ac56c;
$custom-dark: #000000;
JSON
{
  "hex": "#2dab28",
  "rgb": {
    "r": 45,
    "g": 171,
    "b": 40
  },
  "hsl": {
    "h": 117.71,
    "s": 62.085,
    "l": 41.373
  },
  "oklch": {
    "l": 0.64924,
    "c": 0.19845,
    "h": 142.4
  },
  "luminance": 0.29837
}

Semantic roles & 50–950 ramp

primary
#2DAB28
secondary
#C16AC4
accent
#43E5DF
background
#F8FCF6
surface
#EFF8EC
border
#CAD1C7
text
#0B1307
muted
#7C827A

Preview Lab

Preview with #2DAB28

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

Preview Lab → · Contrast checker → · Palette generator →

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