#31AC3A#31AC3A

#31AC3A is a light, vivid green. Relative luminance 0.305; OKLCH L 65.4% C 0.187 H 144.0°. Best body text is #000000 at 7.09:1 contrast (WCAG AA passes).

Color values

HEX#31AC3A
RGBrgb(49, 172, 58)
HSLhsl(124, 56%, 43%)
HSVhsv(124, 72%, 67%)
CMYKcmyk(71.5%, 0%, 66.3%, 32.5%)
CIE-LABlab(62.05, -55.92, 47.46)
CIE-LCHlch(62.05, 73.34, 139.68°)
OKLaboklab(65.44% -0.1514 0.1098)
OKLCHoklch(65.44% 0.187 144)
XYZxyz(16.7818, 30.4617, 8.9974)
Luminance0.3046 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#31AC3A #AC31A3
analogous
#65AC31 #31AC3A #31AC77
triadic
#31AC3A #3A31AC #AC3A31
tetradic
#31AC3A #3165AC #AC31A3 #AC7731
square
#31AC3A #3165AC #AC31A3 #AC7731
split-complementary
#31AC3A #7731AC #AC3165
monochromatic
#164D1A #237C2A #31AC3A #4ECC57 #7DDA84

Accessibility & contrast

On white

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

On black

7.09
#31AC3A on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #31AC3A
7.09:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##31AC3A#FFFFFF#000000##000000
##31AC3A1.002.967.097.09
#FFFFFF2.961.0021.0021.00
#0000007.0921.001.001.00
##0000007.0921.001.001.00

Color blindness preview

Protanopia (red-blind)
#AF9C2B
Deuteranopia (green-blind)
#A19244
Tritanopia (blue-blind)
#00A794
Achromatopsia (no color)
#969696

Design tokens & code

CSS
--color: #31ac3a;
/* rgb */ color: rgb(49, 172, 58);
/* oklch */ color: oklch(65.4% 0.187 144.0);
Tailwind
colors: {
  custom: {
    50: '#7bc675',
    500: '#31ac3a',
    950: '#000000',
  },
}
SCSS
$custom: #31ac3a;
$custom-light: #7bc675;
$custom-dark: #000000;
JSON
{
  "hex": "#31ac3a",
  "rgb": {
    "r": 49,
    "g": 172,
    "b": 58
  },
  "hsl": {
    "h": 124.39,
    "s": 55.656,
    "l": 43.333
  },
  "oklch": {
    "l": 0.65436,
    "c": 0.18703,
    "h": 144
  },
  "luminance": 0.30464
}

Semantic roles & 50–950 ramp

primary
#31AC3A
secondary
#C376BD
accent
#49D4DF
background
#F8FCF7
surface
#EFF8ED
border
#CAD1C8
text
#0B1309
muted
#7C827B

Preview Lab

Preview with #31AC3A

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

Preview Lab → · Contrast checker → · Palette generator →

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