#31BB57#31BB57

#31BB57 is a light, vivid green. Relative luminance 0.369; OKLCH L 69.8% C 0.182 H 148.1°. Best body text is #000000 at 8.38:1 contrast (WCAG AA passes).

Color values

HEX#31BB57
RGBrgb(49, 187, 87)
HSLhsl(137, 58%, 46%)
HSVhsv(137, 74%, 73%)
CMYKcmyk(73.8%, 0%, 53.5%, 26.7%)
CIE-LABlab(67.19, -57.47, 40.04)
CIE-LCHlch(67.19, 70.04, 145.13°)
OKLaboklab(69.79% -0.1546 0.0962)
OKLCHoklch(69.79% 0.182 148.1)
XYZxyz(20.7556, 36.8793, 15.0395)
Luminance0.3688 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#31BB57 #BB3195
analogous
#50BB31 #31BB57 #31BB9C
triadic
#31BB57 #5731BB #BB5731
tetradic
#31BB57 #3150BB #BB3195 #BB9C31
square
#31BB57 #3150BB #BB3195 #BB9C31
split-complementary
#31BB57 #9C31BB #BB3150
monochromatic
#185A2A #248B40 #31BB57 #56D379 #87E09F

Accessibility & contrast

On white

2.51
#31BB57 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.38
#31BB57 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #31BB57
8.38:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##31BB57#FFFFFF#000000##000000
##31BB571.002.518.388.38
#FFFFFF2.511.0021.0021.00
#0000008.3821.001.001.00
##0000008.3821.001.001.00

Color blindness preview

Protanopia (red-blind)
#BDAA4E
Deuteranopia (green-blind)
#AD9F5F
Tritanopia (blue-blind)
#00B7A4
Achromatopsia (no color)
#A4A4A4

Design tokens & code

CSS
--color: #31bb57;
/* rgb */ color: rgb(49, 187, 87);
/* oklch */ color: oklch(69.8% 0.182 148.1);
Tailwind
colors: {
  custom: {
    50: '#7dd189',
    500: '#31bb57',
    950: '#000000',
  },
}
SCSS
$custom: #31bb57;
$custom-light: #7dd189;
$custom-dark: #000000;
JSON
{
  "hex": "#31bb57",
  "rgb": {
    "r": 49,
    "g": 187,
    "b": 87
  },
  "hsl": {
    "h": 136.522,
    "s": 58.475,
    "l": 46.275
  },
  "oklch": {
    "l": 0.6979,
    "c": 0.18211,
    "h": 148.1
  },
  "luminance": 0.36882
}

Semantic roles & 50–950 ramp

primary
#31BB57
secondary
#C97FB5
accent
#46B7E2
background
#F8FCF8
surface
#EFF9F0
border
#CAD2CB
text
#0B140C
muted
#7C827D

Preview Lab

Preview with #31BB57

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

Preview Lab → · Contrast checker → · Palette generator →

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