#2C8023#2C8023

#2C8023 is a mid, vivid green. Relative luminance 0.161; OKLCH L 53.0% C 0.151 H 141.7°. Best body text is #FFFFFF at 4.98:1 contrast (WCAG AA passes).

Color values

HEX#2C8023
RGBrgb(44, 128, 35)
HSLhsl(114, 57%, 32%)
HSVhsv(114, 73%, 50%)
CMYKcmyk(65.6%, 0%, 72.7%, 49.8%)
CIE-LABlab(47.10, -43.57, 41.11)
CIE-LCHlch(47.10, 59.90, 136.66°)
OKLaboklab(52.95% -0.1188 0.0937)
OKLCHoklch(52.95% 0.151 141.7)
XYZxyz(9.0608, 16.0943, 4.2188)
Luminance0.1610 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2C8023 #772380
analogous
#5A8023 #2C8023 #238049
triadic
#2C8023 #232C80 #80232C
tetradic
#2C8023 #235A80 #772380 #804923
square
#2C8023 #235A80 #772380 #804923
split-complementary
#2C8023 #492380 #80235A
monochromatic
#0B2009 #1B5016 #2C8023 #3DB030 #5BCF4F

Accessibility & contrast

On white

4.98
#2C8023 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.22
#2C8023 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #2C8023
4.98:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2C8023#FFFFFF#000000##FFFFFF
##2C80231.004.984.224.98
#FFFFFF4.981.0021.001.00
#0000004.2221.001.0021.00
##FFFFFF4.981.0021.001.00

Color blindness preview

Protanopia (red-blind)
#837414
Deuteranopia (green-blind)
#796D2C
Tritanopia (blue-blind)
#1D7C6E
Achromatopsia (no color)
#707070

Design tokens & code

CSS
--color: #2c8023;
/* rgb */ color: rgb(44, 128, 35);
/* oklch */ color: oklch(53.0% 0.151 141.7);
Tailwind
colors: {
  custom: {
    50: '#71a664',
    500: '#2c8023',
    950: '#000000',
  },
}
SCSS
$custom: #2c8023;
$custom-light: #71a664;
$custom-dark: #000000;
JSON
{
  "hex": "#2c8023",
  "rgb": {
    "r": 44,
    "g": 128,
    "b": 35
  },
  "hsl": {
    "h": 114.194,
    "s": 57.055,
    "l": 31.961
  },
  "oklch": {
    "l": 0.52954,
    "c": 0.15134,
    "h": 141.7
  },
  "luminance": 0.16095
}

Semantic roles & 50–950 ramp

primary
#2C8023
secondary
#A84DB2
accent
#47E0D2
background
#F7FAF6
surface
#EDF4EB
border
#C8CEC6
text
#080F06
muted
#7B7F7A

Preview Lab

Preview with #2C8023

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

Preview Lab → · Contrast checker → · Palette generator →

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