#31BA46#31BA46

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

Color values

HEX#31BA46
RGBrgb(49, 186, 70)
HSLhsl(129, 58%, 46%)
HSVhsv(129, 74%, 73%)
CMYKcmyk(73.7%, 0%, 62.4%, 27.1%)
CIE-LABlab(66.68, -59.34, 47.38)
CIE-LCHlch(66.68, 75.93, 141.39°)
OKLaboklab(69.31% -0.1601 0.1109)
OKLCHoklch(69.31% 0.195 145.3)
XYZxyz(19.9296, 36.2107, 11.7322)
Luminance0.3621 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#31BA46 #BA31A5
analogous
#60BA31 #31BA46 #31BA8A
triadic
#31BA46 #4631BA #BA4631
tetradic
#31BA46 #3160BA #BA31A5 #BA8A31
square
#31BA46 #3160BA #BA31A5 #BA8A31
split-complementary
#31BA46 #8A31BA #BA3160
monochromatic
#175922 #248A34 #31BA46 #56D269 #86DF94

Accessibility & contrast

On white

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

On black

8.24
#31BA46 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #31BA46
8.24:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##31BA46#FFFFFF#000000##000000
##31BA461.002.558.248.24
#FFFFFF2.551.0021.0021.00
#0000008.2421.001.001.00
##0000008.2421.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #31ba46;
/* rgb */ color: rgb(49, 186, 70);
/* oklch */ color: oklch(69.3% 0.195 145.3);
Tailwind
colors: {
  custom: {
    50: '#7ed07e',
    500: '#31ba46',
    950: '#000000',
  },
}
SCSS
$custom: #31ba46;
$custom-light: #7ed07e;
$custom-dark: #000000;
JSON
{
  "hex": "#31ba46",
  "rgb": {
    "r": 49,
    "g": 186,
    "b": 70
  },
  "hsl": {
    "h": 129.197,
    "s": 58.298,
    "l": 46.078
  },
  "oklch": {
    "l": 0.6931,
    "c": 0.19479,
    "h": 145.3
  },
  "luminance": 0.36213
}

Semantic roles & 50–950 ramp

primary
#31BA46
secondary
#C97EBD
accent
#46CAE2
background
#F8FCF7
surface
#F0F9EE
border
#CBD2C9
text
#0B140A
muted
#7C827C

Preview Lab

Preview with #31BA46

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

Preview Lab → · Contrast checker → · Palette generator →

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