#31BA48#31BA48

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

Color values

HEX#31BA48
RGBrgb(49, 186, 72)
HSLhsl(130, 58%, 46%)
HSVhsv(130, 74%, 73%)
CMYKcmyk(73.7%, 0%, 61.3%, 27.1%)
CIE-LABlab(66.70, -59.10, 46.51)
CIE-LCHlch(66.70, 75.21, 141.80°)
OKLaboklab(69.33% -0.1594 0.1092)
OKLCHoklch(69.33% 0.193 145.6)
XYZxyz(19.9938, 36.2364, 12.0702)
Luminance0.3624 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#31BA48 #BA31A3
analogous
#5EBA31 #31BA48 #31BA8C
triadic
#31BA48 #4831BA #BA4831
tetradic
#31BA48 #315EBA #BA31A3 #BA8C31
square
#31BA48 #315EBA #BA31A3 #BA8C31
split-complementary
#31BA48 #8C31BA #BA315E
monochromatic
#175922 #248A35 #31BA48 #56D26B #86DF95

Accessibility & contrast

On white

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

On black

8.25
#31BA48 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #31BA48
8.25:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##31BA48#FFFFFF#000000##000000
##31BA481.002.558.258.25
#FFFFFF2.551.0021.0021.00
#0000008.2521.001.001.00
##0000008.2521.001.001.00

Color blindness preview

Protanopia (red-blind)
#BDA93B
Deuteranopia (green-blind)
#AD9E52
Tritanopia (blue-blind)
#00B5A2
Achromatopsia (no color)
#A2A2A2

Design tokens & code

CSS
--color: #31ba48;
/* rgb */ color: rgb(49, 186, 72);
/* oklch */ color: oklch(69.3% 0.193 145.6);
Tailwind
colors: {
  custom: {
    50: '#7ed07f',
    500: '#31ba48',
    950: '#000000',
  },
}
SCSS
$custom: #31ba48;
$custom-light: #7ed07f;
$custom-dark: #000000;
JSON
{
  "hex": "#31ba48",
  "rgb": {
    "r": 49,
    "g": 186,
    "b": 72
  },
  "hsl": {
    "h": 130.073,
    "s": 58.298,
    "l": 46.078
  },
  "oklch": {
    "l": 0.69333,
    "c": 0.19325,
    "h": 145.6
  },
  "luminance": 0.36239
}

Semantic roles & 50–950 ramp

primary
#31BA48
secondary
#C97EBC
accent
#46C7E2
background
#F8FCF7
surface
#F0F9EE
border
#CBD2C9
text
#0B140A
muted
#7C827C

Preview Lab

Preview with #31BA48

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

Preview Lab → · Contrast checker → · Palette generator →

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