#31AC3B#31AC3B

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

Color values

HEX#31AC3B
RGBrgb(49, 172, 59)
HSLhsl(125, 56%, 43%)
HSVhsv(125, 72%, 67%)
CMYKcmyk(71.5%, 0%, 65.7%, 32.5%)
CIE-LABlab(62.06, -55.82, 47.04)
CIE-LCHlch(62.06, 72.99, 139.88°)
OKLaboklab(65.45% -0.1511 0.1091)
OKLCHoklch(65.45% 0.186 144.2)
XYZxyz(16.8075, 30.4719, 9.1327)
Luminance0.3047 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#31AC3B #AC31A2
analogous
#64AC31 #31AC3B #31AC78
triadic
#31AC3B #3B31AC #AC3B31
tetradic
#31AC3B #3164AC #AC31A2 #AC7831
square
#31AC3B #3164AC #AC31A2 #AC7831
split-complementary
#31AC3B #7831AC #AC3164
monochromatic
#164D1A #237C2B #31AC3B #4ECC58 #7DDA85

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##31AC3B#FFFFFF#000000##000000
##31AC3B1.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)
#AF9C2D
Deuteranopia (green-blind)
#A19245
Tritanopia (blue-blind)
#00A795
Achromatopsia (no color)
#969696

Design tokens & code

CSS
--color: #31ac3b;
/* rgb */ color: rgb(49, 172, 59);
/* oklch */ color: oklch(65.4% 0.186 144.2);
Tailwind
colors: {
  custom: {
    50: '#7bc676',
    500: '#31ac3b',
    950: '#000000',
  },
}
SCSS
$custom: #31ac3b;
$custom-light: #7bc676;
$custom-dark: #000000;
JSON
{
  "hex": "#31ac3b",
  "rgb": {
    "r": 49,
    "g": 172,
    "b": 59
  },
  "hsl": {
    "h": 124.878,
    "s": 55.656,
    "l": 43.333
  },
  "oklch": {
    "l": 0.65446,
    "c": 0.18631,
    "h": 144.2
  },
  "luminance": 0.30474
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #31AC3B

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

Preview Lab → · Contrast checker → · Palette generator →

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