#31BB3C#31BB3C

#31BB3C is a light, highly saturated green. Relative luminance 0.365; OKLCH L 69.5% C 0.203 H 144.0°. Best body text is #000000 at 8.30:1 contrast (WCAG AA passes).

Color values

HEX#31BB3C
RGBrgb(49, 187, 60)
HSLhsl(125, 58%, 46%)
HSVhsv(125, 74%, 73%)
CMYKcmyk(73.8%, 0%, 67.9%, 26.7%)
CIE-LABlab(66.91, -60.73, 51.89)
CIE-LCHlch(66.91, 79.88, 139.49°)
OKLaboklab(69.47% -0.1643 0.1194)
OKLCHoklch(69.47% 0.203 144)
XYZxyz(19.8513, 36.5176, 10.2765)
Luminance0.3652 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#31BB3C #BB31B0
analogous
#6BBB31 #31BB3C #31BB81
triadic
#31BB3C #3C31BB #BB3C31
tetradic
#31BB3C #316BBB #BB31B0 #BB8131
square
#31BB3C #316BBB #BB31B0 #BB8131
split-complementary
#31BB3C #8131BB #BB316B
monochromatic
#185A1D #248B2C #31BB3C #56D360 #87E08E

Accessibility & contrast

On white

2.53
#31BB3C on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.30
#31BB3C on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #31BB3C
8.30:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##31BB3C#FFFFFF#000000##000000
##31BB3C1.002.538.308.30
#FFFFFF2.531.0021.0021.00
#0000008.3021.001.001.00
##0000008.3021.001.001.00

Color blindness preview

Protanopia (red-blind)
#BFA92A
Deuteranopia (green-blind)
#AF9F48
Tritanopia (blue-blind)
#00B6A1
Achromatopsia (no color)
#A3A3A3

Design tokens & code

CSS
--color: #31bb3c;
/* rgb */ color: rgb(49, 187, 60);
/* oklch */ color: oklch(69.5% 0.203 144.0);
Tailwind
colors: {
  custom: {
    50: '#7fd178',
    500: '#31bb3c',
    950: '#000000',
  },
}
SCSS
$custom: #31bb3c;
$custom-light: #7fd178;
$custom-dark: #000000;
JSON
{
  "hex": "#31bb3c",
  "rgb": {
    "r": 49,
    "g": 187,
    "b": 60
  },
  "hsl": {
    "h": 124.783,
    "s": 58.475,
    "l": 46.275
  },
  "oklch": {
    "l": 0.69475,
    "c": 0.20315,
    "h": 144
  },
  "luminance": 0.3652
}

Semantic roles & 50–950 ramp

primary
#31BB3C
secondary
#C97FC3
accent
#46D5E2
background
#F8FDF7
surface
#F0FAEE
border
#CBD3C9
text
#0C1409
muted
#7D837B

Preview Lab

Preview with #31BB3C

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

Preview Lab → · Contrast checker → · Palette generator →

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