#31BA49#31BA49

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

Color values

HEX#31BA49
RGBrgb(49, 186, 73)
HSLhsl(131, 58%, 46%)
HSVhsv(131, 74%, 73%)
CMYKcmyk(73.7%, 0%, 60.8%, 27.1%)
CIE-LABlab(66.71, -58.98, 46.07)
CIE-LCHlch(66.71, 74.84, 142.01°)
OKLaboklab(69.34% -0.1591 0.1083)
OKLCHoklch(69.34% 0.192 145.7)
XYZxyz(20.0267, 36.2495, 12.2434)
Luminance0.3625 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#31BA49 #BA31A2
analogous
#5DBA31 #31BA49 #31BA8D
triadic
#31BA49 #4931BA #BA4931
tetradic
#31BA49 #315DBA #BA31A2 #BA8D31
square
#31BA49 #315DBA #BA31A2 #BA8D31
split-complementary
#31BA49 #8D31BA #BA315D
monochromatic
#175923 #248A36 #31BA49 #56D26C #86DF96

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##31BA49#FFFFFF#000000##000000
##31BA491.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)
#BDA93D
Deuteranopia (green-blind)
#AD9E52
Tritanopia (blue-blind)
#00B5A2
Achromatopsia (no color)
#A2A2A2

Design tokens & code

CSS
--color: #31ba49;
/* rgb */ color: rgb(49, 186, 73);
/* oklch */ color: oklch(69.3% 0.192 145.7);
Tailwind
colors: {
  custom: {
    50: '#7ed080',
    500: '#31ba49',
    950: '#000000',
  },
}
SCSS
$custom: #31ba49;
$custom-light: #7ed080;
$custom-dark: #000000;
JSON
{
  "hex": "#31ba49",
  "rgb": {
    "r": 49,
    "g": 186,
    "b": 73
  },
  "hsl": {
    "h": 130.511,
    "s": 58.298,
    "l": 46.078
  },
  "oklch": {
    "l": 0.69344,
    "c": 0.19247,
    "h": 145.7
  },
  "luminance": 0.36252
}

Semantic roles & 50–950 ramp

primary
#31BA49
secondary
#C97EBC
accent
#46C6E2
background
#F8FCF8
surface
#F0F9EF
border
#CBD2CA
text
#0B140A
muted
#7C827C

Preview Lab

Preview with #31BA49

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

Preview Lab → · Contrast checker → · Palette generator →

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