#31B941#31B941

#31B941 is a light, vivid green. Relative luminance 0.357; OKLCH L 69.0% C 0.197 H 144.7°. Best body text is #000000 at 8.15:1 contrast (WCAG AA passes).

Color values

HEX#31B941
RGBrgb(49, 185, 65)
HSLhsl(127, 58%, 46%)
HSVhsv(127, 74%, 73%)
CMYKcmyk(73.5%, 0%, 64.9%, 27.5%)
CIE-LABlab(66.31, -59.56, 49.15)
CIE-LCHlch(66.31, 77.22, 140.47°)
OKLaboklab(68.99% -0.1609 0.1142)
OKLCHoklch(68.99% 0.197 144.7)
XYZxyz(19.5684, 35.7303, 10.8653)
Luminance0.3573 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#31B941 #B931A9
analogous
#65B931 #31B941 #31B985
triadic
#31B941 #4131B9 #B94131
tetradic
#31B941 #3165B9 #B931A9 #B98531
square
#31B941 #3165B9 #B931A9 #B98531
split-complementary
#31B941 #8531B9 #B93165
monochromatic
#17581F #248930 #31B941 #55D264 #86DF90

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##31B941#FFFFFF#000000##000000
##31B9411.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)
#BCA832
Deuteranopia (green-blind)
#AD9D4C
Tritanopia (blue-blind)
#00B4A0
Achromatopsia (no color)
#A1A1A1

Design tokens & code

CSS
--color: #31b941;
/* rgb */ color: rgb(49, 185, 65);
/* oklch */ color: oklch(69.0% 0.197 144.7);
Tailwind
colors: {
  custom: {
    50: '#7ecf7b',
    500: '#31b941',
    950: '#000000',
  },
}
SCSS
$custom: #31b941;
$custom-light: #7ecf7b;
$custom-dark: #000000;
JSON
{
  "hex": "#31b941",
  "rgb": {
    "r": 49,
    "g": 185,
    "b": 65
  },
  "hsl": {
    "h": 127.059,
    "s": 58.12,
    "l": 45.882
  },
  "oklch": {
    "l": 0.68991,
    "c": 0.19733,
    "h": 144.7
  },
  "luminance": 0.35733
}

Semantic roles & 50–950 ramp

primary
#31B941
secondary
#C87DC0
accent
#46CFE1
background
#F8FCF7
surface
#F0F9EE
border
#CBD2C9
text
#0B140A
muted
#7C827C

Preview Lab

Preview with #31B941

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

Preview Lab → · Contrast checker → · Palette generator →

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