#2C8420#2C8420

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

Color values

HEX#2C8420
RGBrgb(44, 132, 32)
HSLhsl(113, 61%, 32%)
HSVhsv(113, 76%, 52%)
CMYKcmyk(66.7%, 0%, 75.8%, 48.2%)
CIE-LABlab(48.44, -45.30, 43.68)
CIE-LCHlch(48.44, 62.93, 136.04°)
OKLaboklab(54.06% -0.1237 0.0987)
OKLCHoklch(54.06% 0.158 141.4)
XYZxyz(9.5502, 17.1413, 4.1715)
Luminance0.1714 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2C8420 #782084
analogous
#5E8420 #2C8420 #208446
triadic
#2C8420 #202C84 #84202C
tetradic
#2C8420 #205E84 #782084 #844620
square
#2C8420 #205E84 #782084 #844620
split-complementary
#2C8420 #462084 #84205E
monochromatic
#0B2108 #1C5314 #2C8420 #3CB52C #5BD34B

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##2C8420#FFFFFF#000000##FFFFFF
##2C84201.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)
#87770D
Deuteranopia (green-blind)
#7D702A
Tritanopia (blue-blind)
#1C8071
Achromatopsia (no color)
#737373

Design tokens & code

CSS
--color: #2c8420;
/* rgb */ color: rgb(44, 132, 32);
/* oklch */ color: oklch(54.1% 0.158 141.4);
Tailwind
colors: {
  custom: {
    50: '#72a963',
    500: '#2c8420',
    950: '#000000',
  },
}
SCSS
$custom: #2c8420;
$custom-light: #72a963;
$custom-dark: #000000;
JSON
{
  "hex": "#2c8420",
  "rgb": {
    "r": 44,
    "g": 132,
    "b": 32
  },
  "hsl": {
    "h": 112.8,
    "s": 60.976,
    "l": 32.157
  },
  "oklch": {
    "l": 0.54056,
    "c": 0.15822,
    "h": 141.4
  },
  "luminance": 0.17142
}

Semantic roles & 50–950 ramp

primary
#2C8420
secondary
#A94AB6
accent
#44E4D1
background
#F7FAF6
surface
#EDF4EB
border
#C8CEC6
text
#091005
muted
#7B7F7A

Preview Lab

Preview with #2C8420

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

Preview Lab → · Contrast checker → · Palette generator →

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