#31B85F#31B85F

#31B85F is a light, vivid green. Relative luminance 0.358; OKLCH L 69.1% C 0.171 H 150.1°. Best body text is #000000 at 8.15:1 contrast (WCAG AA passes).

Color values

HEX#31B85F
RGBrgb(49, 184, 95)
HSLhsl(140, 58%, 46%)
HSVhsv(140, 73%, 72%)
CMYKcmyk(73.4%, 0%, 48.4%, 27.8%)
CIE-LABlab(66.33, -55.18, 35.01)
CIE-LCHlch(66.33, 65.35, 147.60°)
OKLaboklab(69.12% -0.1484 0.0854)
OKLCHoklch(69.12% 0.171 150.1)
XYZxyz(20.4710, 35.7578, 16.6473)
Luminance0.3576 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#31B85F #B8318A
analogous
#47B831 #31B85F #31B8A2
triadic
#31B85F #5F31B8 #B85F31
tetradic
#31B85F #3147B8 #B8318A #B8A231
square
#31B85F #3147B8 #B8318A #B8A231
split-complementary
#31B85F #A231B8 #B83147
monochromatic
#17572D #248846 #31B85F #55D27F #85DEA3

Accessibility & contrast

On white

2.58
#31B85F on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.15
#31B85F on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #31B85F
8.15:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##31B85F#FFFFFF#000000##000000
##31B85F1.002.588.158.15
#FFFFFF2.581.0021.0021.00
#0000008.1521.001.001.00
##0000008.1521.001.001.00

Color blindness preview

Protanopia (red-blind)
#B9A858
Deuteranopia (green-blind)
#A99D65
Tritanopia (blue-blind)
#00B5A3
Achromatopsia (no color)
#A1A1A1

Design tokens & code

CSS
--color: #31b85f;
/* rgb */ color: rgb(49, 184, 95);
/* oklch */ color: oklch(69.1% 0.171 150.1);
Tailwind
colors: {
  custom: {
    50: '#7dce8e',
    500: '#31b85f',
    950: '#000000',
  },
}
SCSS
$custom: #31b85f;
$custom-light: #7dce8e;
$custom-dark: #000000;
JSON
{
  "hex": "#31b85f",
  "rgb": {
    "r": 49,
    "g": 184,
    "b": 95
  },
  "hsl": {
    "h": 140.444,
    "s": 57.94,
    "l": 45.686
  },
  "oklch": {
    "l": 0.69119,
    "c": 0.1712,
    "h": 150.1
  },
  "luminance": 0.3576
}

Semantic roles & 50–950 ramp

primary
#31B85F
secondary
#C87DAE
accent
#47ADE1
background
#F8FCF8
surface
#EFF9F0
border
#CAD2CB
text
#0B140C
muted
#7C827D

Preview Lab

Preview with #31B85F

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

Preview Lab → · Contrast checker → · Palette generator →

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