#2D9C21#2D9C21

#2D9C21 is a mid, vivid green. Relative luminance 0.244; OKLCH L 60.8% C 0.185 H 141.8°. Best body text is #000000 at 5.89:1 contrast (WCAG AA passes).

Color values

HEX#2D9C21
RGBrgb(45, 156, 33)
HSLhsl(114, 65%, 37%)
HSVhsv(114, 79%, 61%)
CMYKcmyk(71.2%, 0%, 78.8%, 38.8%)
CIE-LABlab(56.53, -53.40, 51.30)
CIE-LCHlch(56.53, 74.06, 136.15°)
OKLaboklab(60.77% -0.1456 0.1147)
OKLCHoklch(60.77% 0.185 141.8)
XYZxyz(13.2444, 24.4432, 5.4586)
Luminance0.2445 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2D9C21 #90219C
analogous
#6B9C21 #2D9C21 #219C52
triadic
#2D9C21 #212D9C #9C212D
tetradic
#2D9C21 #216B9C #90219C #9C5221
square
#2D9C21 #216B9C #90219C #9C5221
split-complementary
#2D9C21 #52219C #9C216B
monochromatic
#10370C #1E6916 #2D9C21 #3CCF2C #68DC5B

Accessibility & contrast

On white

3.57
#2D9C21 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.89
#2D9C21 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #2D9C21
5.89:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2D9C21#FFFFFF#000000##000000
##2D9C211.003.575.895.89
#FFFFFF3.571.0021.0021.00
#0000005.8921.001.001.00
##0000005.8921.001.001.00

Color blindness preview

Protanopia (red-blind)
#A08D00
Deuteranopia (green-blind)
#93842F
Tritanopia (blue-blind)
#0F9785
Achromatopsia (no color)
#888888

Design tokens & code

CSS
--color: #2d9c21;
/* rgb */ color: rgb(45, 156, 33);
/* oklch */ color: oklch(60.8% 0.185 141.8);
Tailwind
colors: {
  custom: {
    50: '#77ba66',
    500: '#2d9c21',
    950: '#000000',
  },
}
SCSS
$custom: #2d9c21;
$custom-light: #77ba66;
$custom-dark: #000000;
JSON
{
  "hex": "#2d9c21",
  "rgb": {
    "r": 45,
    "g": 156,
    "b": 33
  },
  "hsl": {
    "h": 114.146,
    "s": 65.079,
    "l": 37.059
  },
  "oklch": {
    "l": 0.60774,
    "c": 0.18536,
    "h": 141.8
  },
  "luminance": 0.24445
}

Semantic roles & 50–950 ramp

primary
#2D9C21
secondary
#B658C1
accent
#40E8D8
background
#F7FBF6
surface
#EEF6EB
border
#C9D0C6
text
#0A1206
muted
#7C817A

Preview Lab

Preview with #2D9C21

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

Preview Lab → · Contrast checker → · Palette generator →

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