#2C822F#2C822F

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

Color values

HEX#2C822F
RGBrgb(44, 130, 47)
HSLhsl(122, 49%, 34%)
HSVhsv(122, 66%, 51%)
CMYKcmyk(66.2%, 0%, 63.8%, 49%)
CIE-LABlab(47.89, -43.05, 36.62)
CIE-LCHlch(47.89, 56.52, 139.62°)
OKLaboklab(53.64% -0.1168 0.0857)
OKLCHoklch(53.64% 0.145 143.7)
XYZxyz(9.5339, 16.7050, 5.4107)
Luminance0.1671 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2C822F #822C7F
analogous
#54822C #2C822F #2C825A
triadic
#2C822F #2F2C82 #822F2C
tetradic
#2C822F #2C5482 #822C7F #825A2C
square
#2C822F #2C5482 #822C7F #825A2C
split-complementary
#2C822F #5A2C82 #822C54
monochromatic
#0D270E #1D541E #2C822F #3BB040 #5FC963

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##2C822F#FFFFFF#000000##FFFFFF
##2C822F1.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)
#857626
Deuteranopia (green-blind)
#7A6F36
Tritanopia (blue-blind)
#187E70
Achromatopsia (no color)
#727272

Design tokens & code

CSS
--color: #2c822f;
/* rgb */ color: rgb(44, 130, 47);
/* oklch */ color: oklch(53.6% 0.145 143.7);
Tailwind
colors: {
  custom: {
    50: '#71a76b',
    500: '#2c822f',
    950: '#000000',
  },
}
SCSS
$custom: #2c822f;
$custom-light: #71a76b;
$custom-dark: #000000;
JSON
{
  "hex": "#2c822f",
  "rgb": {
    "r": 44,
    "g": 130,
    "b": 47
  },
  "hsl": {
    "h": 122.093,
    "s": 49.425,
    "l": 34.118
  },
  "oklch": {
    "l": 0.53641,
    "c": 0.14482,
    "h": 143.7
  },
  "luminance": 0.16706
}

Semantic roles & 50–950 ramp

primary
#2C822F
secondary
#AF5BAC
accent
#4FD4D9
background
#F7FAF6
surface
#EDF4EB
border
#C8CEC6
text
#080F07
muted
#7B7F7A

Preview Lab

Preview with #2C822F

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

Preview Lab → · Contrast checker → · Palette generator →

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