#2D9A28#2D9A28

#2D9A28 is a mid, vivid green. Relative luminance 0.238; OKLCH L 60.3% C 0.179 H 142.4°. Best body text is #000000 at 5.76:1 contrast (WCAG AA passes).

Color values

HEX#2D9A28
RGBrgb(45, 154, 40)
HSLhsl(117, 59%, 38%)
HSVhsv(117, 74%, 60%)
CMYKcmyk(70.8%, 0%, 74%, 39.6%)
CIE-LABlab(55.91, -52.20, 48.22)
CIE-LCHlch(55.91, 71.06, 137.27°)
OKLaboklab(60.27% -0.142 0.1093)
OKLCHoklch(60.27% 0.179 142.4)
XYZxyz(13.0200, 23.8209, 5.9188)
Luminance0.2382 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2D9A28 #95289A
analogous
#669A28 #2D9A28 #289A5C
triadic
#2D9A28 #282D9A #9A282D
tetradic
#2D9A28 #28669A #95289A #9A5C28
square
#2D9A28 #28669A #95289A #9A5C28
split-complementary
#2D9A28 #5C289A #9A2866
monochromatic
#11390F #1F691B #2D9A28 #3BCA35 #6AD765

Accessibility & contrast

On white

3.64
#2D9A28 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.76
#2D9A28 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #2D9A28
5.76:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2D9A28#FFFFFF#000000##000000
##2D9A281.003.645.765.76
#FFFFFF3.641.0021.0021.00
#0000005.7621.001.001.00
##0000005.7621.001.001.00

Color blindness preview

Protanopia (red-blind)
#9E8B13
Deuteranopia (green-blind)
#918334
Tritanopia (blue-blind)
#0E9584
Achromatopsia (no color)
#868686

Design tokens & code

CSS
--color: #2d9a28;
/* rgb */ color: rgb(45, 154, 40);
/* oklch */ color: oklch(60.3% 0.179 142.4);
Tailwind
colors: {
  custom: {
    50: '#77b969',
    500: '#2d9a28',
    950: '#000000',
  },
}
SCSS
$custom: #2d9a28;
$custom-light: #77b969;
$custom-dark: #000000;
JSON
{
  "hex": "#2d9a28",
  "rgb": {
    "r": 45,
    "g": 154,
    "b": 40
  },
  "hsl": {
    "h": 117.368,
    "s": 58.763,
    "l": 38.039
  },
  "oklch": {
    "l": 0.60272,
    "c": 0.17915,
    "h": 142.4
  },
  "luminance": 0.23822
}

Semantic roles & 50–950 ramp

primary
#2D9A28
secondary
#B961BD
accent
#46E2DB
background
#F7FBF6
surface
#EEF6EB
border
#C9D0C6
text
#0A1207
muted
#7C817A

Preview Lab

Preview with #2D9A28

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

Preview Lab → · Contrast checker → · Palette generator →

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