#31BB31#31BB31

#31BB31 is a light, highly saturated green. Relative luminance 0.364; OKLCH L 69.4% C 0.210 H 142.9°. Best body text is #000000 at 8.28:1 contrast (WCAG AA passes).

Color values

HEX#31BB31
RGBrgb(49, 187, 49)
HSLhsl(120, 58%, 46%)
HSVhsv(120, 74%, 73%)
CMYKcmyk(73.8%, 0%, 73.8%, 26.7%)
CIE-LABlab(66.83, -61.70, 56.02)
CIE-LCHlch(66.83, 83.33, 137.76°)
OKLaboklab(69.38% -0.1675 0.1267)
OKLCHoklch(69.38% 0.21 142.9)
XYZxyz(19.5901, 36.4131, 8.9011)
Luminance0.3641 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#31BB31 #BB31BB
analogous
#76BB31 #31BB31 #31BB76
triadic
#31BB31 #3131BB #BB3131
tetradic
#31BB31 #3176BB #BB31BB #BB7631
square
#31BB31 #3176BB #BB31BB #BB7631
split-complementary
#31BB31 #7631BB #BB3176
monochromatic
#185A18 #248B24 #31BB31 #56D356 #87E087

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##31BB31#FFFFFF#000000##000000
##31BB311.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)
#BFA916
Deuteranopia (green-blind)
#B09E40
Tritanopia (blue-blind)
#00B5A0
Achromatopsia (no color)
#A3A3A3

Design tokens & code

CSS
--color: #31bb31;
/* rgb */ color: rgb(49, 187, 49);
/* oklch */ color: oklch(69.4% 0.210 142.9);
Tailwind
colors: {
  custom: {
    50: '#7fd172',
    500: '#31bb31',
    950: '#000000',
  },
}
SCSS
$custom: #31bb31;
$custom-light: #7fd172;
$custom-dark: #000000;
JSON
{
  "hex": "#31bb31",
  "rgb": {
    "r": 49,
    "g": 187,
    "b": 49
  },
  "hsl": {
    "h": 120,
    "s": 58.475,
    "l": 46.275
  },
  "oklch": {
    "l": 0.69384,
    "c": 0.21001,
    "h": 142.9
  },
  "luminance": 0.36415
}

Semantic roles & 50–950 ramp

primary
#31BB31
secondary
#C97FC9
accent
#46E2E2
background
#F8FDF7
surface
#F0FAED
border
#CBD3C8
text
#0C1408
muted
#7D837B

Preview Lab

Preview with #31BB31

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

Preview Lab → · Contrast checker → · Palette generator →

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