#31C861#31C861

#31C861 is a light, vivid green. Relative luminance 0.428; OKLCH L 73.3% C 0.190 H 149.1°. Best body text is #000000 at 9.57:1 contrast (WCAG AA passes).

Color values

HEX#31C861
RGBrgb(49, 200, 97)
HSLhsl(139, 61%, 49%)
HSVhsv(139, 76%, 78%)
CMYKcmyk(75.5%, 0%, 51.5%, 21.6%)
CIE-LABlab(71.43, -60.50, 40.37)
CIE-LCHlch(71.43, 72.74, 146.29°)
OKLaboklab(73.35% -0.1626 0.0975)
OKLCHoklch(73.35% 0.19 149.1)
XYZxyz(24.0766, 42.8218, 18.3035)
Luminance0.4283 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#31C861 #C83198
analogous
#4DC831 #31C861 #31C8AD
triadic
#31C861 #6131C8 #C86131
tetradic
#31C861 #314DC8 #C83198 #C8AD31
square
#31C861 #314DC8 #C83198 #C8AD31
split-complementary
#31C861 #AD31C8 #C8314D
monochromatic
#196631 #259749 #31C861 #5FD885 #90E4AA

Accessibility & contrast

On white

2.20
#31C861 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

9.57
#31C861 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #31C861
9.57:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##31C861#FFFFFF#000000##000000
##31C8611.002.209.579.57
#FFFFFF2.201.0021.0021.00
#0000009.5721.001.001.00
##0000009.5721.001.001.00

Color blindness preview

Protanopia (red-blind)
#CAB658
Deuteranopia (green-blind)
#B8AA69
Tritanopia (blue-blind)
#00C4B0
Achromatopsia (no color)
#AFAFAF

Design tokens & code

CSS
--color: #31c861;
/* rgb */ color: rgb(49, 200, 97);
/* oklch */ color: oklch(73.3% 0.190 149.1);
Tailwind
colors: {
  custom: {
    50: '#80da90',
    500: '#31c861',
    950: '#000000',
  },
}
SCSS
$custom: #31c861;
$custom-light: #80da90;
$custom-dark: #000000;
JSON
{
  "hex": "#31c861",
  "rgb": {
    "r": 49,
    "g": 200,
    "b": 97
  },
  "hsl": {
    "h": 139.073,
    "s": 60.643,
    "l": 48.824
  },
  "oklch": {
    "l": 0.73347,
    "c": 0.18962,
    "h": 149.1
  },
  "luminance": 0.42825
}

Semantic roles & 50–950 ramp

primary
#31C861
secondary
#CE86B7
accent
#44B1E4
background
#F8FDF8
surface
#F0FBF0
border
#CBD4CB
text
#0C150D
muted
#7D837D

Preview Lab

Preview with #31C861

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

Preview Lab → · Contrast checker → · Palette generator →

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