#2C8F31#2C8F31

#2C8F31 is a mid, vivid green. Relative luminance 0.204; OKLCH L 57.3% C 0.160 H 143.8°. Best body text is #000000 at 5.08:1 contrast (WCAG AA passes).

Color values

HEX#2C8F31
RGBrgb(44, 143, 49)
HSLhsl(123, 53%, 37%)
HSVhsv(123, 69%, 56%)
CMYKcmyk(69.2%, 0%, 65.7%, 43.9%)
CIE-LABlab(52.29, -47.66, 40.62)
CIE-LCHlch(52.29, 62.62, 139.55°)
OKLaboklab(57.29% -0.1291 0.0944)
OKLCHoklch(57.29% 0.16 143.8)
XYZxyz(11.4148, 20.4009, 6.2413)
Luminance0.2040 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2C8F31 #8F2C8A
analogous
#598F2C #2C8F31 #2C8F63
triadic
#2C8F31 #312C8F #8F312C
tetradic
#2C8F31 #2C598F #8F2C8A #8F632C
square
#2C8F31 #2C598F #8F2C8A #8F632C
split-complementary
#2C8F31 #632C8F #8F2C59
monochromatic
#0F3111 #1E6021 #2C8F31 #3ABE41 #66D06B

Accessibility & contrast

On white

4.13
#2C8F31 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.08
#2C8F31 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #2C8F31
5.08:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2C8F31#FFFFFF#000000##000000
##2C8F311.004.135.085.08
#FFFFFF4.131.0021.0021.00
#0000005.0821.001.001.00
##0000005.0821.001.001.00

Color blindness preview

Protanopia (red-blind)
#928226
Deuteranopia (green-blind)
#867A39
Tritanopia (blue-blind)
#108B7B
Achromatopsia (no color)
#7D7D7D

Design tokens & code

CSS
--color: #2c8f31;
/* rgb */ color: rgb(44, 143, 49);
/* oklch */ color: oklch(57.3% 0.160 143.8);
Tailwind
colors: {
  custom: {
    50: '#73b16d',
    500: '#2c8f31',
    950: '#000000',
  },
}
SCSS
$custom: #2c8f31;
$custom-light: #73b16d;
$custom-dark: #000000;
JSON
{
  "hex": "#2c8f31",
  "rgb": {
    "r": 44,
    "g": 143,
    "b": 49
  },
  "hsl": {
    "h": 123.03,
    "s": 52.941,
    "l": 36.667
  },
  "oklch": {
    "l": 0.57289,
    "c": 0.15997,
    "h": 143.8
  },
  "luminance": 0.20402
}

Semantic roles & 50–950 ramp

primary
#2C8F31
secondary
#B661B2
accent
#4BD5DC
background
#F7FBF6
surface
#EDF6EC
border
#C8D0C7
text
#091107
muted
#7B807A

Preview Lab

Preview with #2C8F31

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

Preview Lab → · Contrast checker → · Palette generator →

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