#2D9727#2D9727

#2D9727 is a mid, vivid green. Relative luminance 0.228; OKLCH L 59.4% C 0.176 H 142.3°. Best body text is #000000 at 5.57:1 contrast (WCAG AA passes).

Color values

HEX#2D9727
RGBrgb(45, 151, 39)
HSLhsl(117, 59%, 37%)
HSVhsv(117, 74%, 59%)
CMYKcmyk(70.2%, 0%, 74.2%, 40.8%)
CIE-LABlab(54.90, -51.25, 47.57)
CIE-LCHlch(54.90, 69.93, 137.13°)
OKLaboklab(59.44% -0.1395 0.1078)
OKLCHoklch(59.44% 0.176 142.3)
XYZxyz(12.5143, 22.8363, 5.6674)
Luminance0.2284 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2D9727 #912797
analogous
#659727 #2D9727 #279759
triadic
#2D9727 #272D97 #97272D
tetradic
#2D9727 #276597 #912797 #975927
square
#2D9727 #276597 #912797 #975927
split-complementary
#2D9727 #592797 #972765
monochromatic
#10360E #1F661A #2D9727 #3BC834 #68D662

Accessibility & contrast

On white

3.77
#2D9727 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.57
#2D9727 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #2D9727
5.57:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2D9727#FFFFFF#000000##000000
##2D97271.003.775.575.57
#FFFFFF3.771.0021.0021.00
#0000005.5721.001.001.00
##0000005.5721.001.001.00

Color blindness preview

Protanopia (red-blind)
#9B8913
Deuteranopia (green-blind)
#8E8033
Tritanopia (blue-blind)
#119281
Achromatopsia (no color)
#838383

Design tokens & code

CSS
--color: #2d9727;
/* rgb */ color: rgb(45, 151, 39);
/* oklch */ color: oklch(59.4% 0.176 142.3);
Tailwind
colors: {
  custom: {
    50: '#76b769',
    500: '#2d9727',
    950: '#000000',
  },
}
SCSS
$custom: #2d9727;
$custom-light: #76b769;
$custom-dark: #000000;
JSON
{
  "hex": "#2d9727",
  "rgb": {
    "r": 45,
    "g": 151,
    "b": 39
  },
  "hsl": {
    "h": 116.786,
    "s": 58.947,
    "l": 37.255
  },
  "oklch": {
    "l": 0.59437,
    "c": 0.17625,
    "h": 142.3
  },
  "luminance": 0.22838
}

Semantic roles & 50–950 ramp

primary
#2D9727
secondary
#B75EBC
accent
#46E2DA
background
#F7FBF6
surface
#EEF6EB
border
#C9D0C6
text
#0A1107
muted
#7C807A

Preview Lab

Preview with #2D9727

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

Preview Lab → · Contrast checker → · Palette generator →

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