#2D9827#2D9827

#2D9827 is a mid, vivid green. Relative luminance 0.232; OKLCH L 59.7% C 0.177 H 142.3°. Best body text is #000000 at 5.63:1 contrast (WCAG AA passes).

Color values

HEX#2D9827
RGBrgb(45, 152, 39)
HSLhsl(117, 59%, 37%)
HSVhsv(117, 74%, 60%)
CMYKcmyk(70.4%, 0%, 74.3%, 40.4%)
CIE-LABlab(55.24, -51.60, 47.91)
CIE-LCHlch(55.24, 70.41, 137.12°)
OKLaboklab(59.71% -0.1404 0.1085)
OKLCHoklch(59.71% 0.177 142.3)
XYZxyz(12.6759, 23.1595, 5.7213)
Luminance0.2316 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2D9827 #922798
analogous
#669827 #2D9827 #279859
triadic
#2D9827 #272D98 #98272D
tetradic
#2D9827 #276698 #922798 #985927
square
#2D9827 #276698 #922798 #985927
split-complementary
#2D9827 #592798 #982766
monochromatic
#10370E #1F671B #2D9827 #3BC933 #69D763

Accessibility & contrast

On white

3.73
#2D9827 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.63
#2D9827 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #2D9827
5.63:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2D9827#FFFFFF#000000##000000
##2D98271.003.735.635.63
#FFFFFF3.731.0021.0021.00
#0000005.6321.001.001.00
##0000005.6321.001.001.00

Color blindness preview

Protanopia (red-blind)
#9C8912
Deuteranopia (green-blind)
#8F8133
Tritanopia (blue-blind)
#109382
Achromatopsia (no color)
#848484

Design tokens & code

CSS
--color: #2d9827;
/* rgb */ color: rgb(45, 152, 39);
/* oklch */ color: oklch(59.7% 0.177 142.3);
Tailwind
colors: {
  custom: {
    50: '#76b769',
    500: '#2d9827',
    950: '#000000',
  },
}
SCSS
$custom: #2d9827;
$custom-light: #76b769;
$custom-dark: #000000;
JSON
{
  "hex": "#2d9827",
  "rgb": {
    "r": 45,
    "g": 152,
    "b": 39
  },
  "hsl": {
    "h": 116.814,
    "s": 59.162,
    "l": 37.451
  },
  "oklch": {
    "l": 0.59713,
    "c": 0.17742,
    "h": 142.3
  },
  "luminance": 0.23161
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #2D9827

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

Preview Lab → · Contrast checker → · Palette generator →

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