#31B56F#31B56F

#31B56F is a light, vivid green. Relative luminance 0.348; OKLCH L 68.6% C 0.153 H 155.0°. Best body text is #000000 at 7.97:1 contrast (WCAG AA passes).

Color values

HEX#31B56F
RGBrgb(49, 181, 111)
HSLhsl(148, 57%, 45%)
HSVhsv(148, 73%, 71%)
CMYKcmyk(72.9%, 0%, 38.7%, 29%)
CIE-LABlab(65.63, -51.23, 25.79)
CIE-LCHlch(65.63, 57.35, 153.28°)
OKLaboklab(68.62% -0.1383 0.0644)
OKLCHoklch(68.62% 0.153 155)
XYZxyz(20.6578, 34.8460, 20.6731)
Luminance0.3485 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#31B56F #B53177
analogous
#35B531 #31B56F #31B5B1
triadic
#31B56F #6F31B5 #B56F31
tetradic
#31B56F #3135B5 #B53177 #B5B131
square
#31B56F #3135B5 #B53177 #B5B131
split-complementary
#31B56F #B131B5 #B53135
monochromatic
#175534 #248551 #31B56F #53D08E #83DDAD

Accessibility & contrast

On white

2.64
#31B56F on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.97
#31B56F on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #31B56F
7.97:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##31B56F#FFFFFF#000000##000000
##31B56F1.002.647.977.97
#FFFFFF2.641.0021.0021.00
#0000007.9721.001.001.00
##0000007.9721.001.001.00

Color blindness preview

Protanopia (red-blind)
#B4A66A
Deuteranopia (green-blind)
#A49B74
Tritanopia (blue-blind)
#00B3A3
Achromatopsia (no color)
#9F9F9F

Design tokens & code

CSS
--color: #31b56f;
/* rgb */ color: rgb(49, 181, 111);
/* oklch */ color: oklch(68.6% 0.153 155.0);
Tailwind
colors: {
  custom: {
    50: '#7ccc99',
    500: '#31b56f',
    950: '#000000',
  },
}
SCSS
$custom: #31b56f;
$custom-light: #7ccc99;
$custom-dark: #000000;
JSON
{
  "hex": "#31b56f",
  "rgb": {
    "r": 49,
    "g": 181,
    "b": 111
  },
  "hsl": {
    "h": 148.182,
    "s": 57.391,
    "l": 45.098
  },
  "oklch": {
    "l": 0.68618,
    "c": 0.15255,
    "h": 155
  },
  "luminance": 0.34848
}

Semantic roles & 50–950 ramp

primary
#31B56F
secondary
#C77BA3
accent
#4799E1
background
#F8FCF9
surface
#EFF9F2
border
#CAD2CC
text
#0B130E
muted
#7C827E

Preview Lab

Preview with #31B56F

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

Preview Lab → · Contrast checker → · Palette generator →

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