#31B94F#31B94F

#31B94F is a light, vivid green. Relative luminance 0.359; OKLCH L 69.2% C 0.186 H 146.8°. Best body text is #000000 at 8.18:1 contrast (WCAG AA passes).

Color values

HEX#31B94F
RGBrgb(49, 185, 79)
HSLhsl(133, 58%, 46%)
HSVhsv(133, 74%, 73%)
CMYKcmyk(73.5%, 0%, 57.3%, 27.5%)
CIE-LABlab(66.45, -57.88, 43.00)
CIE-LCHlch(66.45, 72.10, 143.39°)
OKLaboklab(69.15% -0.1559 0.1022)
OKLCHoklch(69.15% 0.186 146.8)
XYZxyz(20.0254, 35.9131, 13.2722)
Luminance0.3592 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#31B94F #B9319B
analogous
#57B931 #31B94F #31B993
triadic
#31B94F #4F31B9 #B94F31
tetradic
#31B94F #3157B9 #B9319B #B99331
square
#31B94F #3157B9 #B9319B #B99331
split-complementary
#31B94F #9331B9 #B93157
monochromatic
#175826 #24893A #31B94F #55D271 #86DF99

Accessibility & contrast

On white

2.57
#31B94F on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.18
#31B94F on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #31B94F
8.18:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##31B94F#FFFFFF#000000##000000
##31B94F1.002.578.188.18
#FFFFFF2.571.0021.0021.00
#0000008.1821.001.001.00
##0000008.1821.001.001.00

Color blindness preview

Protanopia (red-blind)
#BBA845
Deuteranopia (green-blind)
#AC9D57
Tritanopia (blue-blind)
#00B5A2
Achromatopsia (no color)
#A2A2A2

Design tokens & code

CSS
--color: #31b94f;
/* rgb */ color: rgb(49, 185, 79);
/* oklch */ color: oklch(69.2% 0.186 146.8);
Tailwind
colors: {
  custom: {
    50: '#7dcf83',
    500: '#31b94f',
    950: '#000000',
  },
}
SCSS
$custom: #31b94f;
$custom-light: #7dcf83;
$custom-dark: #000000;
JSON
{
  "hex": "#31b94f",
  "rgb": {
    "r": 49,
    "g": 185,
    "b": 79
  },
  "hsl": {
    "h": 133.235,
    "s": 58.12,
    "l": 45.882
  },
  "oklch": {
    "l": 0.69152,
    "c": 0.1864,
    "h": 146.8
  },
  "luminance": 0.35915
}

Semantic roles & 50–950 ramp

primary
#31B94F
secondary
#C87DB8
accent
#46BFE1
background
#F8FCF8
surface
#EFF9EF
border
#CAD2CA
text
#0B140B
muted
#7C827C

Preview Lab

Preview with #31B94F

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

Preview Lab → · Contrast checker → · Palette generator →

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