#2C8A31#2C8A31

#2C8A31 is a mid, vivid green. Relative luminance 0.189; OKLCH L 55.9% C 0.154 H 143.9°. Best body text is #000000 at 4.79:1 contrast (WCAG AA passes).

Color values

HEX#2C8A31
RGBrgb(44, 138, 49)
HSLhsl(123, 52%, 36%)
HSVhsv(123, 68%, 54%)
CMYKcmyk(68.1%, 0%, 64.5%, 45.9%)
CIE-LABlab(50.61, -45.82, 38.75)
CIE-LCHlch(50.61, 60.01, 139.78°)
OKLaboklab(55.9% -0.1242 0.0904)
OKLCHoklch(55.9% 0.154 143.9)
XYZxyz(10.6809, 18.9331, 5.9967)
Luminance0.1893 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2C8A31 #8A2C85
analogous
#568A2C #2C8A31 #2C8A60
triadic
#2C8A31 #312C8A #8A312C
tetradic
#2C8A31 #2C568A #8A2C85 #8A602C
square
#2C8A31 #2C568A #8A2C85 #8A602C
split-complementary
#2C8A31 #602C8A #8A2C56
monochromatic
#0E2D10 #1D5C21 #2C8A31 #3BB841 #63CD69

Accessibility & contrast

On white

4.39
#2C8A31 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.79
#2C8A31 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #2C8A31
4.79:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2C8A31#FFFFFF#000000##000000
##2C8A311.004.394.794.79
#FFFFFF4.391.0021.0021.00
#0000004.7921.001.001.00
##0000004.7921.001.001.00

Color blindness preview

Protanopia (red-blind)
#8D7D27
Deuteranopia (green-blind)
#817539
Tritanopia (blue-blind)
#138677
Achromatopsia (no color)
#787878

Design tokens & code

CSS
--color: #2c8a31;
/* rgb */ color: rgb(44, 138, 49);
/* oklch */ color: oklch(55.9% 0.154 143.9);
Tailwind
colors: {
  custom: {
    50: '#72ad6d',
    500: '#2c8a31',
    950: '#000000',
  },
}
SCSS
$custom: #2c8a31;
$custom-light: #72ad6d;
$custom-dark: #000000;
JSON
{
  "hex": "#2c8a31",
  "rgb": {
    "r": 44,
    "g": 138,
    "b": 49
  },
  "hsl": {
    "h": 123.191,
    "s": 51.648,
    "l": 35.686
  },
  "oklch": {
    "l": 0.55899,
    "c": 0.15361,
    "h": 143.9
  },
  "luminance": 0.18934
}

Semantic roles & 50–950 ramp

primary
#2C8A31
secondary
#B45EAF
accent
#4DD4DB
background
#F7FAF6
surface
#EDF4EC
border
#C8CEC7
text
#091007
muted
#7B7F7A

Preview Lab

Preview with #2C8A31

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

Preview Lab → · Contrast checker → · Palette generator →

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