#2C8C1B#2C8C1B

#2C8C1B is a mid, vivid green. Relative luminance 0.194; OKLCH L 56.3% C 0.170 H 141.1°. Best body text is #000000 at 4.87:1 contrast (WCAG AA passes).

Color values

HEX#2C8C1B
RGBrgb(44, 140, 27)
HSLhsl(111, 68%, 33%)
HSVhsv(111, 81%, 55%)
CMYKcmyk(68.6%, 0%, 80.7%, 45.1%)
CIE-LABlab(51.12, -48.52, 48.06)
CIE-LCHlch(51.12, 68.29, 135.27°)
OKLaboklab(56.27% -0.1326 0.1071)
OKLCHoklch(56.27% 0.17 141.1)
XYZxyz(10.6141, 19.3697, 4.2161)
Luminance0.1937 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2C8C1B #7B1B8C
analogous
#658C1B #2C8C1B #1B8C42
triadic
#2C8C1B #1B2C8C #8C1B2C
tetradic
#2C8C1B #1B658C #7B1B8C #8C421B
square
#2C8C1B #1B658C #7B1B8C #8C421B
split-complementary
#2C8C1B #421B8C #8C1B65
monochromatic
#0C2507 #1C5911 #2C8C1B #3CBF25 #5DDB46

Accessibility & contrast

On white

4.31
#2C8C1B on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.87
#2C8C1B on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #2C8C1B
4.87:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2C8C1B#FFFFFF#000000##000000
##2C8C1B1.004.314.874.87
#FFFFFF4.311.0021.0021.00
#0000004.8721.001.001.00
##0000004.8721.001.001.00

Color blindness preview

Protanopia (red-blind)
#907E00
Deuteranopia (green-blind)
#847728
Tritanopia (blue-blind)
#198777
Achromatopsia (no color)
#7A7A7A

Design tokens & code

CSS
--color: #2c8c1b;
/* rgb */ color: rgb(44, 140, 27);
/* oklch */ color: oklch(56.3% 0.170 141.1);
Tailwind
colors: {
  custom: {
    50: '#74af61',
    500: '#2c8c1b',
    950: '#000000',
  },
}
SCSS
$custom: #2c8c1b;
$custom-light: #74af61;
$custom-dark: #000000;
JSON
{
  "hex": "#2c8c1b",
  "rgb": {
    "r": 44,
    "g": 140,
    "b": 27
  },
  "hsl": {
    "h": 110.973,
    "s": 67.665,
    "l": 32.745
  },
  "oklch": {
    "l": 0.56267,
    "c": 0.17047,
    "h": 141.1
  },
  "luminance": 0.19371
}

Semantic roles & 50–950 ramp

primary
#2C8C1B
secondary
#AB46BD
accent
#3DEBD0
background
#F7FAF6
surface
#EEF4EB
border
#C9CEC6
text
#091005
muted
#7B7F7A

Preview Lab

Preview with #2C8C1B

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

Preview Lab → · Contrast checker → · Palette generator →

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