#31B95A#31B95A

#31B95A is a light, vivid green. Relative luminance 0.361; OKLCH L 69.3% C 0.177 H 148.9°. Best body text is #000000 at 8.22:1 contrast (WCAG AA passes).

Color values

HEX#31B95A
RGBrgb(49, 185, 90)
HSLhsl(138, 58%, 46%)
HSVhsv(138, 74%, 73%)
CMYKcmyk(73.5%, 0%, 51.4%, 27.5%)
CIE-LABlab(66.59, -56.32, 37.83)
CIE-LCHlch(66.59, 67.85, 146.11°)
OKLaboklab(69.31% -0.1515 0.0915)
OKLCHoklch(69.31% 0.177 148.9)
XYZxyz(20.4594, 36.0867, 15.5581)
Luminance0.3609 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#31B95A #B93190
analogous
#4CB931 #31B95A #31B99E
triadic
#31B95A #5A31B9 #B95A31
tetradic
#31B95A #314CB9 #B93190 #B99E31
square
#31B95A #314CB9 #B93190 #B99E31
split-complementary
#31B95A #9E31B9 #B9314C
monochromatic
#17582B #248942 #31B95A #55D27B #86DFA0

Accessibility & contrast

On white

2.56
#31B95A on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.22
#31B95A on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #31B95A
8.22:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##31B95A#FFFFFF#000000##000000
##31B95A1.002.568.228.22
#FFFFFF2.561.0021.0021.00
#0000008.2221.001.001.00
##0000008.2221.001.001.00

Color blindness preview

Protanopia (red-blind)
#BBA952
Deuteranopia (green-blind)
#AB9E61
Tritanopia (blue-blind)
#00B5A3
Achromatopsia (no color)
#A2A2A2

Design tokens & code

CSS
--color: #31b95a;
/* rgb */ color: rgb(49, 185, 90);
/* oklch */ color: oklch(69.3% 0.177 148.9);
Tailwind
colors: {
  custom: {
    50: '#7dcf8a',
    500: '#31b95a',
    950: '#000000',
  },
}
SCSS
$custom: #31b95a;
$custom-light: #7dcf8a;
$custom-dark: #000000;
JSON
{
  "hex": "#31b95a",
  "rgb": {
    "r": 49,
    "g": 185,
    "b": 90
  },
  "hsl": {
    "h": 138.088,
    "s": 58.12,
    "l": 45.882
  },
  "oklch": {
    "l": 0.69305,
    "c": 0.17696,
    "h": 148.9
  },
  "luminance": 0.36089
}

Semantic roles & 50–950 ramp

primary
#31B95A
secondary
#C87DB2
accent
#46B3E1
background
#F8FCF8
surface
#EFF9F0
border
#CAD2CB
text
#0B140C
muted
#7C827D

Preview Lab

Preview with #31B95A

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

Preview Lab → · Contrast checker → · Palette generator →

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