#31BA4E#31BA4E

#31BA4E is a light, vivid green. Relative luminance 0.363; OKLCH L 69.4% C 0.188 H 146.5°. Best body text is #000000 at 8.26:1 contrast (WCAG AA passes).

Color values

HEX#31BA4E
RGBrgb(49, 186, 78)
HSLhsl(133, 58%, 46%)
HSVhsv(133, 74%, 73%)
CMYKcmyk(73.7%, 0%, 58.1%, 27.1%)
CIE-LABlab(66.76, -58.36, 43.83)
CIE-LCHlch(66.76, 72.98, 143.09°)
OKLaboklab(69.41% -0.1572 0.1039)
OKLCHoklch(69.41% 0.188 146.5)
XYZxyz(20.1992, 36.3185, 13.1519)
Luminance0.3632 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#31BA4E #BA319D
analogous
#58BA31 #31BA4E #31BA92
triadic
#31BA4E #4E31BA #BA4E31
tetradic
#31BA4E #3158BA #BA319D #BA9231
square
#31BA4E #3158BA #BA319D #BA9231
split-complementary
#31BA4E #9231BA #BA3158
monochromatic
#175925 #248A3A #31BA4E #56D270 #86DF99

Accessibility & contrast

On white

2.54
#31BA4E on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.26
#31BA4E on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #31BA4E
8.26:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##31BA4E#FFFFFF#000000##000000
##31BA4E1.002.548.268.26
#FFFFFF2.541.0021.0021.00
#0000008.2621.001.001.00
##0000008.2621.001.001.00

Color blindness preview

Protanopia (red-blind)
#BDA943
Deuteranopia (green-blind)
#AD9E57
Tritanopia (blue-blind)
#00B6A2
Achromatopsia (no color)
#A2A2A2

Design tokens & code

CSS
--color: #31ba4e;
/* rgb */ color: rgb(49, 186, 78);
/* oklch */ color: oklch(69.4% 0.188 146.5);
Tailwind
colors: {
  custom: {
    50: '#7ed083',
    500: '#31ba4e',
    950: '#000000',
  },
}
SCSS
$custom: #31ba4e;
$custom-light: #7ed083;
$custom-dark: #000000;
JSON
{
  "hex": "#31ba4e",
  "rgb": {
    "r": 49,
    "g": 186,
    "b": 78
  },
  "hsl": {
    "h": 132.701,
    "s": 58.298,
    "l": 46.078
  },
  "oklch": {
    "l": 0.69405,
    "c": 0.18846,
    "h": 146.5
  },
  "luminance": 0.36321
}

Semantic roles & 50–950 ramp

primary
#31BA4E
secondary
#C97EB9
accent
#46C1E2
background
#F8FCF8
surface
#EFF9EF
border
#CAD2CA
text
#0B140B
muted
#7C827C

Preview Lab

Preview with #31BA4E

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

Preview Lab → · Contrast checker → · Palette generator →

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