#2C8231#2C8231

#2C8231 is a mid, vivid green. Relative luminance 0.167; OKLCH L 53.7% C 0.143 H 144.1°. Best body text is #FFFFFF at 4.83:1 contrast (WCAG AA passes).

Color values

HEX#2C8231
RGBrgb(44, 130, 49)
HSLhsl(123, 49%, 34%)
HSVhsv(123, 66%, 51%)
CMYKcmyk(66.2%, 0%, 62.3%, 49%)
CIE-LABlab(47.91, -42.81, 35.68)
CIE-LCHlch(47.91, 55.73, 140.19°)
OKLaboklab(53.67% -0.116 0.0838)
OKLCHoklch(53.67% 0.143 144.1)
XYZxyz(9.5751, 16.7215, 5.6281)
Luminance0.1672 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2C8231 #822C7D
analogous
#52822C #2C8231 #2C825C
triadic
#2C8231 #312C82 #82312C
tetradic
#2C8231 #2C5282 #822C7D #825C2C
square
#2C8231 #2C5282 #822C7D #825C2C
split-complementary
#2C8231 #5C2C82 #822C52
monochromatic
#0D270F #1D5420 #2C8231 #3BB042 #5FC966

Accessibility & contrast

On white

4.83
#2C8231 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.34
#2C8231 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #2C8231
4.83:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2C8231#FFFFFF#000000##FFFFFF
##2C82311.004.834.344.83
#FFFFFF4.831.0021.001.00
#0000004.3421.001.0021.00
##FFFFFF4.831.0021.001.00

Color blindness preview

Protanopia (red-blind)
#847628
Deuteranopia (green-blind)
#7A6F38
Tritanopia (blue-blind)
#187E71
Achromatopsia (no color)
#727272

Design tokens & code

CSS
--color: #2c8231;
/* rgb */ color: rgb(44, 130, 49);
/* oklch */ color: oklch(53.7% 0.143 144.1);
Tailwind
colors: {
  custom: {
    50: '#70a76c',
    500: '#2c8231',
    950: '#000000',
  },
}
SCSS
$custom: #2c8231;
$custom-light: #70a76c;
$custom-dark: #000000;
JSON
{
  "hex": "#2c8231",
  "rgb": {
    "r": 44,
    "g": 130,
    "b": 49
  },
  "hsl": {
    "h": 123.488,
    "s": 49.425,
    "l": 34.118
  },
  "oklch": {
    "l": 0.53665,
    "c": 0.14314,
    "h": 144.1
  },
  "luminance": 0.16722
}

Semantic roles & 50–950 ramp

primary
#2C8231
secondary
#AF5BAA
accent
#4FD1D9
background
#F7FAF6
surface
#EDF4EB
border
#C8CEC6
text
#080F07
muted
#7B7F7A

Preview Lab

Preview with #2C8231

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

Preview Lab → · Contrast checker → · Palette generator →

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