#31AC40#31AC40

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

Color values

HEX#31AC40
RGBrgb(49, 172, 64)
HSLhsl(127, 56%, 43%)
HSVhsv(127, 72%, 67%)
CMYKcmyk(71.5%, 0%, 62.8%, 32.5%)
CIE-LABlab(62.11, -55.26, 44.89)
CIE-LCHlch(62.11, 71.20, 140.91°)
OKLaboklab(65.5% -0.1493 0.105)
OKLCHoklch(65.5% 0.183 144.9)
XYZxyz(16.9434, 30.5263, 9.8487)
Luminance0.3053 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#31AC40 #AC319D
analogous
#5FAC31 #31AC40 #31AC7D
triadic
#31AC40 #4031AC #AC4031
tetradic
#31AC40 #315FAC #AC319D #AC7D31
square
#31AC40 #315FAC #AC319D #AC7D31
split-complementary
#31AC40 #7D31AC #AC315F
monochromatic
#164D1D #237C2E #31AC40 #4ECC5D #7DDA89

Accessibility & contrast

On white

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

On black

7.11
#31AC40 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #31AC40
7.11:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##31AC40#FFFFFF#000000##000000
##31AC401.002.967.117.11
#FFFFFF2.961.0021.0021.00
#0000007.1121.001.001.00
##0000007.1121.001.001.00

Color blindness preview

Protanopia (red-blind)
#AF9C34
Deuteranopia (green-blind)
#A19249
Tritanopia (blue-blind)
#00A895
Achromatopsia (no color)
#969696

Design tokens & code

CSS
--color: #31ac40;
/* rgb */ color: rgb(49, 172, 64);
/* oklch */ color: oklch(65.5% 0.183 144.9);
Tailwind
colors: {
  custom: {
    50: '#7bc679',
    500: '#31ac40',
    950: '#000000',
  },
}
SCSS
$custom: #31ac40;
$custom-light: #7bc679;
$custom-dark: #000000;
JSON
{
  "hex": "#31ac40",
  "rgb": {
    "r": 49,
    "g": 172,
    "b": 64
  },
  "hsl": {
    "h": 127.317,
    "s": 55.656,
    "l": 43.333
  },
  "oklch": {
    "l": 0.655,
    "c": 0.18255,
    "h": 144.9
  },
  "luminance": 0.30528
}

Semantic roles & 50–950 ramp

primary
#31AC40
secondary
#C376B9
accent
#49CDDF
background
#F8FCF7
surface
#EFF8EE
border
#CAD1C9
text
#0B1309
muted
#7C827B

Preview Lab

Preview with #31AC40

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

Preview Lab → · Contrast checker → · Palette generator →

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