#2C822C#2C822C

#2C822C is a mid, vivid green. Relative luminance 0.167; OKLCH L 53.6% C 0.147 H 143.2°. Best body text is #FFFFFF at 4.84:1 contrast (WCAG AA passes).

Color values

HEX#2C822C
RGBrgb(44, 130, 44)
HSLhsl(120, 49%, 34%)
HSVhsv(120, 66%, 51%)
CMYKcmyk(66.2%, 0%, 66.2%, 49%)
CIE-LABlab(47.86, -43.40, 37.99)
CIE-LCHlch(47.86, 57.68, 138.80°)
OKLaboklab(53.61% -0.1179 0.0883)
OKLCHoklch(53.61% 0.147 143.2)
XYZxyz(9.4754, 16.6816, 5.1029)
Luminance0.1668 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2C822C #822C82
analogous
#57822C #2C822C #2C8257
triadic
#2C822C #2C2C82 #822C2C
tetradic
#2C822C #2C5782 #822C82 #82572C
square
#2C822C #2C5782 #822C82 #82572C
split-complementary
#2C822C #572C82 #822C57
monochromatic
#0D270D #1D541D #2C822C #3BB03B #5FC95F

Accessibility & contrast

On white

4.84
#2C822C on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.34
#2C822C on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #2C822C
4.84:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2C822C#FFFFFF#000000##FFFFFF
##2C822C1.004.844.344.84
#FFFFFF4.841.0021.001.00
#0000004.3421.001.0021.00
##FFFFFF4.841.0021.001.00

Color blindness preview

Protanopia (red-blind)
#857622
Deuteranopia (green-blind)
#7A6F33
Tritanopia (blue-blind)
#197E70
Achromatopsia (no color)
#727272

Design tokens & code

CSS
--color: #2c822c;
/* rgb */ color: rgb(44, 130, 44);
/* oklch */ color: oklch(53.6% 0.147 143.2);
Tailwind
colors: {
  custom: {
    50: '#71a769',
    500: '#2c822c',
    950: '#000000',
  },
}
SCSS
$custom: #2c822c;
$custom-light: #71a769;
$custom-dark: #000000;
JSON
{
  "hex": "#2c822c",
  "rgb": {
    "r": 44,
    "g": 130,
    "b": 44
  },
  "hsl": {
    "h": 120,
    "s": 49.425,
    "l": 34.118
  },
  "oklch": {
    "l": 0.53607,
    "c": 0.14725,
    "h": 143.2
  },
  "luminance": 0.16683
}

Semantic roles & 50–950 ramp

primary
#2C822C
secondary
#AF5BAF
accent
#4FD9D9
background
#F7FAF6
surface
#EDF4EB
border
#C8CEC6
text
#080F06
muted
#7B7F7A

Preview Lab

Preview with #2C822C

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

Preview Lab → · Contrast checker → · Palette generator →

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