#31BA5C#31BA5C

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

Color values

HEX#31BA5C
RGBrgb(49, 186, 92)
HSLhsl(139, 58%, 46%)
HSVhsv(139, 74%, 73%)
CMYKcmyk(73.7%, 0%, 50.5%, 27.1%)
CIE-LABlab(66.93, -56.37, 37.26)
CIE-LCHlch(66.93, 67.57, 146.53°)
OKLaboklab(69.6% -0.1516 0.0903)
OKLCHoklch(69.6% 0.176 149.2)
XYZxyz(20.7556, 36.5411, 16.0824)
Luminance0.3654 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#31BA5C #BA318F
analogous
#4ABA31 #31BA5C #31BAA0
triadic
#31BA5C #5C31BA #BA5C31
tetradic
#31BA5C #314ABA #BA318F #BAA031
square
#31BA5C #314ABA #BA318F #BAA031
split-complementary
#31BA5C #A031BA #BA314A
monochromatic
#17592C #248A44 #31BA5C #56D27D #86DFA2

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##31BA5C#FFFFFF#000000##000000
##31BA5C1.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)
#BBAA54
Deuteranopia (green-blind)
#AB9E63
Tritanopia (blue-blind)
#00B6A4
Achromatopsia (no color)
#A3A3A3

Design tokens & code

CSS
--color: #31ba5c;
/* rgb */ color: rgb(49, 186, 92);
/* oklch */ color: oklch(69.6% 0.176 149.2);
Tailwind
colors: {
  custom: {
    50: '#7dd08c',
    500: '#31ba5c',
    950: '#000000',
  },
}
SCSS
$custom: #31ba5c;
$custom-light: #7dd08c;
$custom-dark: #000000;
JSON
{
  "hex": "#31ba5c",
  "rgb": {
    "r": 49,
    "g": 186,
    "b": 92
  },
  "hsl": {
    "h": 138.832,
    "s": 58.298,
    "l": 46.078
  },
  "oklch": {
    "l": 0.69599,
    "c": 0.17646,
    "h": 149.2
  },
  "luminance": 0.36543
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #31BA5C

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

Preview Lab → · Contrast checker → · Palette generator →

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