#31BA41#31BA41

#31BA41 is a light, vivid green. Relative luminance 0.362; OKLCH L 69.3% C 0.199 H 144.6°. Best body text is #000000 at 8.23:1 contrast (WCAG AA passes).

Color values

HEX#31BA41
RGBrgb(49, 186, 65)
HSLhsl(127, 58%, 46%)
HSVhsv(127, 74%, 73%)
CMYKcmyk(73.7%, 0%, 65.1%, 27.1%)
CIE-LABlab(66.63, -59.89, 49.51)
CIE-LCHlch(66.63, 77.70, 140.42°)
OKLaboklab(69.26% -0.1619 0.1149)
OKLCHoklch(69.26% 0.199 144.6)
XYZxyz(19.7783, 36.1502, 10.9353)
Luminance0.3615 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#31BA41 #BA31AA
analogous
#65BA31 #31BA41 #31BA85
triadic
#31BA41 #4131BA #BA4131
tetradic
#31BA41 #3165BA #BA31AA #BA8531
square
#31BA41 #3165BA #BA31AA #BA8531
split-complementary
#31BA41 #8531BA #BA3165
monochromatic
#17591F #248A30 #31BA41 #56D264 #86DF91

Accessibility & contrast

On white

2.55
#31BA41 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.23
#31BA41 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #31BA41
8.23:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##31BA41#FFFFFF#000000##000000
##31BA411.002.558.238.23
#FFFFFF2.551.0021.0021.00
#0000008.2321.001.001.00
##0000008.2321.001.001.00

Color blindness preview

Protanopia (red-blind)
#BDA932
Deuteranopia (green-blind)
#AE9E4C
Tritanopia (blue-blind)
#00B5A1
Achromatopsia (no color)
#A2A2A2

Design tokens & code

CSS
--color: #31ba41;
/* rgb */ color: rgb(49, 186, 65);
/* oklch */ color: oklch(69.3% 0.199 144.6);
Tailwind
colors: {
  custom: {
    50: '#7ed07b',
    500: '#31ba41',
    950: '#000000',
  },
}
SCSS
$custom: #31ba41;
$custom-light: #7ed07b;
$custom-dark: #000000;
JSON
{
  "hex": "#31ba41",
  "rgb": {
    "r": 49,
    "g": 186,
    "b": 65
  },
  "hsl": {
    "h": 127.007,
    "s": 58.298,
    "l": 46.078
  },
  "oklch": {
    "l": 0.69257,
    "c": 0.19851,
    "h": 144.6
  },
  "luminance": 0.36152
}

Semantic roles & 50–950 ramp

primary
#31BA41
secondary
#C97EC0
accent
#46CFE2
background
#F8FCF7
surface
#F0F9EE
border
#CBD2C9
text
#0B140A
muted
#7C827C

Preview Lab

Preview with #31BA41

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

Preview Lab → · Contrast checker → · Palette generator →

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