#31BA5F#31BA5F

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

Color values

HEX#31BA5F
RGBrgb(49, 186, 95)
HSLhsl(140, 58%, 46%)
HSVhsv(140, 74%, 73%)
CMYKcmyk(73.7%, 0%, 48.9%, 27.1%)
CIE-LABlab(66.97, -55.90, 35.81)
CIE-LCHlch(66.97, 66.39, 147.35°)
OKLaboklab(69.65% -0.1503 0.0872)
OKLCHoklch(69.65% 0.174 149.9)
XYZxyz(20.8894, 36.5946, 16.7868)
Luminance0.3660 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#31BA5F #BA318C
analogous
#47BA31 #31BA5F #31BAA3
triadic
#31BA5F #5F31BA #BA5F31
tetradic
#31BA5F #3147BA #BA318C #BAA331
square
#31BA5F #3147BA #BA318C #BAA331
split-complementary
#31BA5F #A331BA #BA3147
monochromatic
#17592E #248A46 #31BA5F #56D280 #86DFA4

Accessibility & contrast

On white

2.52
#31BA5F on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.32
#31BA5F on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #31BA5F
8.32:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##31BA5F#FFFFFF#000000##000000
##31BA5F1.002.528.328.32
#FFFFFF2.521.0021.0021.00
#0000008.3221.001.001.00
##0000008.3221.001.001.00

Color blindness preview

Protanopia (red-blind)
#BBAA58
Deuteranopia (green-blind)
#AB9E66
Tritanopia (blue-blind)
#00B7A5
Achromatopsia (no color)
#A3A3A3

Design tokens & code

CSS
--color: #31ba5f;
/* rgb */ color: rgb(49, 186, 95);
/* oklch */ color: oklch(69.6% 0.174 149.9);
Tailwind
colors: {
  custom: {
    50: '#7dd08e',
    500: '#31ba5f',
    950: '#000000',
  },
}
SCSS
$custom: #31ba5f;
$custom-light: #7dd08e;
$custom-dark: #000000;
JSON
{
  "hex": "#31ba5f",
  "rgb": {
    "r": 49,
    "g": 186,
    "b": 95
  },
  "hsl": {
    "h": 140.146,
    "s": 58.298,
    "l": 46.078
  },
  "oklch": {
    "l": 0.69646,
    "c": 0.17377,
    "h": 149.9
  },
  "luminance": 0.36597
}

Semantic roles & 50–950 ramp

primary
#31BA5F
secondary
#C97EB0
accent
#46ADE2
background
#F8FCF8
surface
#EFF9F0
border
#CAD2CB
text
#0B140C
muted
#7C827D

Preview Lab

Preview with #31BA5F

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

Preview Lab → · Contrast checker → · Palette generator →

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