#2C8F1A#2C8F1A

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

Color values

HEX#2C8F1A
RGBrgb(44, 143, 26)
HSLhsl(111, 69%, 33%)
HSVhsv(111, 82%, 56%)
CMYKcmyk(69.2%, 0%, 81.8%, 43.9%)
CIE-LABlab(52.12, -49.62, 49.32)
CIE-LCHlch(52.12, 69.97, 135.18°)
OKLaboklab(57.1% -0.1357 0.1096)
OKLCHoklch(57.1% 0.174 141.1)
XYZxyz(11.0470, 20.2538, 4.3043)
Luminance0.2026 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2C8F1A #7D1A8F
analogous
#668F1A #2C8F1A #1A8F42
triadic
#2C8F1A #1A2C8F #8F1A2C
tetradic
#2C8F1A #1A668F #7D1A8F #8F421A
square
#2C8F1A #1A668F #7D1A8F #8F421A
split-complementary
#2C8F1A #421A8F #8F1A66
monochromatic
#0C2707 #1C5B11 #2C8F1A #3CC323 #5DDD46

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##2C8F1A#FFFFFF#000000##000000
##2C8F1A1.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)
#877928
Tritanopia (blue-blind)
#178A7A
Achromatopsia (no color)
#7C7C7C

Design tokens & code

CSS
--color: #2c8f1a;
/* rgb */ color: rgb(44, 143, 26);
/* oklch */ color: oklch(57.1% 0.174 141.1);
Tailwind
colors: {
  custom: {
    50: '#74b161',
    500: '#2c8f1a',
    950: '#000000',
  },
}
SCSS
$custom: #2c8f1a;
$custom-light: #74b161;
$custom-dark: #000000;
JSON
{
  "hex": "#2c8f1a",
  "rgb": {
    "r": 44,
    "g": 143,
    "b": 26
  },
  "hsl": {
    "h": 110.769,
    "s": 69.231,
    "l": 33.137
  },
  "oklch": {
    "l": 0.57099,
    "c": 0.1744,
    "h": 141.1
  },
  "luminance": 0.20255
}

Semantic roles & 50–950 ramp

primary
#2C8F1A
secondary
#AC46BF
accent
#3CECD1
background
#F7FBF6
surface
#EEF6EB
border
#C9D0C6
text
#091105
muted
#7B807A

Preview Lab

Preview with #2C8F1A

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

Preview Lab → · Contrast checker → · Palette generator →

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