#2D9928#2D9928

#2D9928 is a mid, vivid green. Relative luminance 0.235; OKLCH L 60.0% C 0.178 H 142.4°. Best body text is #000000 at 5.70:1 contrast (WCAG AA passes).

Color values

HEX#2D9928
RGBrgb(45, 153, 40)
HSLhsl(117, 59%, 38%)
HSVhsv(117, 74%, 60%)
CMYKcmyk(70.6%, 0%, 73.9%, 40%)
CIE-LABlab(55.58, -51.86, 47.88)
CIE-LCHlch(55.58, 70.58, 137.28°)
OKLaboklab(60% -0.141 0.1085)
OKLCHoklch(60% 0.178 142.4)
XYZxyz(12.8557, 23.4922, 5.8640)
Luminance0.2349 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2D9928 #942899
analogous
#659928 #2D9928 #28995B
triadic
#2D9928 #282D99 #99282D
tetradic
#2D9928 #286599 #942899 #995B28
square
#2D9928 #286599 #942899 #995B28
split-complementary
#2D9928 #5B2899 #992865
monochromatic
#10380F #1F681B #2D9928 #3BCA35 #6AD765

Accessibility & contrast

On white

3.68
#2D9928 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.70
#2D9928 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #2D9928
5.70:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2D9928#FFFFFF#000000##000000
##2D99281.003.685.705.70
#FFFFFF3.681.0021.0021.00
#0000005.7021.001.001.00
##0000005.7021.001.001.00

Color blindness preview

Protanopia (red-blind)
#9D8A14
Deuteranopia (green-blind)
#908234
Tritanopia (blue-blind)
#0F9483
Achromatopsia (no color)
#858585

Design tokens & code

CSS
--color: #2d9928;
/* rgb */ color: rgb(45, 153, 40);
/* oklch */ color: oklch(60.0% 0.178 142.4);
Tailwind
colors: {
  custom: {
    50: '#76b869',
    500: '#2d9928',
    950: '#000000',
  },
}
SCSS
$custom: #2d9928;
$custom-light: #76b869;
$custom-dark: #000000;
JSON
{
  "hex": "#2d9928",
  "rgb": {
    "r": 45,
    "g": 153,
    "b": 40
  },
  "hsl": {
    "h": 117.345,
    "s": 58.549,
    "l": 37.843
  },
  "oklch": {
    "l": 0.59997,
    "c": 0.17798,
    "h": 142.4
  },
  "luminance": 0.23494
}

Semantic roles & 50–950 ramp

primary
#2D9928
secondary
#B860BD
accent
#46E2DB
background
#F7FBF6
surface
#EEF6EB
border
#C9D0C6
text
#0A1107
muted
#7C807A

Preview Lab

Preview with #2D9928

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

Preview Lab → · Contrast checker → · Palette generator →

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