#2C8F2A#2C8F2A

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

Color values

HEX#2C8F2A
RGBrgb(44, 143, 42)
HSLhsl(119, 55%, 36%)
HSVhsv(119, 71%, 56%)
CMYKcmyk(69.2%, 0%, 70.6%, 43.9%)
CIE-LABlab(52.23, -48.38, 43.60)
CIE-LCHlch(52.23, 65.13, 137.98°)
OKLaboklab(57.22% -0.1315 0.0999)
OKLCHoklch(57.22% 0.165 142.8)
XYZxyz(11.2784, 20.3464, 5.5229)
Luminance0.2035 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2C8F2A #8D2A8F
analogous
#5F8F2A #2C8F2A #2A8F5B
triadic
#2C8F2A #2A2C8F #8F2A2C
tetradic
#2C8F2A #2A5F8F #8D2A8F #8F5B2A
square
#2C8F2A #2A5F8F #8D2A8F #8F5B2A
split-complementary
#2C8F2A #5B2A8F #8F2A5F
monochromatic
#0F300E #1D601C #2C8F2A #3BBE38 #65D162

Accessibility & contrast

On white

4.14
#2C8F2A on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.07
#2C8F2A on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #2C8F2A
5.07:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2C8F2A#FFFFFF#000000##000000
##2C8F2A1.004.145.075.07
#FFFFFF4.141.0021.0021.00
#0000005.0721.001.001.00
##0000005.0721.001.001.00

Color blindness preview

Protanopia (red-blind)
#92811B
Deuteranopia (green-blind)
#877934
Tritanopia (blue-blind)
#138B7B
Achromatopsia (no color)
#7D7D7D

Design tokens & code

CSS
--color: #2c8f2a;
/* rgb */ color: rgb(44, 143, 42);
/* oklch */ color: oklch(57.2% 0.165 142.8);
Tailwind
colors: {
  custom: {
    50: '#74b169',
    500: '#2c8f2a',
    950: '#000000',
  },
}
SCSS
$custom: #2c8f2a;
$custom-light: #74b169;
$custom-dark: #000000;
JSON
{
  "hex": "#2c8f2a",
  "rgb": {
    "r": 44,
    "g": 143,
    "b": 42
  },
  "hsl": {
    "h": 118.812,
    "s": 54.595,
    "l": 36.275
  },
  "oklch": {
    "l": 0.57219,
    "c": 0.16509,
    "h": 142.8
  },
  "luminance": 0.20348
}

Semantic roles & 50–950 ramp

primary
#2C8F2A
secondary
#B55EB7
accent
#4ADEDB
background
#F7FBF6
surface
#EDF6EB
border
#C8D0C6
text
#091107
muted
#7B807A

Preview Lab

Preview with #2C8F2A

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

Preview Lab → · Contrast checker → · Palette generator →

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