#31BA4B#31BA4B

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

Color values

HEX#31BA4B
RGBrgb(49, 186, 75)
HSLhsl(131, 58%, 46%)
HSVhsv(131, 74%, 73%)
CMYKcmyk(73.7%, 0%, 59.7%, 27.1%)
CIE-LABlab(66.73, -58.74, 45.18)
CIE-LCHlch(66.73, 74.10, 142.43°)
OKLaboklab(69.37% -0.1583 0.1066)
OKLCHoklch(69.37% 0.191 146.1)
XYZxyz(20.0941, 36.2765, 12.5983)
Luminance0.3628 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#31BA4B #BA31A0
analogous
#5BBA31 #31BA4B #31BA8F
triadic
#31BA4B #4B31BA #BA4B31
tetradic
#31BA4B #315BBA #BA31A0 #BA8F31
square
#31BA4B #315BBA #BA31A0 #BA8F31
split-complementary
#31BA4B #8F31BA #BA315B
monochromatic
#175924 #248A37 #31BA4B #56D26D #86DF97

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##31BA4B#FFFFFF#000000##000000
##31BA4B1.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)
#BDA93F
Deuteranopia (green-blind)
#AD9E54
Tritanopia (blue-blind)
#00B6A2
Achromatopsia (no color)
#A2A2A2

Design tokens & code

CSS
--color: #31ba4b;
/* rgb */ color: rgb(49, 186, 75);
/* oklch */ color: oklch(69.4% 0.191 146.1);
Tailwind
colors: {
  custom: {
    50: '#7ed081',
    500: '#31ba4b',
    950: '#000000',
  },
}
SCSS
$custom: #31ba4b;
$custom-light: #7ed081;
$custom-dark: #000000;
JSON
{
  "hex": "#31ba4b",
  "rgb": {
    "r": 49,
    "g": 186,
    "b": 75
  },
  "hsl": {
    "h": 131.387,
    "s": 58.298,
    "l": 46.078
  },
  "oklch": {
    "l": 0.69368,
    "c": 0.19089,
    "h": 146.1
  },
  "luminance": 0.36279
}

Semantic roles & 50–950 ramp

primary
#31BA4B
secondary
#C97EBB
accent
#46C4E2
background
#F8FCF8
surface
#EFF9EF
border
#CAD2CA
text
#0B140A
muted
#7C827C

Preview Lab

Preview with #31BA4B

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

Preview Lab → · Contrast checker → · Palette generator →

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