#31BB54#31BB54

#31BB54 is a light, vivid green. Relative luminance 0.368; OKLCH L 69.7% C 0.185 H 147.5°. Best body text is #000000 at 8.37:1 contrast (WCAG AA passes).

Color values

HEX#31BB54
RGBrgb(49, 187, 84)
HSLhsl(135, 58%, 46%)
HSVhsv(135, 74%, 73%)
CMYKcmyk(73.8%, 0%, 55.1%, 26.7%)
CIE-LABlab(67.15, -57.89, 41.45)
CIE-LCHlch(67.15, 71.20, 144.40°)
OKLaboklab(69.75% -0.1558 0.0991)
OKLCHoklch(69.75% 0.185 147.5)
XYZxyz(20.6356, 36.8313, 14.4074)
Luminance0.3683 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#31BB54 #BB3198
analogous
#53BB31 #31BB54 #31BB99
triadic
#31BB54 #5431BB #BB5431
tetradic
#31BB54 #3153BB #BB3198 #BB9931
square
#31BB54 #3153BB #BB3198 #BB9931
split-complementary
#31BB54 #9931BB #BB3153
monochromatic
#185A28 #248B3E #31BB54 #56D376 #87E09D

Accessibility & contrast

On white

2.51
#31BB54 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.37
#31BB54 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #31BB54
8.37:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##31BB54#FFFFFF#000000##000000
##31BB541.002.518.378.37
#FFFFFF2.511.0021.0021.00
#0000008.3721.001.001.00
##0000008.3721.001.001.00

Color blindness preview

Protanopia (red-blind)
#BDAA4A
Deuteranopia (green-blind)
#AD9F5C
Tritanopia (blue-blind)
#00B7A4
Achromatopsia (no color)
#A3A3A3

Design tokens & code

CSS
--color: #31bb54;
/* rgb */ color: rgb(49, 187, 84);
/* oklch */ color: oklch(69.7% 0.185 147.5);
Tailwind
colors: {
  custom: {
    50: '#7ed187',
    500: '#31bb54',
    950: '#000000',
  },
}
SCSS
$custom: #31bb54;
$custom-light: #7ed187;
$custom-dark: #000000;
JSON
{
  "hex": "#31bb54",
  "rgb": {
    "r": 49,
    "g": 187,
    "b": 84
  },
  "hsl": {
    "h": 135.217,
    "s": 58.475,
    "l": 46.275
  },
  "oklch": {
    "l": 0.69748,
    "c": 0.18468,
    "h": 147.5
  },
  "luminance": 0.36834
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #31BB54

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

Preview Lab → · Contrast checker → · Palette generator →

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