#2C7833#2C7833

#2C7833 is a mid, vivid green. Relative luminance 0.142; OKLCH L 50.9% C 0.128 H 145.0°. Best body text is #FFFFFF at 5.47:1 contrast (WCAG AA passes).

Color values

HEX#2C7833
RGBrgb(44, 120, 51)
HSLhsl(126, 46%, 32%)
HSVhsv(126, 63%, 47%)
CMYKcmyk(63.3%, 0%, 57.5%, 52.9%)
CIE-LABlab(44.53, -38.60, 30.73)
CIE-LCHlch(44.53, 49.34, 141.48°)
OKLaboklab(50.88% -0.1046 0.0733)
OKLCHoklch(50.88% 0.128 145)
XYZxyz(8.3522, 14.2066, 5.4333)
Luminance0.1421 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2C7833 #782C71
analogous
#4B782C #2C7833 #2C7859
triadic
#2C7833 #332C78 #78332C
tetradic
#2C7833 #2C4B78 #782C71 #78592C
square
#2C7833 #2C4B78 #782C71 #78592C
split-complementary
#2C7833 #592C78 #782C4B
monochromatic
#0B1E0D #1C4B20 #2C7833 #3CA546 #5BC365

Accessibility & contrast

On white

5.47
#2C7833 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.84
#2C7833 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #2C7833
5.47:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2C7833#FFFFFF#000000##FFFFFF
##2C78331.005.473.845.47
#FFFFFF5.471.0021.001.00
#0000003.8421.001.0021.00
##FFFFFF5.471.0021.001.00

Color blindness preview

Protanopia (red-blind)
#7A6D2C
Deuteranopia (green-blind)
#706738
Tritanopia (blue-blind)
#1C7569
Achromatopsia (no color)
#696969

Design tokens & code

CSS
--color: #2c7833;
/* rgb */ color: rgb(44, 120, 51);
/* oklch */ color: oklch(50.9% 0.128 145.0);
Tailwind
colors: {
  custom: {
    50: '#6ea06d',
    500: '#2c7833',
    950: '#000000',
  },
}
SCSS
$custom: #2c7833;
$custom-light: #6ea06d;
$custom-dark: #000000;
JSON
{
  "hex": "#2c7833",
  "rgb": {
    "r": 44,
    "g": 120,
    "b": 51
  },
  "hsl": {
    "h": 125.526,
    "s": 46.341,
    "l": 32.157
  },
  "oklch": {
    "l": 0.50883,
    "c": 0.12767,
    "h": 145
  },
  "luminance": 0.14207
}

Semantic roles & 50–950 ramp

primary
#2C7833
secondary
#A957A2
accent
#52CAD6
background
#F7F9F6
surface
#EDF2EB
border
#C8CCC6
text
#080F07
muted
#7B7E7A

Preview Lab

Preview with #2C7833

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

Preview Lab → · Contrast checker → · Palette generator →

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