#31B05B#31B05B

#31B05B is a light, vivid green. Relative luminance 0.325; OKLCH L 66.9% C 0.164 H 150.0°. Best body text is #000000 at 7.49:1 contrast (WCAG AA passes).

Color values

HEX#31B05B
RGBrgb(49, 176, 91)
HSLhsl(140, 56%, 44%)
HSVhsv(140, 72%, 69%)
CMYKcmyk(72.2%, 0%, 48.3%, 31%)
CIE-LABlab(63.72, -52.92, 33.75)
CIE-LCHlch(63.72, 62.76, 147.47°)
OKLaboklab(66.94% -0.1424 0.0823)
OKLCHoklch(66.94% 0.164 150)
XYZxyz(18.6788, 32.4569, 15.1759)
Luminance0.3246 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#31B05B #B03186
analogous
#46B031 #31B05B #31B09B
triadic
#31B05B #5B31B0 #B05B31
tetradic
#31B05B #3146B0 #B03186 #B09B31
square
#31B05B #3146B0 #B03186 #B09B31
split-complementary
#31B05B #9B31B0 #B03146
monochromatic
#165029 #248042 #31B05B #50CE7A #80DC9E

Accessibility & contrast

On white

2.80
#31B05B on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.49
#31B05B on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #31B05B
7.49:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##31B05B#FFFFFF#000000##000000
##31B05B1.002.807.497.49
#FFFFFF2.801.0021.0021.00
#0000007.4921.001.001.00
##0000007.4921.001.001.00

Color blindness preview

Protanopia (red-blind)
#B1A154
Deuteranopia (green-blind)
#A29661
Tritanopia (blue-blind)
#00AD9C
Achromatopsia (no color)
#9A9A9A

Design tokens & code

CSS
--color: #31b05b;
/* rgb */ color: rgb(49, 176, 91);
/* oklch */ color: oklch(66.9% 0.164 150.0);
Tailwind
colors: {
  custom: {
    50: '#7bc98b',
    500: '#31b05b',
    950: '#000000',
  },
}
SCSS
$custom: #31b05b;
$custom-light: #7bc98b;
$custom-dark: #000000;
JSON
{
  "hex": "#31b05b",
  "rgb": {
    "r": 49,
    "g": 176,
    "b": 91
  },
  "hsl": {
    "h": 139.843,
    "s": 56.444,
    "l": 44.118
  },
  "oklch": {
    "l": 0.66939,
    "c": 0.16448,
    "h": 150
  },
  "luminance": 0.32459
}

Semantic roles & 50–950 ramp

primary
#31B05B
secondary
#C578AB
accent
#48AEE0
background
#F8FCF8
surface
#EFF8F0
border
#CAD1CB
text
#0B130C
muted
#7C827D

Preview Lab

Preview with #31B05B

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

Preview Lab → · Contrast checker → · Palette generator →

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