#31BA5A#31BA5A

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

Color values

HEX#31BA5A
RGBrgb(49, 186, 90)
HSLhsl(138, 58%, 46%)
HSVhsv(138, 74%, 73%)
CMYKcmyk(73.7%, 0%, 51.6%, 27.1%)
CIE-LABlab(66.91, -56.67, 38.22)
CIE-LCHlch(66.91, 68.36, 146.00°)
OKLaboklab(69.57% -0.1524 0.0924)
OKLCHoklch(69.57% 0.178 148.8)
XYZxyz(20.6694, 36.5066, 15.6280)
Luminance0.3651 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#31BA5A #BA3191
analogous
#4CBA31 #31BA5A #31BA9E
triadic
#31BA5A #5A31BA #BA5A31
tetradic
#31BA5A #314CBA #BA3191 #BA9E31
square
#31BA5A #314CBA #BA3191 #BA9E31
split-complementary
#31BA5A #9E31BA #BA314C
monochromatic
#17592B #248A43 #31BA5A #56D27B #86DFA1

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##31BA5A#FFFFFF#000000##000000
##31BA5A1.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)
#BCAA52
Deuteranopia (green-blind)
#AC9E61
Tritanopia (blue-blind)
#00B6A4
Achromatopsia (no color)
#A3A3A3

Design tokens & code

CSS
--color: #31ba5a;
/* rgb */ color: rgb(49, 186, 90);
/* oklch */ color: oklch(69.6% 0.178 148.8);
Tailwind
colors: {
  custom: {
    50: '#7dd08a',
    500: '#31ba5a',
    950: '#000000',
  },
}
SCSS
$custom: #31ba5a;
$custom-light: #7dd08a;
$custom-dark: #000000;
JSON
{
  "hex": "#31ba5a",
  "rgb": {
    "r": 49,
    "g": 186,
    "b": 90
  },
  "hsl": {
    "h": 137.956,
    "s": 58.298,
    "l": 46.078
  },
  "oklch": {
    "l": 0.69569,
    "c": 0.17823,
    "h": 148.8
  },
  "luminance": 0.36509
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #31BA5A

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

Preview Lab → · Contrast checker → · Palette generator →

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