#31B95B#31B95B

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

Color values

HEX#31B95B
RGBrgb(49, 185, 91)
HSLhsl(139, 58%, 46%)
HSVhsv(139, 74%, 73%)
CMYKcmyk(73.5%, 0%, 50.8%, 27.5%)
CIE-LABlab(66.60, -56.17, 37.35)
CIE-LCHlch(66.60, 67.45, 146.38°)
OKLaboklab(69.32% -0.1511 0.0904)
OKLCHoklch(69.32% 0.176 149.1)
XYZxyz(20.5023, 36.1039, 15.7837)
Luminance0.3611 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#31B95B #B9318F
analogous
#4BB931 #31B95B #31B99F
triadic
#31B95B #5B31B9 #B95B31
tetradic
#31B95B #314BB9 #B9318F #B99F31
square
#31B95B #314BB9 #B9318F #B99F31
split-complementary
#31B95B #9F31B9 #B9314B
monochromatic
#17582B #248943 #31B95B #55D27C #86DFA1

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##31B95B#FFFFFF#000000##000000
##31B95B1.002.558.228.22
#FFFFFF2.551.0021.0021.00
#0000008.2221.001.001.00
##0000008.2221.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #31b95b;
/* rgb */ color: rgb(49, 185, 91);
/* oklch */ color: oklch(69.3% 0.176 149.1);
Tailwind
colors: {
  custom: {
    50: '#7dcf8b',
    500: '#31b95b',
    950: '#000000',
  },
}
SCSS
$custom: #31b95b;
$custom-light: #7dcf8b;
$custom-dark: #000000;
JSON
{
  "hex": "#31b95b",
  "rgb": {
    "r": 49,
    "g": 185,
    "b": 91
  },
  "hsl": {
    "h": 138.529,
    "s": 58.12,
    "l": 45.882
  },
  "oklch": {
    "l": 0.6932,
    "c": 0.17607,
    "h": 149.1
  },
  "luminance": 0.36106
}

Semantic roles & 50–950 ramp

primary
#31B95B
secondary
#C87DB1
accent
#46B2E1
background
#F8FCF8
surface
#EFF9F0
border
#CAD2CB
text
#0B140C
muted
#7C827D

Preview Lab

Preview with #31B95B

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

Preview Lab → · Contrast checker → · Palette generator →

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