#31B95E#31B95E

#31B95E is a light, vivid green. Relative luminance 0.362; OKLCH L 69.4% C 0.173 H 149.8°. Best body text is #000000 at 8.23:1 contrast (WCAG AA passes).

Color values

HEX#31B95E
RGBrgb(49, 185, 94)
HSLhsl(140, 58%, 46%)
HSVhsv(140, 74%, 73%)
CMYKcmyk(73.5%, 0%, 49.2%, 27.5%)
CIE-LABlab(66.64, -55.70, 35.90)
CIE-LCHlch(66.64, 66.26, 147.20°)
OKLaboklab(69.37% -0.1498 0.0873)
OKLCHoklch(69.37% 0.173 149.8)
XYZxyz(20.6343, 36.1567, 16.4790)
Luminance0.3616 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#31B95E #B9318C
analogous
#48B931 #31B95E #31B9A2
triadic
#31B95E #5E31B9 #B95E31
tetradic
#31B95E #3148B9 #B9318C #B9A231
square
#31B95E #3148B9 #B9318C #B9A231
split-complementary
#31B95E #A231B9 #B93148
monochromatic
#17582D #248945 #31B95E #55D27E #86DFA3

Accessibility & contrast

On white

2.55
#31B95E on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.23
#31B95E on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #31B95E
8.23:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##31B95E#FFFFFF#000000##000000
##31B95E1.002.558.238.23
#FFFFFF2.551.0021.0021.00
#0000008.2321.001.001.00
##0000008.2321.001.001.00

Color blindness preview

Protanopia (red-blind)
#BAA957
Deuteranopia (green-blind)
#AA9E65
Tritanopia (blue-blind)
#00B6A4
Achromatopsia (no color)
#A2A2A2

Design tokens & code

CSS
--color: #31b95e;
/* rgb */ color: rgb(49, 185, 94);
/* oklch */ color: oklch(69.4% 0.173 149.8);
Tailwind
colors: {
  custom: {
    50: '#7dcf8d',
    500: '#31b95e',
    950: '#000000',
  },
}
SCSS
$custom: #31b95e;
$custom-light: #7dcf8d;
$custom-dark: #000000;
JSON
{
  "hex": "#31b95e",
  "rgb": {
    "r": 49,
    "g": 185,
    "b": 94
  },
  "hsl": {
    "h": 139.853,
    "s": 58.12,
    "l": 45.882
  },
  "oklch": {
    "l": 0.69367,
    "c": 0.17339,
    "h": 149.8
  },
  "luminance": 0.36159
}

Semantic roles & 50–950 ramp

primary
#31B95E
secondary
#C87DB0
accent
#46AEE1
background
#F8FCF8
surface
#EFF9F0
border
#CAD2CB
text
#0B140C
muted
#7C827D

Preview Lab

Preview with #31B95E

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

Preview Lab → · Contrast checker → · Palette generator →

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