#2DA728#2DA728

#2DA728 is a light, vivid green. Relative luminance 0.283; OKLCH L 63.8% C 0.194 H 142.4°. Best body text is #000000 at 6.67:1 contrast (WCAG AA passes).

Color values

HEX#2DA728
RGBrgb(45, 167, 40)
HSLhsl(118, 61%, 41%)
HSVhsv(118, 76%, 65%)
CMYKcmyk(73.1%, 0%, 76%, 34.5%)
CIE-LABlab(60.20, -56.56, 52.53)
CIE-LCHlch(60.20, 77.19, 137.12°)
OKLaboklab(63.83% -0.1538 0.1183)
OKLCHoklch(63.83% 0.194 142.4)
XYZxyz(15.2830, 28.3468, 6.6731)
Luminance0.2835 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2DA728 #A228A7
analogous
#6CA728 #2DA728 #28A762
triadic
#2DA728 #282DA7 #A7282D
tetradic
#2DA728 #286CA7 #A228A7 #A76228
square
#2DA728 #286CA7 #A228A7 #A76228
split-complementary
#2DA728 #6228A7 #A7286C
monochromatic
#124410 #20761C #2DA728 #42D03C #72DC6D

Accessibility & contrast

On white

3.15
#2DA728 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.67
#2DA728 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #2DA728
6.67:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2DA728#FFFFFF#000000##000000
##2DA7281.003.156.676.67
#FFFFFF3.151.0021.0021.00
#0000006.6721.001.001.00
##0000006.6721.001.001.00

Color blindness preview

Protanopia (red-blind)
#AB970C
Deuteranopia (green-blind)
#9D8D36
Tritanopia (blue-blind)
#00A28F
Achromatopsia (no color)
#919191

Design tokens & code

CSS
--color: #2da728;
/* rgb */ color: rgb(45, 167, 40);
/* oklch */ color: oklch(63.8% 0.194 142.4);
Tailwind
colors: {
  custom: {
    50: '#7ac26b',
    500: '#2da728',
    950: '#000000',
  },
}
SCSS
$custom: #2da728;
$custom-light: #7ac26b;
$custom-dark: #000000;
JSON
{
  "hex": "#2da728",
  "rgb": {
    "r": 45,
    "g": 167,
    "b": 40
  },
  "hsl": {
    "h": 117.638,
    "s": 61.353,
    "l": 40.588
  },
  "oklch": {
    "l": 0.63835,
    "c": 0.194,
    "h": 142.4
  },
  "luminance": 0.28349
}

Semantic roles & 50–950 ramp

primary
#2DA728
secondary
#BF68C3
accent
#43E4DE
background
#F8FCF6
surface
#EFF8EC
border
#CAD1C7
text
#0B1307
muted
#7C827A

Preview Lab

Preview with #2DA728

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

Preview Lab → · Contrast checker → · Palette generator →

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