#31BA56#31BA56

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

Color values

HEX#31BA56
RGBrgb(49, 186, 86)
HSLhsl(136, 58%, 46%)
HSVhsv(136, 74%, 73%)
CMYKcmyk(73.7%, 0%, 53.8%, 27.1%)
CIE-LABlab(66.86, -57.26, 40.12)
CIE-LCHlch(66.86, 69.92, 144.98°)
OKLaboklab(69.51% -0.1541 0.0963)
OKLCHoklch(69.51% 0.182 148)
XYZxyz(20.5037, 36.4403, 14.7554)
Luminance0.3644 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#31BA56 #BA3195
analogous
#51BA31 #31BA56 #31BA9A
triadic
#31BA56 #5631BA #BA5631
tetradic
#31BA56 #3151BA #BA3195 #BA9A31
square
#31BA56 #3151BA #BA3195 #BA9A31
split-complementary
#31BA56 #9A31BA #BA3151
monochromatic
#175929 #248A40 #31BA56 #56D277 #86DF9E

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##31BA56#FFFFFF#000000##000000
##31BA561.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)
#BCA94D
Deuteranopia (green-blind)
#AC9E5E
Tritanopia (blue-blind)
#00B6A3
Achromatopsia (no color)
#A3A3A3

Design tokens & code

CSS
--color: #31ba56;
/* rgb */ color: rgb(49, 186, 86);
/* oklch */ color: oklch(69.5% 0.182 148.0);
Tailwind
colors: {
  custom: {
    50: '#7dd088',
    500: '#31ba56',
    950: '#000000',
  },
}
SCSS
$custom: #31ba56;
$custom-light: #7dd088;
$custom-dark: #000000;
JSON
{
  "hex": "#31ba56",
  "rgb": {
    "r": 49,
    "g": 186,
    "b": 86
  },
  "hsl": {
    "h": 136.204,
    "s": 58.298,
    "l": 46.078
  },
  "oklch": {
    "l": 0.69511,
    "c": 0.18172,
    "h": 148
  },
  "luminance": 0.36443
}

Semantic roles & 50–950 ramp

primary
#31BA56
secondary
#C97EB5
accent
#46B8E2
background
#F8FCF8
surface
#EFF9F0
border
#CAD2CB
text
#0B140B
muted
#7C827C

Preview Lab

Preview with #31BA56

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

Preview Lab → · Contrast checker → · Palette generator →

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