#31BA4C#31BA4C

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

Color values

HEX#31BA4C
RGBrgb(49, 186, 76)
HSLhsl(132, 58%, 46%)
HSVhsv(132, 74%, 73%)
CMYKcmyk(73.7%, 0%, 59.1%, 27.1%)
CIE-LABlab(66.74, -58.61, 44.73)
CIE-LCHlch(66.74, 73.73, 142.65°)
OKLaboklab(69.38% -0.158 0.1057)
OKLCHoklch(69.38% 0.19 146.2)
XYZxyz(20.1286, 36.2903, 12.7800)
Luminance0.3629 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#31BA4C #BA319F
analogous
#5ABA31 #31BA4C #31BA90
triadic
#31BA4C #4C31BA #BA4C31
tetradic
#31BA4C #315ABA #BA319F #BA9031
square
#31BA4C #315ABA #BA319F #BA9031
split-complementary
#31BA4C #9031BA #BA315A
monochromatic
#175924 #248A38 #31BA4C #56D26E #86DF98

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##31BA4C#FFFFFF#000000##000000
##31BA4C1.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)
#BDA941
Deuteranopia (green-blind)
#AD9E55
Tritanopia (blue-blind)
#00B6A2
Achromatopsia (no color)
#A2A2A2

Design tokens & code

CSS
--color: #31ba4c;
/* rgb */ color: rgb(49, 186, 76);
/* oklch */ color: oklch(69.4% 0.190 146.2);
Tailwind
colors: {
  custom: {
    50: '#7ed081',
    500: '#31ba4c',
    950: '#000000',
  },
}
SCSS
$custom: #31ba4c;
$custom-light: #7ed081;
$custom-dark: #000000;
JSON
{
  "hex": "#31ba4c",
  "rgb": {
    "r": 49,
    "g": 186,
    "b": 76
  },
  "hsl": {
    "h": 131.825,
    "s": 58.298,
    "l": 46.078
  },
  "oklch": {
    "l": 0.6938,
    "c": 0.19008,
    "h": 146.2
  },
  "luminance": 0.36293
}

Semantic roles & 50–950 ramp

primary
#31BA4C
secondary
#C97EBA
accent
#46C3E2
background
#F8FCF8
surface
#EFF9EF
border
#CAD2CA
text
#0B140B
muted
#7C827C

Preview Lab

Preview with #31BA4C

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

Preview Lab → · Contrast checker → · Palette generator →

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