#31AC3C#31AC3C

#31AC3C is a light, vivid green. Relative luminance 0.305; OKLCH L 65.5% C 0.186 H 144.3°. Best body text is #000000 at 7.10:1 contrast (WCAG AA passes).

Color values

HEX#31AC3C
RGBrgb(49, 172, 60)
HSLhsl(125, 56%, 43%)
HSVhsv(125, 72%, 67%)
CMYKcmyk(71.5%, 0%, 65.1%, 32.5%)
CIE-LABlab(62.07, -55.71, 46.61)
CIE-LCHlch(62.07, 72.64, 140.08°)
OKLaboklab(65.46% -0.1507 0.1083)
OKLCHoklch(65.46% 0.186 144.3)
XYZxyz(16.8337, 30.4824, 9.2706)
Luminance0.3048 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#31AC3C #AC31A1
analogous
#63AC31 #31AC3C #31AC79
triadic
#31AC3C #3C31AC #AC3C31
tetradic
#31AC3C #3163AC #AC31A1 #AC7931
square
#31AC3C #3163AC #AC31A1 #AC7931
split-complementary
#31AC3C #7931AC #AC3163
monochromatic
#164D1B #237C2B #31AC3C #4ECC59 #7DDA86

Accessibility & contrast

On white

2.96
#31AC3C on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.10
#31AC3C on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #31AC3C
7.10:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##31AC3C#FFFFFF#000000##000000
##31AC3C1.002.967.107.10
#FFFFFF2.961.0021.0021.00
#0000007.1021.001.001.00
##0000007.1021.001.001.00

Color blindness preview

Protanopia (red-blind)
#AF9C2E
Deuteranopia (green-blind)
#A19246
Tritanopia (blue-blind)
#00A795
Achromatopsia (no color)
#969696

Design tokens & code

CSS
--color: #31ac3c;
/* rgb */ color: rgb(49, 172, 60);
/* oklch */ color: oklch(65.5% 0.186 144.3);
Tailwind
colors: {
  custom: {
    50: '#7bc676',
    500: '#31ac3c',
    950: '#000000',
  },
}
SCSS
$custom: #31ac3c;
$custom-light: #7bc676;
$custom-dark: #000000;
JSON
{
  "hex": "#31ac3c",
  "rgb": {
    "r": 49,
    "g": 172,
    "b": 60
  },
  "hsl": {
    "h": 125.366,
    "s": 55.656,
    "l": 43.333
  },
  "oklch": {
    "l": 0.65457,
    "c": 0.18558,
    "h": 144.3
  },
  "luminance": 0.30484
}

Semantic roles & 50–950 ramp

primary
#31AC3C
secondary
#C376BC
accent
#49D2DF
background
#F8FCF7
surface
#EFF8ED
border
#CAD1C8
text
#0B1309
muted
#7C827B

Preview Lab

Preview with #31AC3C

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

Preview Lab → · Contrast checker → · Palette generator →

#31AC3C Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva