#31AC37#31AC37

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

Color values

HEX#31AC37
RGBrgb(49, 172, 55)
HSLhsl(123, 56%, 43%)
HSVhsv(123, 72%, 67%)
CMYKcmyk(71.5%, 0%, 68%, 32.5%)
CIE-LABlab(62.03, -56.23, 48.69)
CIE-LCHlch(62.03, 74.38, 139.11°)
OKLaboklab(65.41% -0.1524 0.1121)
OKLCHoklch(65.41% 0.189 143.7)
XYZxyz(16.7077, 30.4320, 8.6071)
Luminance0.3043 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#31AC37 #AC31A6
analogous
#68AC31 #31AC37 #31AC74
triadic
#31AC37 #3731AC #AC3731
tetradic
#31AC37 #3168AC #AC31A6 #AC7431
square
#31AC37 #3168AC #AC31A6 #AC7431
split-complementary
#31AC37 #7431AC #AC3168
monochromatic
#164D19 #237C28 #31AC37 #4ECC54 #7DDA82

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##31AC37#FFFFFF#000000##000000
##31AC371.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)
#AF9C27
Deuteranopia (green-blind)
#A19242
Tritanopia (blue-blind)
#00A794
Achromatopsia (no color)
#969696

Design tokens & code

CSS
--color: #31ac37;
/* rgb */ color: rgb(49, 172, 55);
/* oklch */ color: oklch(65.4% 0.189 143.7);
Tailwind
colors: {
  custom: {
    50: '#7bc674',
    500: '#31ac37',
    950: '#000000',
  },
}
SCSS
$custom: #31ac37;
$custom-light: #7bc674;
$custom-dark: #000000;
JSON
{
  "hex": "#31ac37",
  "rgb": {
    "r": 49,
    "g": 172,
    "b": 55
  },
  "hsl": {
    "h": 122.927,
    "s": 55.656,
    "l": 43.333
  },
  "oklch": {
    "l": 0.65407,
    "c": 0.18916,
    "h": 143.7
  },
  "luminance": 0.30434
}

Semantic roles & 50–950 ramp

primary
#31AC37
secondary
#C376BF
accent
#49D8DF
background
#F8FCF7
surface
#EFF8ED
border
#CAD1C8
text
#0B1308
muted
#7C827B

Preview Lab

Preview with #31AC37

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

Preview Lab → · Contrast checker → · Palette generator →

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