#2C841A#2C841A

#2C841A is a mid, vivid green. Relative luminance 0.171; OKLCH L 54.0% C 0.162 H 140.8°. Best body text is #FFFFFF at 4.75:1 contrast (WCAG AA passes).

Color values

HEX#2C841A
RGBrgb(44, 132, 26)
HSLhsl(110, 67%, 31%)
HSVhsv(110, 80%, 52%)
CMYKcmyk(66.7%, 0%, 80.3%, 48.2%)
CIE-LABlab(48.40, -45.74, 45.79)
CIE-LCHlch(48.40, 64.72, 134.97°)
OKLaboklab(54.01% -0.1252 0.1022)
OKLCHoklch(54.01% 0.162 140.8)
XYZxyz(9.4759, 17.1116, 3.7806)
Luminance0.1711 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2C841A #721A84
analogous
#61841A #2C841A #1A843D
triadic
#2C841A #1A2C84 #841A2C
tetradic
#2C841A #1A6184 #721A84 #843D1A
square
#2C841A #1A6184 #721A84 #843D1A
split-complementary
#2C841A #3D1A84 #841A61
monochromatic
#0A1E06 #1B5110 #2C841A #3DB724 #59D93F

Accessibility & contrast

On white

4.75
#2C841A on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.42
#2C841A on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #2C841A
4.75:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2C841A#FFFFFF#000000##FFFFFF
##2C841A1.004.754.424.75
#FFFFFF4.751.0021.001.00
#0000004.4221.001.0021.00
##FFFFFF4.751.0021.001.00

Color blindness preview

Protanopia (red-blind)
#887700
Deuteranopia (green-blind)
#7D7026
Tritanopia (blue-blind)
#1D8070
Achromatopsia (no color)
#737373

Design tokens & code

CSS
--color: #2c841a;
/* rgb */ color: rgb(44, 132, 26);
/* oklch */ color: oklch(54.0% 0.162 140.8);
Tailwind
colors: {
  custom: {
    50: '#72a960',
    500: '#2c841a',
    950: '#000000',
  },
}
SCSS
$custom: #2c841a;
$custom-light: #72a960;
$custom-dark: #000000;
JSON
{
  "hex": "#2c841a",
  "rgb": {
    "r": 44,
    "g": 132,
    "b": 26
  },
  "hsl": {
    "h": 109.811,
    "s": 67.089,
    "l": 30.98
  },
  "oklch": {
    "l": 0.54014,
    "c": 0.16162,
    "h": 140.8
  },
  "luminance": 0.17113
}

Semantic roles & 50–950 ramp

primary
#2C841A
secondary
#A442B8
accent
#3EEACD
background
#F7FAF5
surface
#EDF4EA
border
#C8CEC6
text
#091005
muted
#7B7F79

Preview Lab

Preview with #2C841A

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

Preview Lab → · Contrast checker → · Palette generator →

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