#2C8E1B#2C8E1B

#2C8E1B is a mid, vivid green. Relative luminance 0.200; OKLCH L 56.8% C 0.173 H 141.1°. Best body text is #000000 at 4.99:1 contrast (WCAG AA passes).

Color values

HEX#2C8E1B
RGBrgb(44, 142, 27)
HSLhsl(111, 68%, 33%)
HSVhsv(111, 81%, 56%)
CMYKcmyk(69%, 0%, 81%, 44.3%)
CIE-LABlab(51.79, -49.22, 48.70)
CIE-LCHlch(51.79, 69.24, 135.30°)
OKLaboklab(56.83% -0.1345 0.1084)
OKLCHoklch(56.83% 0.173 141.1)
XYZxyz(10.9090, 19.9595, 4.3144)
Luminance0.1996 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2C8E1B #7D1B8E
analogous
#658E1B #2C8E1B #1B8E43
triadic
#2C8E1B #1B2C8E #8E1B2C
tetradic
#2C8E1B #1B658E #7D1B8E #8E431B
square
#2C8E1B #1B658E #7D1B8E #8E431B
split-complementary
#2C8E1B #431B8E #8E1B65
monochromatic
#0C2707 #1C5B11 #2C8E1B #3CC125 #5DDC47

Accessibility & contrast

On white

4.21
#2C8E1B on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.99
#2C8E1B on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #2C8E1B
4.99:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2C8E1B#FFFFFF#000000##000000
##2C8E1B1.004.214.994.99
#FFFFFF4.211.0021.0021.00
#0000004.9921.001.001.00
##0000004.9921.001.001.00

Color blindness preview

Protanopia (red-blind)
#928000
Deuteranopia (green-blind)
#867829
Tritanopia (blue-blind)
#188979
Achromatopsia (no color)
#7B7B7B

Design tokens & code

CSS
--color: #2c8e1b;
/* rgb */ color: rgb(44, 142, 27);
/* oklch */ color: oklch(56.8% 0.173 141.1);
Tailwind
colors: {
  custom: {
    50: '#74b062',
    500: '#2c8e1b',
    950: '#000000',
  },
}
SCSS
$custom: #2c8e1b;
$custom-light: #74b062;
$custom-dark: #000000;
JSON
{
  "hex": "#2c8e1b",
  "rgb": {
    "r": 44,
    "g": 142,
    "b": 27
  },
  "hsl": {
    "h": 111.13,
    "s": 68.047,
    "l": 33.137
  },
  "oklch": {
    "l": 0.56826,
    "c": 0.17278,
    "h": 141.1
  },
  "luminance": 0.19961
}

Semantic roles & 50–950 ramp

primary
#2C8E1B
secondary
#AC47BE
accent
#3DEBD1
background
#F7FAF6
surface
#EEF5EB
border
#C9CFC6
text
#091105
muted
#7B807A

Preview Lab

Preview with #2C8E1B

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

Preview Lab → · Contrast checker → · Palette generator →

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