#31BB51#31BB51

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

Color values

HEX#31BB51
RGBrgb(49, 187, 81)
HSLhsl(134, 58%, 46%)
HSVhsv(134, 74%, 73%)
CMYKcmyk(73.8%, 0%, 56.7%, 26.7%)
CIE-LABlab(67.12, -58.30, 42.84)
CIE-LCHlch(67.12, 72.35, 143.69°)
OKLaboklab(69.71% -0.157 0.102)
OKLCHoklch(69.71% 0.187 147)
XYZxyz(20.5206, 36.7853, 13.8018)
Luminance0.3679 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#31BB51 #BB319B
analogous
#56BB31 #31BB51 #31BB96
triadic
#31BB51 #5131BB #BB5131
tetradic
#31BB51 #3156BB #BB319B #BB9631
square
#31BB51 #3156BB #BB319B #BB9631
split-complementary
#31BB51 #9631BB #BB3156
monochromatic
#185A27 #248B3C #31BB51 #56D373 #87E09B

Accessibility & contrast

On white

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

On black

8.36
#31BB51 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #31BB51
8.36:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##31BB51#FFFFFF#000000##000000
##31BB511.002.518.368.36
#FFFFFF2.511.0021.0021.00
#0000008.3621.001.001.00
##0000008.3621.001.001.00

Color blindness preview

Protanopia (red-blind)
#BDAA47
Deuteranopia (green-blind)
#AD9F59
Tritanopia (blue-blind)
#00B7A3
Achromatopsia (no color)
#A3A3A3

Design tokens & code

CSS
--color: #31bb51;
/* rgb */ color: rgb(49, 187, 81);
/* oklch */ color: oklch(69.7% 0.187 147.0);
Tailwind
colors: {
  custom: {
    50: '#7ed185',
    500: '#31bb51',
    950: '#000000',
  },
}
SCSS
$custom: #31bb51;
$custom-light: #7ed185;
$custom-dark: #000000;
JSON
{
  "hex": "#31bb51",
  "rgb": {
    "r": 49,
    "g": 187,
    "b": 81
  },
  "hsl": {
    "h": 133.913,
    "s": 58.475,
    "l": 46.275
  },
  "oklch": {
    "l": 0.69708,
    "c": 0.18721,
    "h": 147
  },
  "luminance": 0.36788
}

Semantic roles & 50–950 ramp

primary
#31BB51
secondary
#C97FB8
accent
#46BEE2
background
#F8FCF8
surface
#EFF9EF
border
#CAD2CA
text
#0B140B
muted
#7C827C

Preview Lab

Preview with #31BB51

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

Preview Lab → · Contrast checker → · Palette generator →

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