#2C821B#2C821B

#2C821B is a mid, vivid green. Relative luminance 0.166; OKLCH L 53.5% C 0.159 H 140.8°. Best body text is #FFFFFF at 4.87:1 contrast (WCAG AA passes).

Color values

HEX#2C821B
RGBrgb(44, 130, 27)
HSLhsl(110, 66%, 31%)
HSVhsv(110, 79%, 51%)
CMYKcmyk(66.2%, 0%, 79.2%, 49%)
CIE-LABlab(47.73, -44.95, 44.79)
CIE-LCHlch(47.73, 63.46, 135.10°)
OKLaboklab(53.46% -0.123 0.1003)
OKLCHoklch(53.46% 0.159 140.8)
XYZxyz(9.2187, 16.5790, 3.7509)
Luminance0.1658 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2C821B #711B82
analogous
#5F821B #2C821B #1B823D
triadic
#2C821B #1B2C82 #821B2C
tetradic
#2C821B #1B5F82 #711B82 #823D1B
square
#2C821B #1B5F82 #711B82 #823D1B
split-complementary
#2C821B #3D1B82 #821B5F
monochromatic
#0A1D06 #1B4F10 #2C821B #3DB526 #59D740

Accessibility & contrast

On white

4.87
#2C821B on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.32
#2C821B on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #2C821B
4.87:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2C821B#FFFFFF#000000##FFFFFF
##2C821B1.004.874.324.87
#FFFFFF4.871.0021.001.00
#0000004.3221.001.0021.00
##FFFFFF4.871.0021.001.00

Color blindness preview

Protanopia (red-blind)
#867502
Deuteranopia (green-blind)
#7B6F27
Tritanopia (blue-blind)
#1D7E6F
Achromatopsia (no color)
#717171

Design tokens & code

CSS
--color: #2c821b;
/* rgb */ color: rgb(44, 130, 27);
/* oklch */ color: oklch(53.5% 0.159 140.8);
Tailwind
colors: {
  custom: {
    50: '#72a760',
    500: '#2c821b',
    950: '#000000',
  },
}
SCSS
$custom: #2c821b;
$custom-light: #72a760;
$custom-dark: #000000;
JSON
{
  "hex": "#2c821b",
  "rgb": {
    "r": 44,
    "g": 130,
    "b": 27
  },
  "hsl": {
    "h": 110.097,
    "s": 65.605,
    "l": 30.784
  },
  "oklch": {
    "l": 0.53456,
    "c": 0.15871,
    "h": 140.8
  },
  "luminance": 0.1658
}

Semantic roles & 50–950 ramp

primary
#2C821B
secondary
#A343B6
accent
#3FE9CD
background
#F7FAF5
surface
#EDF4EA
border
#C8CEC6
text
#090F05
muted
#7B7F79

Preview Lab

Preview with #2C821B

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

Preview Lab → · Contrast checker → · Palette generator →

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