#2DA821#2DA821

#2DA821 is a light, vivid green. Relative luminance 0.287; OKLCH L 64.1% C 0.199 H 141.9°. Best body text is #000000 at 6.73:1 contrast (WCAG AA passes).

Color values

HEX#2DA821
RGBrgb(45, 168, 33)
HSLhsl(115, 67%, 39%)
HSVhsv(115, 80%, 66%)
CMYKcmyk(73.2%, 0%, 80.4%, 34.1%)
CIE-LABlab(60.49, -57.36, 55.09)
CIE-LCHlch(60.49, 79.53, 136.16°)
OKLaboklab(64.06% -0.1563 0.1226)
OKLCHoklch(64.06% 0.199 141.9)
XYZxyz(15.3585, 28.6712, 6.1632)
Luminance0.2867 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2DA821 #9C21A8
analogous
#70A821 #2DA821 #21A859
triadic
#2DA821 #212DA8 #A8212D
tetradic
#2DA821 #2170A8 #9C21A8 #A85921
square
#2DA821 #2170A8 #9C21A8 #A85921
split-complementary
#2DA821 #5921A8 #A82170
monochromatic
#12420D #1F7517 #2DA821 #3FD630 #6EE063

Accessibility & contrast

On white

3.12
#2DA821 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.73
#2DA821 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #2DA821
6.73:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2DA821#FFFFFF#000000##000000
##2DA8211.003.126.736.73
#FFFFFF3.121.0021.0021.00
#0000006.7321.001.001.00
##0000006.7321.001.001.00

Color blindness preview

Protanopia (red-blind)
#AC9800
Deuteranopia (green-blind)
#9E8E31
Tritanopia (blue-blind)
#01A38F
Achromatopsia (no color)
#929292

Design tokens & code

CSS
--color: #2da821;
/* rgb */ color: rgb(45, 168, 33);
/* oklch */ color: oklch(64.1% 0.199 141.9);
Tailwind
colors: {
  custom: {
    50: '#7ac368',
    500: '#2da821',
    950: '#000000',
  },
}
SCSS
$custom: #2da821;
$custom-light: #7ac368;
$custom-dark: #000000;
JSON
{
  "hex": "#2da821",
  "rgb": {
    "r": 45,
    "g": 168,
    "b": 33
  },
  "hsl": {
    "h": 114.667,
    "s": 67.164,
    "l": 39.412
  },
  "oklch": {
    "l": 0.64063,
    "c": 0.19864,
    "h": 141.9
  },
  "luminance": 0.28673
}

Semantic roles & 50–950 ramp

primary
#2DA821
secondary
#BC5FC5
accent
#3EEADB
background
#F8FCF6
surface
#EFF8EB
border
#CAD1C6
text
#0B1307
muted
#7C827A

Preview Lab

Preview with #2DA821

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

Preview Lab → · Contrast checker → · Palette generator →

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