#31BB38#31BB38

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

Color values

HEX#31BB38
RGBrgb(49, 187, 56)
HSLhsl(123, 58%, 46%)
HSVhsv(123, 74%, 73%)
CMYKcmyk(73.8%, 0%, 70.1%, 26.7%)
CIE-LABlab(66.88, -61.10, 53.45)
CIE-LCHlch(66.88, 81.19, 138.82°)
OKLaboklab(69.44% -0.1655 0.1222)
OKLCHoklch(69.44% 0.206 143.6)
XYZxyz(19.7495, 36.4769, 9.7405)
Luminance0.3648 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#31BB38 #BB31B4
analogous
#6FBB31 #31BB38 #31BB7D
triadic
#31BB38 #3831BB #BB3831
tetradic
#31BB38 #316FBB #BB31B4 #BB7D31
square
#31BB38 #316FBB #BB31B4 #BB7D31
split-complementary
#31BB38 #7D31BB #BB316F
monochromatic
#185A1B #248B29 #31BB38 #56D35D #87E08B

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##31BB38#FFFFFF#000000##000000
##31BB381.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)
#BFA924
Deuteranopia (green-blind)
#AF9F45
Tritanopia (blue-blind)
#00B6A1
Achromatopsia (no color)
#A3A3A3

Design tokens & code

CSS
--color: #31bb38;
/* rgb */ color: rgb(49, 187, 56);
/* oklch */ color: oklch(69.4% 0.206 143.6);
Tailwind
colors: {
  custom: {
    50: '#7fd176',
    500: '#31bb38',
    950: '#000000',
  },
}
SCSS
$custom: #31bb38;
$custom-light: #7fd176;
$custom-dark: #000000;
JSON
{
  "hex": "#31bb38",
  "rgb": {
    "r": 49,
    "g": 187,
    "b": 56
  },
  "hsl": {
    "h": 123.043,
    "s": 58.475,
    "l": 46.275
  },
  "oklch": {
    "l": 0.6944,
    "c": 0.20578,
    "h": 143.6
  },
  "luminance": 0.36479
}

Semantic roles & 50–950 ramp

primary
#31BB38
secondary
#C97FC5
accent
#46DAE2
background
#F8FDF7
surface
#F0FAED
border
#CBD3C8
text
#0C1409
muted
#7D837B

Preview Lab

Preview with #31BB38

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

Preview Lab → · Contrast checker → · Palette generator →

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