#2C8223#2C8223

#2C8223 is a mid, vivid green. Relative luminance 0.166; OKLCH L 53.5% C 0.154 H 141.8°. Best body text is #FFFFFF at 4.86:1 contrast (WCAG AA passes).

Color values

HEX#2C8223
RGBrgb(44, 130, 35)
HSLhsl(114, 58%, 32%)
HSVhsv(114, 73%, 51%)
CMYKcmyk(66.2%, 0%, 73.1%, 49%)
CIE-LABlab(47.78, -44.31, 41.82)
CIE-LCHlch(47.78, 60.93, 136.65°)
OKLaboklab(53.52% -0.1208 0.0952)
OKLCHoklch(53.52% 0.154 141.8)
XYZxyz(9.3242, 16.6212, 4.3066)
Luminance0.1662 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2C8223 #792382
analogous
#5B8223 #2C8223 #23824A
triadic
#2C8223 #232C82 #82232C
tetradic
#2C8223 #235B82 #792382 #824A23
square
#2C8223 #235B82 #792382 #824A23
split-complementary
#2C8223 #4A2382 #82235B
monochromatic
#0B2209 #1C5216 #2C8223 #3CB230 #5CD050

Accessibility & contrast

On white

4.86
#2C8223 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.32
#2C8223 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #2C8223
4.86:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2C8223#FFFFFF#000000##FFFFFF
##2C82231.004.864.324.86
#FFFFFF4.861.0021.001.00
#0000004.3221.001.0021.00
##FFFFFF4.861.0021.001.00

Color blindness preview

Protanopia (red-blind)
#857614
Deuteranopia (green-blind)
#7B6F2C
Tritanopia (blue-blind)
#1C7E6F
Achromatopsia (no color)
#717171

Design tokens & code

CSS
--color: #2c8223;
/* rgb */ color: rgb(44, 130, 35);
/* oklch */ color: oklch(53.5% 0.154 141.8);
Tailwind
colors: {
  custom: {
    50: '#71a764',
    500: '#2c8223',
    950: '#000000',
  },
}
SCSS
$custom: #2c8223;
$custom-light: #71a764;
$custom-dark: #000000;
JSON
{
  "hex": "#2c8223",
  "rgb": {
    "r": 44,
    "g": 130,
    "b": 35
  },
  "hsl": {
    "h": 114.316,
    "s": 57.576,
    "l": 32.353
  },
  "oklch": {
    "l": 0.53518,
    "c": 0.15384,
    "h": 141.8
  },
  "luminance": 0.16622
}

Semantic roles & 50–950 ramp

primary
#2C8223
secondary
#AA4DB3
accent
#47E1D2
background
#F7FAF6
surface
#EDF4EB
border
#C8CEC6
text
#090F06
muted
#7B7F7A

Preview Lab

Preview with #2C8223

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

Preview Lab → · Contrast checker → · Palette generator →

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