#2C8B1B#2C8B1B

#2C8B1B is a mid, vivid green. Relative luminance 0.191; OKLCH L 56.0% C 0.169 H 141.1°. Best body text is #000000 at 4.82:1 contrast (WCAG AA passes).

Color values

HEX#2C8B1B
RGBrgb(44, 139, 27)
HSLhsl(111, 67%, 33%)
HSVhsv(111, 81%, 55%)
CMYKcmyk(68.3%, 0%, 80.6%, 45.5%)
CIE-LABlab(50.78, -48.17, 47.73)
CIE-LCHlch(50.78, 67.81, 135.26°)
OKLaboklab(55.99% -0.1317 0.1064)
OKLCHoklch(55.99% 0.169 141.1)
XYZxyz(10.4686, 19.0788, 4.1676)
Luminance0.1908 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2C8B1B #7A1B8B
analogous
#648B1B #2C8B1B #1B8B42
triadic
#2C8B1B #1B2C8B #8B1B2C
tetradic
#2C8B1B #1B648B #7A1B8B #8B421B
square
#2C8B1B #1B648B #7A1B8B #8B421B
split-complementary
#2C8B1B #421B8B #8B1B64
monochromatic
#0C2507 #1C5811 #2C8B1B #3CBE25 #5CDB45

Accessibility & contrast

On white

4.36
#2C8B1B on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.82
#2C8B1B on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #2C8B1B
4.82:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2C8B1B#FFFFFF#000000##000000
##2C8B1B1.004.364.824.82
#FFFFFF4.361.0021.0021.00
#0000004.8221.001.001.00
##0000004.8221.001.001.00

Color blindness preview

Protanopia (red-blind)
#8F7E00
Deuteranopia (green-blind)
#847628
Tritanopia (blue-blind)
#198676
Achromatopsia (no color)
#797979

Design tokens & code

CSS
--color: #2c8b1b;
/* rgb */ color: rgb(44, 139, 27);
/* oklch */ color: oklch(56.0% 0.169 141.1);
Tailwind
colors: {
  custom: {
    50: '#74ae61',
    500: '#2c8b1b',
    950: '#000000',
  },
}
SCSS
$custom: #2c8b1b;
$custom-light: #74ae61;
$custom-dark: #000000;
JSON
{
  "hex": "#2c8b1b",
  "rgb": {
    "r": 44,
    "g": 139,
    "b": 27
  },
  "hsl": {
    "h": 110.893,
    "s": 67.47,
    "l": 32.549
  },
  "oklch": {
    "l": 0.55987,
    "c": 0.16931,
    "h": 141.1
  },
  "luminance": 0.1908
}

Semantic roles & 50–950 ramp

primary
#2C8B1B
secondary
#AA45BC
accent
#3DEAD0
background
#F7FAF6
surface
#EDF4EB
border
#C8CEC6
text
#091005
muted
#7B7F7A

Preview Lab

Preview with #2C8B1B

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

Preview Lab → · Contrast checker → · Palette generator →

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