#31B552#31B552

#31B552 is a light, vivid green. Relative luminance 0.343; OKLCH L 68.1% C 0.179 H 147.6°. Best body text is #000000 at 7.86:1 contrast (WCAG AA passes).

Color values

HEX#31B552
RGBrgb(49, 181, 82)
HSLhsl(135, 57%, 45%)
HSVhsv(135, 73%, 71%)
CMYKcmyk(72.9%, 0%, 54.7%, 29%)
CIE-LABlab(65.21, -56.08, 40.07)
CIE-LCHlch(65.21, 68.93, 144.45°)
OKLaboklab(68.13% -0.151 0.096)
OKLCHoklch(68.13% 0.179 147.6)
XYZxyz(19.3120, 34.3077, 13.5853)
Luminance0.3431 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#31B552 #B53194
analogous
#52B531 #31B552 #31B594
triadic
#31B552 #5231B5 #B55231
tetradic
#31B552 #3152B5 #B53194 #B59431
square
#31B552 #3152B5 #B53194 #B59431
split-complementary
#31B552 #9431B5 #B53152
monochromatic
#175526 #24853C #31B552 #53D072 #83DD9A

Accessibility & contrast

On white

2.67
#31B552 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.86
#31B552 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #31B552
7.86:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##31B552#FFFFFF#000000##000000
##31B5521.002.677.867.86
#FFFFFF2.671.0021.0021.00
#0000007.8621.001.001.00
##0000007.8621.001.001.00

Color blindness preview

Protanopia (red-blind)
#B7A549
Deuteranopia (green-blind)
#A89A5A
Tritanopia (blue-blind)
#00B19F
Achromatopsia (no color)
#9E9E9E

Design tokens & code

CSS
--color: #31b552;
/* rgb */ color: rgb(49, 181, 82);
/* oklch */ color: oklch(68.1% 0.179 147.6);
Tailwind
colors: {
  custom: {
    50: '#7ccc85',
    500: '#31b552',
    950: '#000000',
  },
}
SCSS
$custom: #31b552;
$custom-light: #7ccc85;
$custom-dark: #000000;
JSON
{
  "hex": "#31b552",
  "rgb": {
    "r": 49,
    "g": 181,
    "b": 82
  },
  "hsl": {
    "h": 135,
    "s": 57.391,
    "l": 45.098
  },
  "oklch": {
    "l": 0.68131,
    "c": 0.1789,
    "h": 147.6
  },
  "luminance": 0.3431
}

Semantic roles & 50–950 ramp

primary
#31B552
secondary
#C77BB4
accent
#47BAE1
background
#F8FCF8
surface
#EFF9EF
border
#CAD2CA
text
#0B130B
muted
#7C827C

Preview Lab

Preview with #31B552

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

Preview Lab → · Contrast checker → · Palette generator →

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