#31BA58#31BA58

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

Color values

HEX#31BA58
RGBrgb(49, 186, 88)
HSLhsl(137, 58%, 46%)
HSVhsv(137, 74%, 73%)
CMYKcmyk(73.7%, 0%, 52.7%, 27.1%)
CIE-LABlab(66.88, -56.97, 39.18)
CIE-LCHlch(66.88, 69.14, 145.48°)
OKLaboklab(69.54% -0.1533 0.0944)
OKLCHoklch(69.54% 0.18 148.4)
XYZxyz(20.5854, 36.4730, 15.1857)
Luminance0.3648 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#31BA58 #BA3193
analogous
#4EBA31 #31BA58 #31BA9C
triadic
#31BA58 #5831BA #BA5831
tetradic
#31BA58 #314EBA #BA3193 #BA9C31
square
#31BA58 #314EBA #BA3193 #BA9C31
split-complementary
#31BA58 #9C31BA #BA314E
monochromatic
#17592A #248A41 #31BA58 #56D279 #86DFA0

Accessibility & contrast

On white

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

On black

8.30
#31BA58 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #31BA58
8.30:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##31BA58#FFFFFF#000000##000000
##31BA581.002.538.308.30
#FFFFFF2.531.0021.0021.00
#0000008.3021.001.001.00
##0000008.3021.001.001.00

Color blindness preview

Protanopia (red-blind)
#BCA94F
Deuteranopia (green-blind)
#AC9E5F
Tritanopia (blue-blind)
#00B6A4
Achromatopsia (no color)
#A3A3A3

Design tokens & code

CSS
--color: #31ba58;
/* rgb */ color: rgb(49, 186, 88);
/* oklch */ color: oklch(69.5% 0.180 148.4);
Tailwind
colors: {
  custom: {
    50: '#7dd089',
    500: '#31ba58',
    950: '#000000',
  },
}
SCSS
$custom: #31ba58;
$custom-light: #7dd089;
$custom-dark: #000000;
JSON
{
  "hex": "#31ba58",
  "rgb": {
    "r": 49,
    "g": 186,
    "b": 88
  },
  "hsl": {
    "h": 137.08,
    "s": 58.298,
    "l": 46.078
  },
  "oklch": {
    "l": 0.6954,
    "c": 0.17999,
    "h": 148.4
  },
  "luminance": 0.36475
}

Semantic roles & 50–950 ramp

primary
#31BA58
secondary
#C97EB3
accent
#46B5E2
background
#F8FCF8
surface
#EFF9F0
border
#CAD2CB
text
#0B140C
muted
#7C827D

Preview Lab

Preview with #31BA58

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

Preview Lab → · Contrast checker → · Palette generator →

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