#2C8127#2C8127

#2C8127 is a mid, vivid green. Relative luminance 0.164; OKLCH L 53.3% C 0.150 H 142.3°. Best body text is #FFFFFF at 4.91:1 contrast (WCAG AA passes).

Color values

HEX#2C8127
RGBrgb(44, 129, 39)
HSLhsl(117, 54%, 33%)
HSVhsv(117, 70%, 51%)
CMYKcmyk(65.9%, 0%, 69.8%, 49.4%)
CIE-LABlab(47.47, -43.56, 39.81)
CIE-LCHlch(47.47, 59.01, 137.57°)
OKLaboklab(53.27% -0.1186 0.0915)
OKLCHoklch(53.27% 0.15 142.3)
XYZxyz(9.2547, 16.3816, 4.5933)
Luminance0.1638 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2C8127 #7C2781
analogous
#598127 #2C8127 #27814F
triadic
#2C8127 #272C81 #81272C
tetradic
#2C8127 #275981 #7C2781 #814F27
square
#2C8127 #275981 #7C2781 #814F27
split-complementary
#2C8127 #4F2781 #812759
monochromatic
#0C230B #1C5219 #2C8127 #3CB035 #5DCC56

Accessibility & contrast

On white

4.91
#2C8127 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.28
#2C8127 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #2C8127
4.91:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2C8127#FFFFFF#000000##FFFFFF
##2C81271.004.914.284.91
#FFFFFF4.911.0021.001.00
#0000004.2821.001.0021.00
##FFFFFF4.911.0021.001.00

Color blindness preview

Protanopia (red-blind)
#84751B
Deuteranopia (green-blind)
#7A6E2F
Tritanopia (blue-blind)
#1B7D6F
Achromatopsia (no color)
#717171

Design tokens & code

CSS
--color: #2c8127;
/* rgb */ color: rgb(44, 129, 39);
/* oklch */ color: oklch(53.3% 0.150 142.3);
Tailwind
colors: {
  custom: {
    50: '#71a666',
    500: '#2c8127',
    950: '#000000',
  },
}
SCSS
$custom: #2c8127;
$custom-light: #71a666;
$custom-dark: #000000;
JSON
{
  "hex": "#2c8127",
  "rgb": {
    "r": 44,
    "g": 129,
    "b": 39
  },
  "hsl": {
    "h": 116.667,
    "s": 53.571,
    "l": 32.941
  },
  "oklch": {
    "l": 0.53274,
    "c": 0.14978,
    "h": 142.3
  },
  "luminance": 0.16382
}

Semantic roles & 50–950 ramp

primary
#2C8127
secondary
#AC53B1
accent
#4BDDD5
background
#F7FAF6
surface
#EDF4EB
border
#C8CEC6
text
#080F06
muted
#7B7F7A

Preview Lab

Preview with #2C8127

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

Preview Lab → · Contrast checker → · Palette generator →

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