#2C8B34#2C8B34

#2C8B34 is a mid, vivid green. Relative luminance 0.192; OKLCH L 56.2% C 0.152 H 144.5°. Best body text is #000000 at 4.85:1 contrast (WCAG AA passes).

Color values

HEX#2C8B34
RGBrgb(44, 139, 52)
HSLhsl(125, 52%, 36%)
HSVhsv(125, 68%, 55%)
CMYKcmyk(68.3%, 0%, 62.6%, 45.5%)
CIE-LABlab(50.98, -45.84, 37.76)
CIE-LCHlch(50.98, 59.38, 140.52°)
OKLaboklab(56.21% -0.1241 0.0886)
OKLCHoklch(56.21% 0.152 144.5)
XYZxyz(10.8905, 19.2475, 6.3894)
Luminance0.1925 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2C8B34 #8B2C83
analogous
#538B2C #2C8B34 #2C8B63
triadic
#2C8B34 #342C8B #8B342C
tetradic
#2C8B34 #2C538B #8B2C83 #8B632C
square
#2C8B34 #2C538B #8B2C83 #8B632C
split-complementary
#2C8B34 #632C8B #8B2C53
monochromatic
#0F2E11 #1D5D23 #2C8B34 #3BB945 #64CE6D

Accessibility & contrast

On white

4.33
#2C8B34 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.85
#2C8B34 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #2C8B34
4.85:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2C8B34#FFFFFF#000000##000000
##2C8B341.004.334.854.85
#FFFFFF4.331.0021.0021.00
#0000004.8521.001.001.00
##0000004.8521.001.001.00

Color blindness preview

Protanopia (red-blind)
#8E7E2A
Deuteranopia (green-blind)
#82763B
Tritanopia (blue-blind)
#118778
Achromatopsia (no color)
#797979

Design tokens & code

CSS
--color: #2c8b34;
/* rgb */ color: rgb(44, 139, 52);
/* oklch */ color: oklch(56.2% 0.152 144.5);
Tailwind
colors: {
  custom: {
    50: '#72ae6f',
    500: '#2c8b34',
    950: '#000000',
  },
}
SCSS
$custom: #2c8b34;
$custom-light: #72ae6f;
$custom-dark: #000000;
JSON
{
  "hex": "#2c8b34",
  "rgb": {
    "r": 44,
    "g": 139,
    "b": 52
  },
  "hsl": {
    "h": 125.053,
    "s": 51.913,
    "l": 35.882
  },
  "oklch": {
    "l": 0.56212,
    "c": 0.15245,
    "h": 144.5
  },
  "luminance": 0.19249
}

Semantic roles & 50–950 ramp

primary
#2C8B34
secondary
#B45FAD
accent
#4CCFDB
background
#F7FAF6
surface
#EDF4EC
border
#C8CEC7
text
#091007
muted
#7B7F7A

Preview Lab

Preview with #2C8B34

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

Preview Lab → · Contrast checker → · Palette generator →

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