#2C8F2B#2C8F2B

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

Color values

HEX#2C8F2B
RGBrgb(44, 143, 43)
HSLhsl(119, 54%, 36%)
HSVhsv(119, 70%, 56%)
CMYKcmyk(69.2%, 0%, 69.9%, 43.9%)
CIE-LABlab(52.23, -48.28, 43.19)
CIE-LCHlch(52.23, 64.78, 138.19°)
OKLaboklab(57.23% -0.1311 0.0991)
OKLCHoklch(57.23% 0.164 142.9)
XYZxyz(11.2965, 20.3536, 5.6183)
Luminance0.2036 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2C8F2B #8E2B8F
analogous
#5E8F2B #2C8F2B #2B8F5C
triadic
#2C8F2B #2B2C8F #8F2B2C
tetradic
#2C8F2B #2B5E8F #8E2B8F #8F5C2B
square
#2C8F2B #2B5E8F #8E2B8F #8F5C2B
split-complementary
#2C8F2B #5C2B8F #8F2B5E
monochromatic
#0F310F #1E601D #2C8F2B #3ABE39 #65D064

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##2C8F2B#FFFFFF#000000##000000
##2C8F2B1.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)
#92811D
Deuteranopia (green-blind)
#867A34
Tritanopia (blue-blind)
#128B7B
Achromatopsia (no color)
#7D7D7D

Design tokens & code

CSS
--color: #2c8f2b;
/* rgb */ color: rgb(44, 143, 43);
/* oklch */ color: oklch(57.2% 0.164 142.9);
Tailwind
colors: {
  custom: {
    50: '#74b16a',
    500: '#2c8f2b',
    950: '#000000',
  },
}
SCSS
$custom: #2c8f2b;
$custom-light: #74b16a;
$custom-dark: #000000;
JSON
{
  "hex": "#2c8f2b",
  "rgb": {
    "r": 44,
    "g": 143,
    "b": 43
  },
  "hsl": {
    "h": 119.4,
    "s": 53.763,
    "l": 36.471
  },
  "oklch": {
    "l": 0.57228,
    "c": 0.16439,
    "h": 142.9
  },
  "luminance": 0.20355
}

Semantic roles & 50–950 ramp

primary
#2C8F2B
secondary
#B65FB7
accent
#4BDDDC
background
#F7FBF6
surface
#EDF6EB
border
#C8D0C6
text
#091107
muted
#7B807A

Preview Lab

Preview with #2C8F2B

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

Preview Lab → · Contrast checker → · Palette generator →

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