#31BA64#31BA64

#31BA64 is a light, vivid green. Relative luminance 0.367; OKLCH L 69.7% C 0.169 H 151.1°. Best body text is #000000 at 8.34:1 contrast (WCAG AA passes).

Color values

HEX#31BA64
RGBrgb(49, 186, 100)
HSLhsl(142, 58%, 46%)
HSVhsv(142, 74%, 73%)
CMYKcmyk(73.7%, 0%, 46.2%, 27.1%)
CIE-LABlab(67.04, -55.08, 33.37)
CIE-LCHlch(67.04, 64.40, 148.79°)
OKLaboklab(69.73% -0.1482 0.0818)
OKLCHoklch(69.73% 0.169 151.1)
XYZxyz(21.1240, 36.6884, 18.0224)
Luminance0.3669 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#31BA64 #BA3187
analogous
#42BA31 #31BA64 #31BAA8
triadic
#31BA64 #6431BA #BA6431
tetradic
#31BA64 #3142BA #BA3187 #BAA831
square
#31BA64 #3142BA #BA3187 #BAA831
split-complementary
#31BA64 #A831BA #BA3142
monochromatic
#175930 #248A4A #31BA64 #56D284 #86DFA7

Accessibility & contrast

On white

2.52
#31BA64 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.34
#31BA64 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #31BA64
8.34:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##31BA64#FFFFFF#000000##000000
##31BA641.002.528.348.34
#FFFFFF2.521.0021.0021.00
#0000008.3421.001.001.00
##0000008.3421.001.001.00

Color blindness preview

Protanopia (red-blind)
#BBAA5D
Deuteranopia (green-blind)
#AB9F6A
Tritanopia (blue-blind)
#00B7A5
Achromatopsia (no color)
#A3A3A3

Design tokens & code

CSS
--color: #31ba64;
/* rgb */ color: rgb(49, 186, 100);
/* oklch */ color: oklch(69.7% 0.169 151.1);
Tailwind
colors: {
  custom: {
    50: '#7dd091',
    500: '#31ba64',
    950: '#000000',
  },
}
SCSS
$custom: #31ba64;
$custom-light: #7dd091;
$custom-dark: #000000;
JSON
{
  "hex": "#31ba64",
  "rgb": {
    "r": 49,
    "g": 186,
    "b": 100
  },
  "hsl": {
    "h": 142.336,
    "s": 58.298,
    "l": 46.078
  },
  "oklch": {
    "l": 0.69728,
    "c": 0.16924,
    "h": 151.1
  },
  "luminance": 0.36691
}

Semantic roles & 50–950 ramp

primary
#31BA64
secondary
#C97EAD
accent
#46A8E2
background
#F8FCF9
surface
#EFF9F1
border
#CAD2CB
text
#0B140D
muted
#7C827E

Preview Lab

Preview with #31BA64

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

Preview Lab → · Contrast checker → · Palette generator →

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