#2C8022#2C8022

#2C8022 is a mid, vivid green. Relative luminance 0.161; OKLCH L 52.9% C 0.152 H 141.6°. Best body text is #FFFFFF at 4.98:1 contrast (WCAG AA passes).

Color values

HEX#2C8022
RGBrgb(44, 128, 34)
HSLhsl(114, 58%, 32%)
HSVhsv(114, 73%, 50%)
CMYKcmyk(65.6%, 0%, 73.4%, 49.8%)
CIE-LABlab(47.09, -43.66, 41.51)
CIE-LCHlch(47.09, 60.24, 136.44°)
OKLaboklab(52.95% -0.1191 0.0944)
OKLCHoklch(52.95% 0.152 141.6)
XYZxyz(9.0461, 16.0884, 4.1417)
Luminance0.1609 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2C8022 #762280
analogous
#5B8022 #2C8022 #228047
triadic
#2C8022 #222C80 #80222C
tetradic
#2C8022 #225B80 #762280 #804722
square
#2C8022 #225B80 #762280 #804722
split-complementary
#2C8022 #472280 #80225B
monochromatic
#0B1F08 #1B5015 #2C8022 #3DB02F #5BD04D

Accessibility & contrast

On white

4.98
#2C8022 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.22
#2C8022 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #2C8022
4.98:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2C8022#FFFFFF#000000##FFFFFF
##2C80221.004.984.224.98
#FFFFFF4.981.0021.001.00
#0000004.2221.001.0021.00
##FFFFFF4.981.0021.001.00

Color blindness preview

Protanopia (red-blind)
#837413
Deuteranopia (green-blind)
#796D2B
Tritanopia (blue-blind)
#1D7C6D
Achromatopsia (no color)
#707070

Design tokens & code

CSS
--color: #2c8022;
/* rgb */ color: rgb(44, 128, 34);
/* oklch */ color: oklch(52.9% 0.152 141.6);
Tailwind
colors: {
  custom: {
    50: '#71a663',
    500: '#2c8022',
    950: '#000000',
  },
}
SCSS
$custom: #2c8022;
$custom-light: #71a663;
$custom-dark: #000000;
JSON
{
  "hex": "#2c8022",
  "rgb": {
    "r": 44,
    "g": 128,
    "b": 34
  },
  "hsl": {
    "h": 113.617,
    "s": 58.025,
    "l": 31.765
  },
  "oklch": {
    "l": 0.52946,
    "c": 0.15201,
    "h": 141.6
  },
  "luminance": 0.16089
}

Semantic roles & 50–950 ramp

primary
#2C8022
secondary
#A74BB2
accent
#47E1D1
background
#F7FAF6
surface
#EDF4EB
border
#C8CEC6
text
#080F05
muted
#7B7F7A

Preview Lab

Preview with #2C8022

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

Preview Lab → · Contrast checker → · Palette generator →

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