#2C7930#2C7930

#2C7930 is a mid, vivid green. Relative luminance 0.144; OKLCH L 51.1% C 0.132 H 144.2°. Best body text is #FFFFFF at 5.41:1 contrast (WCAG AA passes).

Color values

HEX#2C7930
RGBrgb(44, 121, 48)
HSLhsl(123, 47%, 32%)
HSVhsv(123, 64%, 47%)
CMYKcmyk(63.6%, 0%, 60.3%, 52.5%)
CIE-LABlab(44.83, -39.42, 32.62)
CIE-LCHlch(44.83, 51.16, 140.39°)
OKLaboklab(51.12% -0.1069 0.0771)
OKLCHoklch(51.12% 0.132 144.2)
XYZxyz(8.4091, 14.4228, 5.1365)
Luminance0.1442 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2C7930 #792C75
analogous
#4E792C #2C7930 #2C7957
triadic
#2C7930 #302C79 #79302C
tetradic
#2C7930 #2C4E79 #792C75 #79572C
square
#2C7930 #2C4E79 #792C75 #79572C
split-complementary
#2C7930 #572C79 #792C4E
monochromatic
#0B1F0C #1C4C1E #2C7930 #3CA642 #5CC461

Accessibility & contrast

On white

5.41
#2C7930 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.88
#2C7930 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #2C7930
5.41:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2C7930#FFFFFF#000000##FFFFFF
##2C79301.005.413.885.41
#FFFFFF5.411.0021.001.00
#0000003.8821.001.0021.00
##FFFFFF5.411.0021.001.00

Color blindness preview

Protanopia (red-blind)
#7B6E29
Deuteranopia (green-blind)
#726836
Tritanopia (blue-blind)
#1C7669
Achromatopsia (no color)
#6A6A6A

Design tokens & code

CSS
--color: #2c7930;
/* rgb */ color: rgb(44, 121, 48);
/* oklch */ color: oklch(51.1% 0.132 144.2);
Tailwind
colors: {
  custom: {
    50: '#6fa06b',
    500: '#2c7930',
    950: '#000000',
  },
}
SCSS
$custom: #2c7930;
$custom-light: #6fa06b;
$custom-dark: #000000;
JSON
{
  "hex": "#2c7930",
  "rgb": {
    "r": 44,
    "g": 121,
    "b": 48
  },
  "hsl": {
    "h": 123.117,
    "s": 46.667,
    "l": 32.353
  },
  "oklch": {
    "l": 0.51123,
    "c": 0.13181,
    "h": 144.2
  },
  "luminance": 0.14424
}

Semantic roles & 50–950 ramp

primary
#2C7930
secondary
#AA57A5
accent
#51CFD6
background
#F7F9F6
surface
#EDF2EB
border
#C8CCC6
text
#080F07
muted
#7B7E7A

Preview Lab

Preview with #2C7930

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

Preview Lab → · Contrast checker → · Palette generator →

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