#2C8952#2C8952

#2C8952 is a mid, vivid green. Relative luminance 0.190; OKLCH L 56.1% C 0.122 H 153.5°. Best body text is #000000 at 4.81:1 contrast (WCAG AA passes).

Color values

HEX#2C8952
RGBrgb(44, 137, 82)
HSLhsl(145, 51%, 35%)
HSVhsv(145, 68%, 54%)
CMYKcmyk(67.9%, 0%, 40.1%, 46.3%)
CIE-LABlab(50.73, -40.27, 21.76)
CIE-LCHlch(50.73, 45.78, 151.62°)
OKLaboklab(56.15% -0.1088 0.0542)
OKLCHoklch(56.15% 0.122 153.5)
XYZxyz(11.5064, 19.0348, 11.0487)
Luminance0.1904 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2C8952 #892C63
analogous
#35892C #2C8952 #2C8980
triadic
#2C8952 #522C89 #89522C
tetradic
#2C8952 #2C3589 #892C63 #89802C
square
#2C8952 #2C3589 #892C63 #89802C
split-complementary
#2C8952 #802C89 #892C35
monochromatic
#0E2C1B #1D5B36 #2C8952 #3BB76E #63CD8E

Accessibility & contrast

On white

4.37
#2C8952 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.81
#2C8952 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #2C8952
4.81:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2C8952#FFFFFF#000000##000000
##2C89521.004.374.814.81
#FFFFFF4.371.0021.0021.00
#0000004.8121.001.001.00
##0000004.8121.001.001.00

Color blindness preview

Protanopia (red-blind)
#897E4E
Deuteranopia (green-blind)
#7D7556
Tritanopia (blue-blind)
#00877B
Achromatopsia (no color)
#797979

Design tokens & code

CSS
--color: #2c8952;
/* rgb */ color: rgb(44, 137, 82);
/* oklch */ color: oklch(56.1% 0.122 153.5);
Tailwind
colors: {
  custom: {
    50: '#71ac83',
    500: '#2c8952',
    950: '#000000',
  },
}
SCSS
$custom: #2c8952;
$custom-light: #71ac83;
$custom-dark: #000000;
JSON
{
  "hex": "#2c8952",
  "rgb": {
    "r": 44,
    "g": 137,
    "b": 82
  },
  "hsl": {
    "h": 144.516,
    "s": 51.381,
    "l": 35.49
  },
  "oklch": {
    "l": 0.56145,
    "c": 0.12161,
    "h": 153.5
  },
  "luminance": 0.19036
}

Semantic roles & 50–950 ramp

primary
#2C8952
secondary
#B35E90
accent
#4DA1DB
background
#F7FAF8
surface
#EDF4EF
border
#C8CECA
text
#08100A
muted
#7B7F7C

Preview Lab

Preview with #2C8952

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

Preview Lab → · Contrast checker → · Palette generator →

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