#2C8E2F#2C8E2F

#2C8E2F is a mid, vivid green. Relative luminance 0.201; OKLCH L 57.0% C 0.160 H 143.5°. Best body text is #000000 at 5.02:1 contrast (WCAG AA passes).

Color values

HEX#2C8E2F
RGBrgb(44, 142, 47)
HSLhsl(122, 53%, 36%)
HSVhsv(122, 69%, 56%)
CMYKcmyk(69%, 0%, 66.9%, 44.3%)
CIE-LABlab(51.93, -47.51, 41.13)
CIE-LCHlch(51.93, 62.84, 139.12°)
OKLaboklab(56.99% -0.1289 0.0953)
OKLCHoklch(56.99% 0.16 143.5)
XYZxyz(11.2241, 20.0855, 5.9742)
Luminance0.2009 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2C8E2F #8E2C8B
analogous
#5A8E2C #2C8E2F #2C8E60
triadic
#2C8E2F #2F2C8E #8E2F2C
tetradic
#2C8E2F #2C5A8E #8E2C8B #8E602C
square
#2C8E2F #2C5A8E #8E2C8B #8E602C
split-complementary
#2C8E2F #602C8E #8E2C5A
monochromatic
#0F3110 #1E5F20 #2C8E2F #3ABD3E #65CF68

Accessibility & contrast

On white

4.19
#2C8E2F on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.02
#2C8E2F on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #2C8E2F
5.02:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2C8E2F#FFFFFF#000000##000000
##2C8E2F1.004.195.025.02
#FFFFFF4.191.0021.0021.00
#0000005.0221.001.001.00
##0000005.0221.001.001.00

Color blindness preview

Protanopia (red-blind)
#918123
Deuteranopia (green-blind)
#857937
Tritanopia (blue-blind)
#118A7A
Achromatopsia (no color)
#7C7C7C

Design tokens & code

CSS
--color: #2c8e2f;
/* rgb */ color: rgb(44, 142, 47);
/* oklch */ color: oklch(57.0% 0.160 143.5);
Tailwind
colors: {
  custom: {
    50: '#73b06c',
    500: '#2c8e2f',
    950: '#000000',
  },
}
SCSS
$custom: #2c8e2f;
$custom-light: #73b06c;
$custom-dark: #000000;
JSON
{
  "hex": "#2c8e2f",
  "rgb": {
    "r": 44,
    "g": 142,
    "b": 47
  },
  "hsl": {
    "h": 121.837,
    "s": 52.688,
    "l": 36.471
  },
  "oklch": {
    "l": 0.5699,
    "c": 0.16024,
    "h": 143.5
  },
  "luminance": 0.20087
}

Semantic roles & 50–950 ramp

primary
#2C8E2F
secondary
#B660B3
accent
#4CD8DC
background
#F7FAF6
surface
#EDF5EC
border
#C8CFC7
text
#091107
muted
#7B807A

Preview Lab

Preview with #2C8E2F

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

Preview Lab → · Contrast checker → · Palette generator →

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