#31BA54#31BA54

#31BA54 is a light, vivid green. Relative luminance 0.364; OKLCH L 69.5% C 0.183 H 147.6°. Best body text is #000000 at 8.28:1 contrast (WCAG AA passes).

Color values

HEX#31BA54
RGBrgb(49, 186, 84)
HSLhsl(135, 58%, 46%)
HSVhsv(135, 74%, 73%)
CMYKcmyk(73.7%, 0%, 54.8%, 27.1%)
CIE-LABlab(66.83, -57.55, 41.06)
CIE-LCHlch(66.83, 70.70, 144.49°)
OKLaboklab(69.48% -0.1549 0.0983)
OKLCHoklch(69.48% 0.183 147.6)
XYZxyz(20.4242, 36.4085, 14.3369)
Luminance0.3641 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#31BA54 #BA3197
analogous
#53BA31 #31BA54 #31BA98
triadic
#31BA54 #5431BA #BA5431
tetradic
#31BA54 #3153BA #BA3197 #BA9831
square
#31BA54 #3153BA #BA3197 #BA9831
split-complementary
#31BA54 #9831BA #BA3153
monochromatic
#175928 #248A3E #31BA54 #56D276 #86DF9D

Accessibility & contrast

On white

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

On black

8.28
#31BA54 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #31BA54
8.28:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##31BA54#FFFFFF#000000##000000
##31BA541.002.548.288.28
#FFFFFF2.541.0021.0021.00
#0000008.2821.001.001.00
##0000008.2821.001.001.00

Color blindness preview

Protanopia (red-blind)
#BCA94B
Deuteranopia (green-blind)
#AC9E5C
Tritanopia (blue-blind)
#00B6A3
Achromatopsia (no color)
#A3A3A3

Design tokens & code

CSS
--color: #31ba54;
/* rgb */ color: rgb(49, 186, 84);
/* oklch */ color: oklch(69.5% 0.183 147.6);
Tailwind
colors: {
  custom: {
    50: '#7dd087',
    500: '#31ba54',
    950: '#000000',
  },
}
SCSS
$custom: #31ba54;
$custom-light: #7dd087;
$custom-dark: #000000;
JSON
{
  "hex": "#31ba54",
  "rgb": {
    "r": 49,
    "g": 186,
    "b": 84
  },
  "hsl": {
    "h": 135.328,
    "s": 58.298,
    "l": 46.078
  },
  "oklch": {
    "l": 0.69484,
    "c": 0.18344,
    "h": 147.6
  },
  "luminance": 0.36411
}

Semantic roles & 50–950 ramp

primary
#31BA54
secondary
#C97EB6
accent
#46BAE2
background
#F8FCF8
surface
#EFF9F0
border
#CAD2CB
text
#0B140B
muted
#7C827C

Preview Lab

Preview with #31BA54

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

Preview Lab → · Contrast checker → · Palette generator →

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