#31B95F#31B95F

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

Color values

HEX#31B95F
RGBrgb(49, 185, 95)
HSLhsl(140, 58%, 46%)
HSVhsv(140, 74%, 73%)
CMYKcmyk(73.5%, 0%, 48.6%, 27.5%)
CIE-LABlab(66.65, -55.54, 35.41)
CIE-LCHlch(66.65, 65.87, 147.48°)
OKLaboklab(69.38% -0.1494 0.0863)
OKLCHoklch(69.38% 0.172 150)
XYZxyz(20.6794, 36.1747, 16.7168)
Luminance0.3618 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#31B95F #B9318B
analogous
#47B931 #31B95F #31B9A3
triadic
#31B95F #5F31B9 #B95F31
tetradic
#31B95F #3147B9 #B9318B #B9A331
square
#31B95F #3147B9 #B9318B #B9A331
split-complementary
#31B95F #A331B9 #B93147
monochromatic
#17582D #248946 #31B95F #55D27F #86DFA4

Accessibility & contrast

On white

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

On black

8.24
#31B95F on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #31B95F
8.24:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##31B95F#FFFFFF#000000##000000
##31B95F1.002.558.248.24
#FFFFFF2.551.0021.0021.00
#0000008.2421.001.001.00
##0000008.2421.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #31b95f;
/* rgb */ color: rgb(49, 185, 95);
/* oklch */ color: oklch(69.4% 0.172 150.0);
Tailwind
colors: {
  custom: {
    50: '#7dcf8e',
    500: '#31b95f',
    950: '#000000',
  },
}
SCSS
$custom: #31b95f;
$custom-light: #7dcf8e;
$custom-dark: #000000;
JSON
{
  "hex": "#31b95f",
  "rgb": {
    "r": 49,
    "g": 185,
    "b": 95
  },
  "hsl": {
    "h": 140.294,
    "s": 58.12,
    "l": 45.882
  },
  "oklch": {
    "l": 0.69382,
    "c": 0.17249,
    "h": 150
  },
  "luminance": 0.36177
}

Semantic roles & 50–950 ramp

primary
#31B95F
secondary
#C87DAF
accent
#46ADE1
background
#F8FCF8
surface
#EFF9F0
border
#CAD2CB
text
#0B140C
muted
#7C827D

Preview Lab

Preview with #31B95F

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

Preview Lab → · Contrast checker → · Palette generator →

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