#2C8422#2C8422

#2C8422 is a mid, vivid green. Relative luminance 0.172; OKLCH L 54.1% C 0.157 H 141.7°. Best body text is #FFFFFF at 4.74:1 contrast (WCAG AA passes).

Color values

HEX#2C8422
RGBrgb(44, 132, 34)
HSLhsl(114, 59%, 33%)
HSVhsv(114, 74%, 52%)
CMYKcmyk(66.7%, 0%, 74.2%, 48.2%)
CIE-LABlab(48.45, -45.13, 42.91)
CIE-LCHlch(48.45, 62.28, 136.44°)
OKLaboklab(54.07% -0.1231 0.0974)
OKLCHoklch(54.07% 0.157 141.7)
XYZxyz(9.5782, 17.1525, 4.3191)
Luminance0.1715 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2C8422 #7A2284
analogous
#5D8422 #2C8422 #228449
triadic
#2C8422 #222C84 #84222C
tetradic
#2C8422 #225D84 #7A2284 #844922
square
#2C8422 #225D84 #7A2284 #844922
split-complementary
#2C8422 #492284 #84225D
monochromatic
#0C2309 #1C5315 #2C8422 #3CB52F #5CD24F

Accessibility & contrast

On white

4.74
#2C8422 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.43
#2C8422 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #2C8422
4.74:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2C8422#FFFFFF#000000##FFFFFF
##2C84221.004.744.434.74
#FFFFFF4.741.0021.001.00
#0000004.4321.001.0021.00
##FFFFFF4.741.0021.001.00

Color blindness preview

Protanopia (red-blind)
#877711
Deuteranopia (green-blind)
#7D702C
Tritanopia (blue-blind)
#1B8071
Achromatopsia (no color)
#737373

Design tokens & code

CSS
--color: #2c8422;
/* rgb */ color: rgb(44, 132, 34);
/* oklch */ color: oklch(54.1% 0.157 141.7);
Tailwind
colors: {
  custom: {
    50: '#72a964',
    500: '#2c8422',
    950: '#000000',
  },
}
SCSS
$custom: #2c8422;
$custom-light: #72a964;
$custom-dark: #000000;
JSON
{
  "hex": "#2c8422",
  "rgb": {
    "r": 44,
    "g": 132,
    "b": 34
  },
  "hsl": {
    "h": 113.878,
    "s": 59.036,
    "l": 32.549
  },
  "oklch": {
    "l": 0.54072,
    "c": 0.15697,
    "h": 141.7
  },
  "luminance": 0.17153
}

Semantic roles & 50–950 ramp

primary
#2C8422
secondary
#AA4DB5
accent
#46E2D2
background
#F7FAF6
surface
#EDF4EB
border
#C8CEC6
text
#091006
muted
#7B7F7A

Preview Lab

Preview with #2C8422

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

Preview Lab → · Contrast checker → · Palette generator →

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