#31B94E#31B94E

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

Color values

HEX#31B94E
RGBrgb(49, 185, 78)
HSLhsl(133, 58%, 46%)
HSVhsv(133, 74%, 73%)
CMYKcmyk(73.5%, 0%, 57.8%, 27.5%)
CIE-LABlab(66.44, -58.01, 43.45)
CIE-LCHlch(66.44, 72.48, 143.17°)
OKLaboklab(69.14% -0.1563 0.1031)
OKLCHoklch(69.14% 0.187 146.6)
XYZxyz(19.9893, 35.8987, 13.0819)
Luminance0.3590 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#31B94E #B9319C
analogous
#58B931 #31B94E #31B992
triadic
#31B94E #4E31B9 #B94E31
tetradic
#31B94E #3158B9 #B9319C #B99231
square
#31B94E #3158B9 #B9319C #B99231
split-complementary
#31B94E #9231B9 #B93158
monochromatic
#175825 #24893A #31B94E #55D270 #86DF99

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##31B94E#FFFFFF#000000##000000
##31B94E1.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)
#BBA843
Deuteranopia (green-blind)
#AC9D57
Tritanopia (blue-blind)
#00B5A1
Achromatopsia (no color)
#A2A2A2

Design tokens & code

CSS
--color: #31b94e;
/* rgb */ color: rgb(49, 185, 78);
/* oklch */ color: oklch(69.1% 0.187 146.6);
Tailwind
colors: {
  custom: {
    50: '#7dcf83',
    500: '#31b94e',
    950: '#000000',
  },
}
SCSS
$custom: #31b94e;
$custom-light: #7dcf83;
$custom-dark: #000000;
JSON
{
  "hex": "#31b94e",
  "rgb": {
    "r": 49,
    "g": 185,
    "b": 78
  },
  "hsl": {
    "h": 132.794,
    "s": 58.12,
    "l": 45.882
  },
  "oklch": {
    "l": 0.6914,
    "c": 0.18724,
    "h": 146.6
  },
  "luminance": 0.35901
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #31B94E

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

Preview Lab → · Contrast checker → · Palette generator →

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