#31BA5B#31BA5B

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

Color values

HEX#31BA5B
RGBrgb(49, 186, 91)
HSLhsl(138, 58%, 46%)
HSVhsv(138, 74%, 73%)
CMYKcmyk(73.7%, 0%, 51.1%, 27.1%)
CIE-LABlab(66.92, -56.52, 37.75)
CIE-LCHlch(66.92, 67.97, 146.27°)
OKLaboklab(69.58% -0.152 0.0913)
OKLCHoklch(69.58% 0.177 149)
XYZxyz(20.7122, 36.5237, 15.8537)
Luminance0.3653 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#31BA5B #BA3190
analogous
#4BBA31 #31BA5B #31BA9F
triadic
#31BA5B #5B31BA #BA5B31
tetradic
#31BA5B #314BBA #BA3190 #BA9F31
square
#31BA5B #314BBA #BA3190 #BA9F31
split-complementary
#31BA5B #9F31BA #BA314B
monochromatic
#17592C #248A43 #31BA5B #56D27C #86DFA1

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##31BA5B#FFFFFF#000000##000000
##31BA5B1.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)
#BCAA53
Deuteranopia (green-blind)
#AC9E62
Tritanopia (blue-blind)
#00B6A4
Achromatopsia (no color)
#A3A3A3

Design tokens & code

CSS
--color: #31ba5b;
/* rgb */ color: rgb(49, 186, 91);
/* oklch */ color: oklch(69.6% 0.177 149.0);
Tailwind
colors: {
  custom: {
    50: '#7dd08b',
    500: '#31ba5b',
    950: '#000000',
  },
}
SCSS
$custom: #31ba5b;
$custom-light: #7dd08b;
$custom-dark: #000000;
JSON
{
  "hex": "#31ba5b",
  "rgb": {
    "r": 49,
    "g": 186,
    "b": 91
  },
  "hsl": {
    "h": 138.394,
    "s": 58.298,
    "l": 46.078
  },
  "oklch": {
    "l": 0.69584,
    "c": 0.17735,
    "h": 149
  },
  "luminance": 0.36526
}

Semantic roles & 50–950 ramp

primary
#31BA5B
secondary
#C97EB2
accent
#46B2E2
background
#F8FCF8
surface
#EFF9F0
border
#CAD2CB
text
#0B140C
muted
#7C827D

Preview Lab

Preview with #31BA5B

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

Preview Lab → · Contrast checker → · Palette generator →

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