#2C7933#2C7933

#2C7933 is a mid, vivid green. Relative luminance 0.144; OKLCH L 51.2% C 0.129 H 144.9°. Best body text is #FFFFFF at 5.40:1 contrast (WCAG AA passes).

Color values

HEX#2C7933
RGBrgb(44, 121, 51)
HSLhsl(125, 47%, 32%)
HSVhsv(125, 64%, 47%)
CMYKcmyk(63.6%, 0%, 57.9%, 52.5%)
CIE-LABlab(44.87, -39.01, 31.13)
CIE-LCHlch(44.87, 49.91, 141.41°)
OKLaboklab(51.17% -0.1056 0.0742)
OKLCHoklch(51.17% 0.129 144.9)
XYZxyz(8.4731, 14.4484, 5.4736)
Luminance0.1445 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2C7933 #792C72
analogous
#4B792C #2C7933 #2C795A
triadic
#2C7933 #332C79 #79332C
tetradic
#2C7933 #2C4B79 #792C72 #795A2C
square
#2C7933 #2C4B79 #792C72 #795A2C
split-complementary
#2C7933 #5A2C79 #792C4B
monochromatic
#0B1F0D #1C4C20 #2C7933 #3CA646 #5CC465

Accessibility & contrast

On white

5.40
#2C7933 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.89
#2C7933 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #2C7933
5.40:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2C7933#FFFFFF#000000##FFFFFF
##2C79331.005.403.895.40
#FFFFFF5.401.0021.001.00
#0000003.8921.001.0021.00
##FFFFFF5.401.0021.001.00

Color blindness preview

Protanopia (red-blind)
#7B6E2C
Deuteranopia (green-blind)
#716838
Tritanopia (blue-blind)
#1B7669
Achromatopsia (no color)
#6A6A6A

Design tokens & code

CSS
--color: #2c7933;
/* rgb */ color: rgb(44, 121, 51);
/* oklch */ color: oklch(51.2% 0.129 144.9);
Tailwind
colors: {
  custom: {
    50: '#6ea06d',
    500: '#2c7933',
    950: '#000000',
  },
}
SCSS
$custom: #2c7933;
$custom-light: #6ea06d;
$custom-dark: #000000;
JSON
{
  "hex": "#2c7933",
  "rgb": {
    "r": 44,
    "g": 121,
    "b": 51
  },
  "hsl": {
    "h": 125.455,
    "s": 46.667,
    "l": 32.353
  },
  "oklch": {
    "l": 0.51165,
    "c": 0.12908,
    "h": 144.9
  },
  "luminance": 0.14449
}

Semantic roles & 50–950 ramp

primary
#2C7933
secondary
#AA57A2
accent
#51CAD6
background
#F7F9F6
surface
#EDF2EB
border
#C8CCC6
text
#080F07
muted
#7B7E7A

Preview Lab

Preview with #2C7933

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

Preview Lab → · Contrast checker → · Palette generator →

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