#31BA57#31BA57

#31BA57 is a light, vivid green. Relative luminance 0.365; OKLCH L 69.5% C 0.181 H 148.2°. Best body text is #000000 at 8.29:1 contrast (WCAG AA passes).

Color values

HEX#31BA57
RGBrgb(49, 186, 87)
HSLhsl(137, 58%, 46%)
HSVhsv(137, 74%, 73%)
CMYKcmyk(73.7%, 0%, 53.2%, 27.1%)
CIE-LABlab(66.87, -57.12, 39.65)
CIE-LCHlch(66.87, 69.53, 145.23°)
OKLaboklab(69.53% -0.1537 0.0954)
OKLCHoklch(69.53% 0.181 148.2)
XYZxyz(20.5442, 36.4565, 14.9691)
Luminance0.3646 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#31BA57 #BA3194
analogous
#4FBA31 #31BA57 #31BA9B
triadic
#31BA57 #5731BA #BA5731
tetradic
#31BA57 #314FBA #BA3194 #BA9B31
square
#31BA57 #314FBA #BA3194 #BA9B31
split-complementary
#31BA57 #9B31BA #BA314F
monochromatic
#17592A #248A40 #31BA57 #56D278 #86DF9F

Accessibility & contrast

On white

2.53
#31BA57 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.29
#31BA57 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #31BA57
8.29:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##31BA57#FFFFFF#000000##000000
##31BA571.002.538.298.29
#FFFFFF2.531.0021.0021.00
#0000008.2921.001.001.00
##0000008.2921.001.001.00

Color blindness preview

Protanopia (red-blind)
#BCA94E
Deuteranopia (green-blind)
#AC9E5E
Tritanopia (blue-blind)
#00B6A3
Achromatopsia (no color)
#A3A3A3

Design tokens & code

CSS
--color: #31ba57;
/* rgb */ color: rgb(49, 186, 87);
/* oklch */ color: oklch(69.5% 0.181 148.2);
Tailwind
colors: {
  custom: {
    50: '#7dd088',
    500: '#31ba57',
    950: '#000000',
  },
}
SCSS
$custom: #31ba57;
$custom-light: #7dd088;
$custom-dark: #000000;
JSON
{
  "hex": "#31ba57",
  "rgb": {
    "r": 49,
    "g": 186,
    "b": 87
  },
  "hsl": {
    "h": 136.642,
    "s": 58.298,
    "l": 46.078
  },
  "oklch": {
    "l": 0.69525,
    "c": 0.18086,
    "h": 148.2
  },
  "luminance": 0.36459
}

Semantic roles & 50–950 ramp

primary
#31BA57
secondary
#C97EB4
accent
#46B6E2
background
#F8FCF8
surface
#EFF9F0
border
#CAD2CB
text
#0B140C
muted
#7C827D

Preview Lab

Preview with #31BA57

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

Preview Lab → · Contrast checker → · Palette generator →

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