#2C8722#2C8722

#2C8722 is a mid, vivid green. Relative luminance 0.180; OKLCH L 54.9% C 0.161 H 141.7°. Best body text is #000000 at 4.60:1 contrast (WCAG AA passes).

Color values

HEX#2C8722
RGBrgb(44, 135, 34)
HSLhsl(114, 60%, 33%)
HSVhsv(114, 75%, 53%)
CMYKcmyk(67.4%, 0%, 74.8%, 47.1%)
CIE-LABlab(49.47, -46.22, 43.95)
CIE-LCHlch(49.47, 63.79, 136.44°)
OKLaboklab(54.92% -0.1261 0.0995)
OKLCHoklch(54.92% 0.161 141.7)
XYZxyz(9.9909, 17.9779, 4.4566)
Luminance0.1798 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2C8722 #7D2287
analogous
#5E8722 #2C8722 #22874A
triadic
#2C8722 #222C87 #87222C
tetradic
#2C8722 #225E87 #7D2287 #874A22
square
#2C8722 #225E87 #7D2287 #874A22
split-complementary
#2C8722 #4A2287 #87225E
monochromatic
#0C2509 #1C5616 #2C8722 #3CB82E #5DD350

Accessibility & contrast

On white

4.57
#2C8722 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.60
#2C8722 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #2C8722
4.60:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2C8722#FFFFFF#000000##000000
##2C87221.004.574.604.60
#FFFFFF4.571.0021.0021.00
#0000004.6021.001.001.00
##0000004.6021.001.001.00

Color blindness preview

Protanopia (red-blind)
#8A7A10
Deuteranopia (green-blind)
#80732C
Tritanopia (blue-blind)
#1A8373
Achromatopsia (no color)
#767676

Design tokens & code

CSS
--color: #2c8722;
/* rgb */ color: rgb(44, 135, 34);
/* oklch */ color: oklch(54.9% 0.161 141.7);
Tailwind
colors: {
  custom: {
    50: '#72ab64',
    500: '#2c8722',
    950: '#000000',
  },
}
SCSS
$custom: #2c8722;
$custom-light: #72ab64;
$custom-dark: #000000;
JSON
{
  "hex": "#2c8722",
  "rgb": {
    "r": 44,
    "g": 135,
    "b": 34
  },
  "hsl": {
    "h": 114.059,
    "s": 59.763,
    "l": 33.137
  },
  "oklch": {
    "l": 0.54915,
    "c": 0.16063,
    "h": 141.7
  },
  "luminance": 0.17979
}

Semantic roles & 50–950 ramp

primary
#2C8722
secondary
#AC4EB7
accent
#45E3D3
background
#F7FAF6
surface
#EDF4EB
border
#C8CEC6
text
#091006
muted
#7B7F7A

Preview Lab

Preview with #2C8722

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

Preview Lab → · Contrast checker → · Palette generator →

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