#2C9731#2C9731

#2C9731 is a mid, vivid green. Relative luminance 0.229; OKLCH L 59.5% C 0.170 H 143.7°. Best body text is #000000 at 5.58:1 contrast (WCAG AA passes).

Color values

HEX#2C9731
RGBrgb(44, 151, 49)
HSLhsl(123, 55%, 38%)
HSVhsv(123, 71%, 59%)
CMYKcmyk(70.9%, 0%, 67.5%, 40.8%)
CIE-LABlab(54.96, -50.51, 43.56)
CIE-LCHlch(54.96, 66.70, 139.23°)
OKLaboklab(59.5% -0.1369 0.1006)
OKLCHoklch(59.5% 0.17 143.7)
XYZxyz(12.6589, 22.8891, 6.6560)
Luminance0.2289 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2C9731 #972C92
analogous
#5C972C #2C9731 #2C9766
triadic
#2C9731 #312C97 #97312C
tetradic
#2C9731 #2C5C97 #972C92 #97662C
square
#2C9731 #2C5C97 #972C92 #97662C
split-complementary
#2C9731 #662C97 #972C5C
monochromatic
#103812 #1E6822 #2C9731 #3AC641 #6AD46F

Accessibility & contrast

On white

3.76
#2C9731 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.58
#2C9731 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #2C9731
5.58:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2C9731#FFFFFF#000000##000000
##2C97311.003.765.585.58
#FFFFFF3.761.0021.0021.00
#0000005.5821.001.001.00
##0000005.5821.001.001.00

Color blindness preview

Protanopia (red-blind)
#9A8924
Deuteranopia (green-blind)
#8E803A
Tritanopia (blue-blind)
#089382
Achromatopsia (no color)
#848484

Design tokens & code

CSS
--color: #2c9731;
/* rgb */ color: rgb(44, 151, 49);
/* oklch */ color: oklch(59.5% 0.170 143.7);
Tailwind
colors: {
  custom: {
    50: '#75b76e',
    500: '#2c9731',
    950: '#000000',
  },
}
SCSS
$custom: #2c9731;
$custom-light: #75b76e;
$custom-dark: #000000;
JSON
{
  "hex": "#2c9731",
  "rgb": {
    "r": 44,
    "g": 151,
    "b": 49
  },
  "hsl": {
    "h": 122.804,
    "s": 54.872,
    "l": 38.235
  },
  "oklch": {
    "l": 0.59501,
    "c": 0.16988,
    "h": 143.7
  },
  "luminance": 0.2289
}

Semantic roles & 50–950 ramp

primary
#2C9731
secondary
#BA65B6
accent
#4AD7DE
background
#F7FBF6
surface
#EEF6EC
border
#C9D0C7
text
#0A1107
muted
#7C807A

Preview Lab

Preview with #2C9731

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

Preview Lab → · Contrast checker → · Palette generator →

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