#31B94B#31B94B

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

Color values

HEX#31B94B
RGBrgb(49, 185, 75)
HSLhsl(131, 58%, 46%)
HSVhsv(131, 74%, 73%)
CMYKcmyk(73.5%, 0%, 59.5%, 27.5%)
CIE-LABlab(66.41, -58.40, 44.81)
CIE-LCHlch(66.41, 73.61, 142.50°)
OKLaboklab(69.1% -0.1574 0.1058)
OKLCHoklch(69.1% 0.19 146.1)
XYZxyz(19.8842, 35.8566, 12.5283)
Luminance0.3586 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#31B94B #B9319F
analogous
#5BB931 #31B94B #31B98F
triadic
#31B94B #4B31B9 #B94B31
tetradic
#31B94B #315BB9 #B9319F #B98F31
square
#31B94B #315BB9 #B9319F #B98F31
split-complementary
#31B94B #8F31B9 #B9315B
monochromatic
#175824 #248937 #31B94B #55D26D #86DF97

Accessibility & contrast

On white

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

On black

8.17
#31B94B on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #31B94B
8.17:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##31B94B#FFFFFF#000000##000000
##31B94B1.002.578.178.17
#FFFFFF2.571.0021.0021.00
#0000008.1721.001.001.00
##0000008.1721.001.001.00

Color blindness preview

Protanopia (red-blind)
#BCA840
Deuteranopia (green-blind)
#AC9D54
Tritanopia (blue-blind)
#00B5A1
Achromatopsia (no color)
#A1A1A1

Design tokens & code

CSS
--color: #31b94b;
/* rgb */ color: rgb(49, 185, 75);
/* oklch */ color: oklch(69.1% 0.190 146.1);
Tailwind
colors: {
  custom: {
    50: '#7dcf81',
    500: '#31b94b',
    950: '#000000',
  },
}
SCSS
$custom: #31b94b;
$custom-light: #7dcf81;
$custom-dark: #000000;
JSON
{
  "hex": "#31b94b",
  "rgb": {
    "r": 49,
    "g": 185,
    "b": 75
  },
  "hsl": {
    "h": 131.471,
    "s": 58.12,
    "l": 45.882
  },
  "oklch": {
    "l": 0.69102,
    "c": 0.18968,
    "h": 146.1
  },
  "luminance": 0.35859
}

Semantic roles & 50–950 ramp

primary
#31B94B
secondary
#C87DBA
accent
#46C4E1
background
#F8FCF8
surface
#EFF9EF
border
#CAD2CA
text
#0B140A
muted
#7C827C

Preview Lab

Preview with #31B94B

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

Preview Lab → · Contrast checker → · Palette generator →

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