#31F762#31F762

#31F762 is a very light, highly saturated green. Relative luminance 0.681; OKLCH L 85.5% C 0.244 H 146.5°. Best body text is #000000 at 14.61:1 contrast (WCAG AA passes).

Color values

HEX#31F762
RGBrgb(49, 247, 98)
HSLhsl(135, 93%, 58%)
HSVhsv(135, 80%, 97%)
CMYKcmyk(80.2%, 0%, 60.3%, 3.1%)
CIE-LABlab(86.03, -75.60, 57.24)
CIE-LCHlch(86.03, 94.83, 142.87°)
OKLaboklab(85.46% -0.2033 0.1345)
OKLCHoklch(85.46% 0.244 146.5)
XYZxyz(36.7292, 68.0518, 22.7525)
Luminance0.6806 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#31F762 #F731C6
analogous
#63F731 #31F762 #31F7C5
triadic
#31F762 #6231F7 #F76231
tetradic
#31F762 #3163F7 #F731C6 #F7C531
square
#31F762 #3163F7 #F731C6 #F7C531
split-complementary
#31F762 #C531F7 #F73163
monochromatic
#06A72E #09E23F #31F762 #6CF98F #A7FCBC

Accessibility & contrast

On white

1.44
#31F762 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

14.61
#31F762 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #31F762
14.61:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##31F762#FFFFFF#000000##000000
##31F7621.001.4414.6114.61
#FFFFFF1.441.0021.0021.00
#00000014.6121.001.001.00
##00000014.6121.001.001.00

Color blindness preview

Protanopia (red-blind)
#FAE052
Deuteranopia (green-blind)
#E5D16F
Tritanopia (blue-blind)
#00F1D7
Achromatopsia (no color)
#D7D7D7

Design tokens & code

CSS
--color: #31f762;
/* rgb */ color: rgb(49, 247, 98);
/* oklch */ color: oklch(85.5% 0.244 146.5);
Tailwind
colors: {
  custom: {
    50: '#8bfb93',
    500: '#31f762',
    950: '#000000',
  },
}
SCSS
$custom: #31f762;
$custom-light: #8bfb93;
$custom-dark: #000000;
JSON
{
  "hex": "#31f762",
  "rgb": {
    "r": 49,
    "g": 247,
    "b": 98
  },
  "hsl": {
    "h": 134.848,
    "s": 92.523,
    "l": 58.039
  },
  "oklch": {
    "l": 0.85458,
    "c": 0.24379,
    "h": 146.5
  },
  "luminance": 0.68056
}

Semantic roles & 50–950 ramp

primary
#31F762
secondary
#A82487
accent
#29CAFF
background
#FCFFFC
surface
#F5FFF4
border
#CFD7CE
text
#0E180D
muted
#7F867F

Preview Lab

Preview with #31F762

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

Preview Lab → · Contrast checker → · Palette generator →

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