#31B554#31B554

#31B554 is a light, vivid green. Relative luminance 0.343; OKLCH L 68.2% C 0.177 H 148.0°. Best body text is #000000 at 7.87:1 contrast (WCAG AA passes).

Color values

HEX#31B554
RGBrgb(49, 181, 84)
HSLhsl(136, 57%, 45%)
HSVhsv(136, 73%, 71%)
CMYKcmyk(72.9%, 0%, 53.6%, 29%)
CIE-LABlab(65.23, -55.79, 39.13)
CIE-LCHlch(65.23, 68.15, 144.96°)
OKLaboklab(68.16% -0.1502 0.094)
OKLCHoklch(68.16% 0.177 148)
XYZxyz(19.3892, 34.3386, 13.9919)
Luminance0.3434 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#31B554 #B53192
analogous
#50B531 #31B554 #31B596
triadic
#31B554 #5431B5 #B55431
tetradic
#31B554 #3150B5 #B53192 #B59631
square
#31B554 #3150B5 #B53192 #B59631
split-complementary
#31B554 #9631B5 #B53150
monochromatic
#175527 #24853E #31B554 #53D074 #83DD9B

Accessibility & contrast

On white

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

On black

7.87
#31B554 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #31B554
7.87:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##31B554#FFFFFF#000000##000000
##31B5541.002.677.877.87
#FFFFFF2.671.0021.0021.00
#0000007.8721.001.001.00
##0000007.8721.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #31b554;
/* rgb */ color: rgb(49, 181, 84);
/* oklch */ color: oklch(68.2% 0.177 148.0);
Tailwind
colors: {
  custom: {
    50: '#7ccc86',
    500: '#31b554',
    950: '#000000',
  },
}
SCSS
$custom: #31b554;
$custom-light: #7ccc86;
$custom-dark: #000000;
JSON
{
  "hex": "#31b554",
  "rgb": {
    "r": 49,
    "g": 181,
    "b": 84
  },
  "hsl": {
    "h": 135.909,
    "s": 57.391,
    "l": 45.098
  },
  "oklch": {
    "l": 0.68159,
    "c": 0.17717,
    "h": 148
  },
  "luminance": 0.34341
}

Semantic roles & 50–950 ramp

primary
#31B554
secondary
#C77BB3
accent
#47B8E1
background
#F8FCF8
surface
#EFF9EF
border
#CAD2CA
text
#0B130B
muted
#7C827C

Preview Lab

Preview with #31B554

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

Preview Lab → · Contrast checker → · Palette generator →

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