#2C8F1C#2C8F1C

#2C8F1C is a mid, vivid green. Relative luminance 0.203; OKLCH L 57.1% C 0.173 H 141.2°. Best body text is #000000 at 5.05:1 contrast (WCAG AA passes).

Color values

HEX#2C8F1C
RGBrgb(44, 143, 28)
HSLhsl(112, 67%, 34%)
HSVhsv(112, 80%, 56%)
CMYKcmyk(69.2%, 0%, 80.4%, 43.9%)
CIE-LABlab(52.13, -49.50, 48.70)
CIE-LCHlch(52.13, 69.44, 135.46°)
OKLaboklab(57.11% -0.1352 0.1086)
OKLCHoklch(57.11% 0.173 141.2)
XYZxyz(11.0702, 20.2631, 4.4261)
Luminance0.2026 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2C8F1C #7F1C8F
analogous
#658F1C #2C8F1C #1C8F45
triadic
#2C8F1C #1C2C8F #8F1C2C
tetradic
#2C8F1C #1C658F #7F1C8F #8F451C
square
#2C8F1C #1C658F #7F1C8F #8F451C
split-complementary
#2C8F1C #451C8F #8F1C65
monochromatic
#0D2908 #1C5C12 #2C8F1C #3CC226 #5EDC4A

Accessibility & contrast

On white

4.16
#2C8F1C on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.05
#2C8F1C on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #2C8F1C
5.05:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2C8F1C#FFFFFF#000000##000000
##2C8F1C1.004.165.055.05
#FFFFFF4.161.0021.0021.00
#0000005.0521.001.001.00
##0000005.0521.001.001.00

Color blindness preview

Protanopia (red-blind)
#938100
Deuteranopia (green-blind)
#87792A
Tritanopia (blue-blind)
#178A7A
Achromatopsia (no color)
#7C7C7C

Design tokens & code

CSS
--color: #2c8f1c;
/* rgb */ color: rgb(44, 143, 28);
/* oklch */ color: oklch(57.1% 0.173 141.2);
Tailwind
colors: {
  custom: {
    50: '#74b162',
    500: '#2c8f1c',
    950: '#000000',
  },
}
SCSS
$custom: #2c8f1c;
$custom-light: #74b162;
$custom-dark: #000000;
JSON
{
  "hex": "#2c8f1c",
  "rgb": {
    "r": 44,
    "g": 143,
    "b": 28
  },
  "hsl": {
    "h": 111.652,
    "s": 67.251,
    "l": 33.529
  },
  "oklch": {
    "l": 0.57111,
    "c": 0.17343,
    "h": 141.2
  },
  "luminance": 0.20264
}

Semantic roles & 50–950 ramp

primary
#2C8F1C
secondary
#AD49BE
accent
#3EEAD2
background
#F7FBF6
surface
#EEF6EB
border
#C9D0C6
text
#091106
muted
#7B807A

Preview Lab

Preview with #2C8F1C

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

Preview Lab → · Contrast checker → · Palette generator →

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