#2D9F21#2D9F21

#2D9F21 is a mid, vivid green. Relative luminance 0.255; OKLCH L 61.6% C 0.189 H 141.8°. Best body text is #000000 at 6.09:1 contrast (WCAG AA passes).

Color values

HEX#2D9F21
RGBrgb(45, 159, 33)
HSLhsl(114, 66%, 38%)
HSVhsv(114, 79%, 62%)
CMYKcmyk(71.7%, 0%, 79.2%, 37.6%)
CIE-LABlab(57.52, -54.41, 52.26)
CIE-LCHlch(57.52, 75.44, 136.15°)
OKLaboklab(61.6% -0.1483 0.1167)
OKLCHoklch(61.6% 0.189 141.8)
XYZxyz(13.7541, 25.4625, 5.6284)
Luminance0.2546 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2D9F21 #93219F
analogous
#6C9F21 #2D9F21 #219F54
triadic
#2D9F21 #212D9F #9F212D
tetradic
#2D9F21 #216C9F #93219F #9F5421
square
#2D9F21 #216C9F #93219F #9F5421
split-complementary
#2D9F21 #54219F #9F216C
monochromatic
#103A0C #1F6C16 #2D9F21 #3BD22C #69DD5D

Accessibility & contrast

On white

3.45
#2D9F21 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.09
#2D9F21 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #2D9F21
6.09:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2D9F21#FFFFFF#000000##000000
##2D9F211.003.456.096.09
#FFFFFF3.451.0021.0021.00
#0000006.0921.001.001.00
##0000006.0921.001.001.00

Color blindness preview

Protanopia (red-blind)
#A39000
Deuteranopia (green-blind)
#968730
Tritanopia (blue-blind)
#0C9A88
Achromatopsia (no color)
#8A8A8A

Design tokens & code

CSS
--color: #2d9f21;
/* rgb */ color: rgb(45, 159, 33);
/* oklch */ color: oklch(61.6% 0.189 141.8);
Tailwind
colors: {
  custom: {
    50: '#78bc67',
    500: '#2d9f21',
    950: '#000000',
  },
}
SCSS
$custom: #2d9f21;
$custom-light: #78bc67;
$custom-dark: #000000;
JSON
{
  "hex": "#2d9f21",
  "rgb": {
    "r": 45,
    "g": 159,
    "b": 33
  },
  "hsl": {
    "h": 114.286,
    "s": 65.625,
    "l": 37.647
  },
  "oklch": {
    "l": 0.61599,
    "c": 0.18872,
    "h": 141.8
  },
  "luminance": 0.25464
}

Semantic roles & 50–950 ramp

primary
#2D9F21
secondary
#B85AC2
accent
#3FE9D8
background
#F7FBF6
surface
#EEF7EB
border
#C9D0C6
text
#0A1206
muted
#7C817A

Preview Lab

Preview with #2D9F21

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

Preview Lab → · Contrast checker → · Palette generator →

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