#2D9B21#2D9B21

#2D9B21 is a mid, vivid green. Relative luminance 0.241; OKLCH L 60.5% C 0.184 H 141.8°. Best body text is #000000 at 5.82:1 contrast (WCAG AA passes).

Color values

HEX#2D9B21
RGBrgb(45, 155, 33)
HSLhsl(114, 65%, 37%)
HSVhsv(114, 79%, 61%)
CMYKcmyk(71%, 0%, 78.7%, 39.2%)
CIE-LABlab(56.20, -53.07, 50.98)
CIE-LCHlch(56.20, 73.59, 136.15°)
OKLaboklab(60.5% -0.1447 0.1141)
OKLCHoklch(60.5% 0.184 141.8)
XYZxyz(13.0773, 24.1090, 5.4029)
Luminance0.2411 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2D9B21 #8F219B
analogous
#6A9B21 #2D9B21 #219B52
triadic
#2D9B21 #212D9B #9B212D
tetradic
#2D9B21 #216A9B #8F219B #9B5221
square
#2D9B21 #216A9B #8F219B #9B5221
split-complementary
#2D9B21 #52219B #9B216A
monochromatic
#10360C #1E6916 #2D9B21 #3CCD2C #67DC5A

Accessibility & contrast

On white

3.61
#2D9B21 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.82
#2D9B21 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #2D9B21
5.82:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2D9B21#FFFFFF#000000##000000
##2D9B211.003.615.825.82
#FFFFFF3.611.0021.0021.00
#0000005.8221.001.001.00
##0000005.8221.001.001.00

Color blindness preview

Protanopia (red-blind)
#9F8C00
Deuteranopia (green-blind)
#92832F
Tritanopia (blue-blind)
#109684
Achromatopsia (no color)
#878787

Design tokens & code

CSS
--color: #2d9b21;
/* rgb */ color: rgb(45, 155, 33);
/* oklch */ color: oklch(60.5% 0.184 141.8);
Tailwind
colors: {
  custom: {
    50: '#77ba66',
    500: '#2d9b21',
    950: '#000000',
  },
}
SCSS
$custom: #2d9b21;
$custom-light: #77ba66;
$custom-dark: #000000;
JSON
{
  "hex": "#2d9b21",
  "rgb": {
    "r": 45,
    "g": 155,
    "b": 33
  },
  "hsl": {
    "h": 114.098,
    "s": 64.894,
    "l": 36.863
  },
  "oklch": {
    "l": 0.60498,
    "c": 0.18423,
    "h": 141.8
  },
  "luminance": 0.2411
}

Semantic roles & 50–950 ramp

primary
#2D9B21
secondary
#B658C0
accent
#40E8D7
background
#F7FBF6
surface
#EEF6EB
border
#C9D0C6
text
#0A1206
muted
#7C817A

Preview Lab

Preview with #2D9B21

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

Preview Lab → · Contrast checker → · Palette generator →

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