#2C8D25#2C8D25

#2C8D25 is a mid, vivid green. Relative luminance 0.197; OKLCH L 56.6% C 0.166 H 142.1°. Best body text is #000000 at 4.94:1 contrast (WCAG AA passes).

Color values

HEX#2C8D25
RGBrgb(44, 141, 37)
HSLhsl(116, 58%, 35%)
HSVhsv(116, 74%, 55%)
CMYKcmyk(68.8%, 0%, 73.8%, 44.7%)
CIE-LABlab(51.52, -48.12, 44.88)
CIE-LCHlch(51.52, 65.80, 137.00°)
OKLaboklab(56.62% -0.131 0.1019)
OKLCHoklch(56.62% 0.166 142.1)
XYZxyz(10.8969, 19.7177, 4.9815)
Luminance0.1972 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2C8D25 #86258D
analogous
#608D25 #2C8D25 #258D52
triadic
#2C8D25 #252C8D #8D252C
tetradic
#2C8D25 #25608D #86258D #8D5225
square
#2C8D25 #25608D #86258D #8D5225
split-complementary
#2C8D25 #52258D #8D2560
monochromatic
#0E2C0C #1D5D18 #2C8D25 #3BBD32 #61D359

Accessibility & contrast

On white

4.25
#2C8D25 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.94
#2C8D25 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #2C8D25
4.94:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2C8D25#FFFFFF#000000##000000
##2C8D251.004.254.944.94
#FFFFFF4.251.0021.0021.00
#0000004.9421.001.001.00
##0000004.9421.001.001.00

Color blindness preview

Protanopia (red-blind)
#908013
Deuteranopia (green-blind)
#857830
Tritanopia (blue-blind)
#168979
Achromatopsia (no color)
#7B7B7B

Design tokens & code

CSS
--color: #2c8d25;
/* rgb */ color: rgb(44, 141, 37);
/* oklch */ color: oklch(56.6% 0.166 142.1);
Tailwind
colors: {
  custom: {
    50: '#73af66',
    500: '#2c8d25',
    950: '#000000',
  },
}
SCSS
$custom: #2c8d25;
$custom-light: #73af66;
$custom-dark: #000000;
JSON
{
  "hex": "#2c8d25",
  "rgb": {
    "r": 44,
    "g": 141,
    "b": 37
  },
  "hsl": {
    "h": 115.962,
    "s": 58.427,
    "l": 34.902
  },
  "oklch": {
    "l": 0.56618,
    "c": 0.16598,
    "h": 142.1
  },
  "luminance": 0.19719
}

Semantic roles & 50–950 ramp

primary
#2C8D25
secondary
#B156B8
accent
#46E2D7
background
#F7FAF6
surface
#EDF5EB
border
#C8CFC6
text
#091006
muted
#7B7F7A

Preview Lab

Preview with #2C8D25

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

Preview Lab → · Contrast checker → · Palette generator →

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