#31BA5D#31BA5D

#31BA5D is a light, vivid green. Relative luminance 0.366; OKLCH L 69.6% C 0.176 H 149.4°. Best body text is #000000 at 8.31:1 contrast (WCAG AA passes).

Color values

HEX#31BA5D
RGBrgb(49, 186, 93)
HSLhsl(139, 58%, 46%)
HSVhsv(139, 74%, 73%)
CMYKcmyk(73.7%, 0%, 50%, 27.1%)
CIE-LABlab(66.94, -56.21, 36.78)
CIE-LCHlch(66.94, 67.18, 146.80°)
OKLaboklab(69.62% -0.1512 0.0893)
OKLCHoklch(69.62% 0.176 149.4)
XYZxyz(20.7996, 36.5587, 16.3141)
Luminance0.3656 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#31BA5D #BA318E
analogous
#49BA31 #31BA5D #31BAA1
triadic
#31BA5D #5D31BA #BA5D31
tetradic
#31BA5D #3149BA #BA318E #BAA131
square
#31BA5D #3149BA #BA318E #BAA131
split-complementary
#31BA5D #A131BA #BA3149
monochromatic
#17592D #248A45 #31BA5D #56D27E #86DFA3

Accessibility & contrast

On white

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

On black

8.31
#31BA5D on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #31BA5D
8.31:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##31BA5D#FFFFFF#000000##000000
##31BA5D1.002.538.318.31
#FFFFFF2.531.0021.0021.00
#0000008.3121.001.001.00
##0000008.3121.001.001.00

Color blindness preview

Protanopia (red-blind)
#BBAA55
Deuteranopia (green-blind)
#AB9E64
Tritanopia (blue-blind)
#00B7A4
Achromatopsia (no color)
#A3A3A3

Design tokens & code

CSS
--color: #31ba5d;
/* rgb */ color: rgb(49, 186, 93);
/* oklch */ color: oklch(69.6% 0.176 149.4);
Tailwind
colors: {
  custom: {
    50: '#7dd08c',
    500: '#31ba5d',
    950: '#000000',
  },
}
SCSS
$custom: #31ba5d;
$custom-light: #7dd08c;
$custom-dark: #000000;
JSON
{
  "hex": "#31ba5d",
  "rgb": {
    "r": 49,
    "g": 186,
    "b": 93
  },
  "hsl": {
    "h": 139.27,
    "s": 58.298,
    "l": 46.078
  },
  "oklch": {
    "l": 0.69615,
    "c": 0.17556,
    "h": 149.4
  },
  "luminance": 0.36561
}

Semantic roles & 50–950 ramp

primary
#31BA5D
secondary
#C97EB1
accent
#46B0E2
background
#F8FCF8
surface
#EFF9F0
border
#CAD2CB
text
#0B140C
muted
#7C827D

Preview Lab

Preview with #31BA5D

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

Preview Lab → · Contrast checker → · Palette generator →

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