#2C8321#2C8321

#2C8321 is a mid, vivid green. Relative luminance 0.169; OKLCH L 53.8% C 0.156 H 141.5°. Best body text is #FFFFFF at 4.80:1 contrast (WCAG AA passes).

Color values

HEX#2C8321
RGBrgb(44, 131, 33)
HSLhsl(113, 60%, 32%)
HSVhsv(113, 75%, 51%)
CMYKcmyk(66.4%, 0%, 74.8%, 48.6%)
CIE-LABlab(48.10, -44.85, 42.95)
CIE-LCHlch(48.10, 62.10, 136.24°)
OKLaboklab(53.78% -0.1224 0.0973)
OKLCHoklch(53.78% 0.156 141.5)
XYZxyz(9.4290, 16.8769, 4.1992)
Luminance0.1688 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2C8321 #782183
analogous
#5D8321 #2C8321 #218347
triadic
#2C8321 #212C83 #83212C
tetradic
#2C8321 #215D83 #782183 #834721
square
#2C8321 #215D83 #782183 #834721
split-complementary
#2C8321 #472183 #83215D
monochromatic
#0B2108 #1C5215 #2C8321 #3CB42D #5BD24C

Accessibility & contrast

On white

4.80
#2C8321 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.38
#2C8321 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #2C8321
4.80:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2C8321#FFFFFF#000000##FFFFFF
##2C83211.004.804.384.80
#FFFFFF4.801.0021.001.00
#0000004.3821.001.0021.00
##FFFFFF4.801.0021.001.00

Color blindness preview

Protanopia (red-blind)
#867710
Deuteranopia (green-blind)
#7C6F2B
Tritanopia (blue-blind)
#1C7F70
Achromatopsia (no color)
#727272

Design tokens & code

CSS
--color: #2c8321;
/* rgb */ color: rgb(44, 131, 33);
/* oklch */ color: oklch(53.8% 0.156 141.5);
Tailwind
colors: {
  custom: {
    50: '#71a863',
    500: '#2c8321',
    950: '#000000',
  },
}
SCSS
$custom: #2c8321;
$custom-light: #71a863;
$custom-dark: #000000;
JSON
{
  "hex": "#2c8321",
  "rgb": {
    "r": 44,
    "g": 131,
    "b": 33
  },
  "hsl": {
    "h": 113.265,
    "s": 59.756,
    "l": 32.157
  },
  "oklch": {
    "l": 0.53783,
    "c": 0.15638,
    "h": 141.5
  },
  "luminance": 0.16878
}

Semantic roles & 50–950 ramp

primary
#2C8321
secondary
#A94BB5
accent
#45E3D1
background
#F7FAF6
surface
#EDF4EB
border
#C8CEC6
text
#091006
muted
#7B7F7A

Preview Lab

Preview with #2C8321

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

Preview Lab → · Contrast checker → · Palette generator →

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