#2C8227#2C8227

#2C8227 is a mid, vivid green. Relative luminance 0.166; OKLCH L 53.6% C 0.151 H 142.3°. Best body text is #FFFFFF at 4.85:1 contrast (WCAG AA passes).

Color values

HEX#2C8227
RGBrgb(44, 130, 39)
HSLhsl(117, 54%, 33%)
HSVhsv(117, 70%, 51%)
CMYKcmyk(66.2%, 0%, 70%, 49%)
CIE-LABlab(47.81, -43.93, 40.17)
CIE-LCHlch(47.81, 59.53, 137.56°)
OKLaboklab(53.56% -0.1196 0.0923)
OKLCHoklch(53.56% 0.151 142.3)
XYZxyz(9.3870, 16.6463, 4.6374)
Luminance0.1665 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2C8227 #7D2782
analogous
#598227 #2C8227 #27824F
triadic
#2C8227 #272C82 #82272C
tetradic
#2C8227 #275982 #7D2782 #824F27
square
#2C8227 #275982 #7D2782 #824F27
split-complementary
#2C8227 #4F2782 #822759
monochromatic
#0C240B #1C5319 #2C8227 #3CB135 #5DCD57

Accessibility & contrast

On white

4.85
#2C8227 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.33
#2C8227 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #2C8227
4.85:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2C8227#FFFFFF#000000##FFFFFF
##2C82271.004.854.334.85
#FFFFFF4.851.0021.001.00
#0000004.3321.001.0021.00
##FFFFFF4.851.0021.001.00

Color blindness preview

Protanopia (red-blind)
#85761A
Deuteranopia (green-blind)
#7B6F2F
Tritanopia (blue-blind)
#1B7E70
Achromatopsia (no color)
#717171

Design tokens & code

CSS
--color: #2c8227;
/* rgb */ color: rgb(44, 130, 39);
/* oklch */ color: oklch(53.6% 0.151 142.3);
Tailwind
colors: {
  custom: {
    50: '#71a766',
    500: '#2c8227',
    950: '#000000',
  },
}
SCSS
$custom: #2c8227;
$custom-light: #71a766;
$custom-dark: #000000;
JSON
{
  "hex": "#2c8227",
  "rgb": {
    "r": 44,
    "g": 130,
    "b": 39
  },
  "hsl": {
    "h": 116.703,
    "s": 53.846,
    "l": 33.137
  },
  "oklch": {
    "l": 0.53555,
    "c": 0.15105,
    "h": 142.3
  },
  "luminance": 0.16647
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #2C8227

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

Preview Lab → · Contrast checker → · Palette generator →

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