#2C8F25#2C8F25

#2C8F25 is a mid, vivid green. Relative luminance 0.203; OKLCH L 57.2% C 0.168 H 142.2°. Best body text is #000000 at 5.06:1 contrast (WCAG AA passes).

Color values

HEX#2C8F25
RGBrgb(44, 143, 37)
HSLhsl(116, 59%, 35%)
HSVhsv(116, 74%, 56%)
CMYKcmyk(69.2%, 0%, 74.1%, 43.9%)
CIE-LABlab(52.19, -48.83, 45.56)
CIE-LCHlch(52.19, 66.79, 136.98°)
OKLaboklab(57.18% -0.133 0.1033)
OKLCHoklch(57.18% 0.168 142.2)
XYZxyz(11.1945, 20.3128, 5.0807)
Luminance0.2031 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2C8F25 #88258F
analogous
#618F25 #2C8F25 #258F53
triadic
#2C8F25 #252C8F #8F252C
tetradic
#2C8F25 #25618F #88258F #8F5325
square
#2C8F25 #25618F #88258F #8F5325
split-complementary
#2C8F25 #53258F #8F2561
monochromatic
#0E2E0C #1D5E18 #2C8F25 #3BC032 #62D45A

Accessibility & contrast

On white

4.15
#2C8F25 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.06
#2C8F25 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #2C8F25
5.06:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2C8F25#FFFFFF#000000##000000
##2C8F251.004.155.065.06
#FFFFFF4.151.0021.0021.00
#0000005.0621.001.001.00
##0000005.0621.001.001.00

Color blindness preview

Protanopia (red-blind)
#928112
Deuteranopia (green-blind)
#877930
Tritanopia (blue-blind)
#148B7A
Achromatopsia (no color)
#7C7C7C

Design tokens & code

CSS
--color: #2c8f25;
/* rgb */ color: rgb(44, 143, 37);
/* oklch */ color: oklch(57.2% 0.168 142.2);
Tailwind
colors: {
  custom: {
    50: '#74b166',
    500: '#2c8f25',
    950: '#000000',
  },
}
SCSS
$custom: #2c8f25;
$custom-light: #74b166;
$custom-dark: #000000;
JSON
{
  "hex": "#2c8f25",
  "rgb": {
    "r": 44,
    "g": 143,
    "b": 37
  },
  "hsl": {
    "h": 116.038,
    "s": 58.889,
    "l": 35.294
  },
  "oklch": {
    "l": 0.57175,
    "c": 0.16837,
    "h": 142.2
  },
  "luminance": 0.20314
}

Semantic roles & 50–950 ramp

primary
#2C8F25
secondary
#B357B9
accent
#46E2D8
background
#F7FBF6
surface
#EEF6EB
border
#C9D0C6
text
#091106
muted
#7B807A

Preview Lab

Preview with #2C8F25

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

Preview Lab → · Contrast checker → · Palette generator →

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