#2C8F45#2C8F45

#2C8F45 is a mid, vivid green. Relative luminance 0.206; OKLCH L 57.6% C 0.143 H 148.2°. Best body text is #000000 at 5.12:1 contrast (WCAG AA passes).

Color values

HEX#2C8F45
RGBrgb(44, 143, 69)
HSLhsl(135, 53%, 37%)
HSVhsv(135, 69%, 56%)
CMYKcmyk(69.2%, 0%, 51.7%, 43.9%)
CIE-LABlab(52.52, -44.96, 31.09)
CIE-LCHlch(52.52, 54.66, 145.34°)
OKLaboklab(57.55% -0.1212 0.0752)
OKLCHoklch(57.55% 0.143 148.2)
XYZxyz(11.9345, 20.6088, 8.9780)
Luminance0.2061 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2C8F45 #8F2C76
analogous
#448F2C #2C8F45 #2C8F77
triadic
#2C8F45 #452C8F #8F452C
tetradic
#2C8F45 #2C448F #8F2C76 #8F772C
square
#2C8F45 #2C448F #8F2C76 #8F772C
split-complementary
#2C8F45 #772C8F #8F2C44
monochromatic
#0F3118 #1E602E #2C8F45 #3ABE5C #66D080

Accessibility & contrast

On white

4.10
#2C8F45 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.12
#2C8F45 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #2C8F45
5.12:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2C8F45#FFFFFF#000000##000000
##2C8F451.004.105.125.12
#FFFFFF4.101.0021.0021.00
#0000005.1221.001.001.00
##0000005.1221.001.001.00

Color blindness preview

Protanopia (red-blind)
#90823F
Deuteranopia (green-blind)
#847A4A
Tritanopia (blue-blind)
#008C7E
Achromatopsia (no color)
#7D7D7D

Design tokens & code

CSS
--color: #2c8f45;
/* rgb */ color: rgb(44, 143, 69);
/* oklch */ color: oklch(57.6% 0.143 148.2);
Tailwind
colors: {
  custom: {
    50: '#72b17a',
    500: '#2c8f45',
    950: '#000000',
  },
}
SCSS
$custom: #2c8f45;
$custom-light: #72b17a;
$custom-dark: #000000;
JSON
{
  "hex": "#2c8f45",
  "rgb": {
    "r": 44,
    "g": 143,
    "b": 69
  },
  "hsl": {
    "h": 135.152,
    "s": 52.941,
    "l": 36.667
  },
  "oklch": {
    "l": 0.57554,
    "c": 0.14265,
    "h": 148.2
  },
  "luminance": 0.2061
}

Semantic roles & 50–950 ramp

primary
#2C8F45
secondary
#B661A1
accent
#4BB8DC
background
#F7FBF7
surface
#EDF6EE
border
#C8D0C9
text
#091109
muted
#7B807B

Preview Lab

Preview with #2C8F45

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

Preview Lab → · Contrast checker → · Palette generator →

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