#2C9821#2C9821

#2C9821 is a mid, vivid green. Relative luminance 0.231; OKLCH L 59.6% C 0.181 H 141.8°. Best body text is #000000 at 5.62:1 contrast (WCAG AA passes).

Color values

HEX#2C9821
RGBrgb(44, 152, 33)
HSLhsl(114, 64%, 36%)
HSVhsv(114, 78%, 60%)
CMYKcmyk(71.1%, 0%, 78.3%, 40.4%)
CIE-LABlab(55.18, -52.25, 49.98)
CIE-LCHlch(55.18, 72.31, 136.27°)
OKLaboklab(59.64% -0.1424 0.112)
OKLCHoklch(59.64% 0.181 141.8)
XYZxyz(12.5408, 23.1004, 5.2365)
Luminance0.2310 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2C9821 #8D2198
analogous
#689821 #2C9821 #219852
triadic
#2C9821 #212C98 #98212C
tetradic
#2C9821 #216898 #8D2198 #985221
square
#2C9821 #216898 #8D2198 #985221
split-complementary
#2C9821 #522198 #982168
monochromatic
#0F330B #1D6616 #2C9821 #3BCA2C #65DB59

Accessibility & contrast

On white

3.74
#2C9821 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.62
#2C9821 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #2C9821
5.62:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2C9821#FFFFFF#000000##000000
##2C98211.003.745.625.62
#FFFFFF3.741.0021.0021.00
#0000005.6221.001.001.00
##0000005.6221.001.001.00

Color blindness preview

Protanopia (red-blind)
#9C8903
Deuteranopia (green-blind)
#8F812F
Tritanopia (blue-blind)
#0F9382
Achromatopsia (no color)
#848484

Design tokens & code

CSS
--color: #2c9821;
/* rgb */ color: rgb(44, 152, 33);
/* oklch */ color: oklch(59.6% 0.181 141.8);
Tailwind
colors: {
  custom: {
    50: '#76b766',
    500: '#2c9821',
    950: '#000000',
  },
}
SCSS
$custom: #2c9821;
$custom-light: #76b766;
$custom-dark: #000000;
JSON
{
  "hex": "#2c9821",
  "rgb": {
    "r": 44,
    "g": 152,
    "b": 33
  },
  "hsl": {
    "h": 114.454,
    "s": 64.324,
    "l": 36.275
  },
  "oklch": {
    "l": 0.59644,
    "c": 0.18116,
    "h": 141.8
  },
  "luminance": 0.23102
}

Semantic roles & 50–950 ramp

primary
#2C9821
secondary
#B556BF
accent
#40E7D8
background
#F7FBF6
surface
#EEF6EB
border
#C9D0C6
text
#0A1106
muted
#7C807A

Preview Lab

Preview with #2C9821

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

Preview Lab → · Contrast checker → · Palette generator →

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