#31B755#31B755

#31B755 is a light, vivid green. Relative luminance 0.352; OKLCH L 68.7% C 0.179 H 148.0°. Best body text is #000000 at 8.04:1 contrast (WCAG AA passes).

Color values

HEX#31B755
RGBrgb(49, 183, 85)
HSLhsl(136, 58%, 45%)
HSVhsv(136, 73%, 72%)
CMYKcmyk(73.2%, 0%, 53.6%, 28.2%)
CIE-LABlab(65.88, -56.36, 39.43)
CIE-LCHlch(65.88, 68.78, 145.02°)
OKLaboklab(68.7% -0.1517 0.0947)
OKLCHoklch(68.7% 0.179 148)
XYZxyz(19.8383, 35.1736, 14.3362)
Luminance0.3518 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#31B755 #B73193
analogous
#50B731 #31B755 #31B798
triadic
#31B755 #5531B7 #B75531
tetradic
#31B755 #3150B7 #B73193 #B79831
square
#31B755 #3150B7 #B73193 #B79831
split-complementary
#31B755 #9831B7 #B73150
monochromatic
#175628 #24873F #31B755 #54D176 #84DE9C

Accessibility & contrast

On white

2.61
#31B755 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.04
#31B755 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #31B755
8.04:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##31B755#FFFFFF#000000##000000
##31B7551.002.618.048.04
#FFFFFF2.611.0021.0021.00
#0000008.0421.001.001.00
##0000008.0421.001.001.00

Color blindness preview

Protanopia (red-blind)
#B9A74C
Deuteranopia (green-blind)
#A99C5C
Tritanopia (blue-blind)
#00B3A1
Achromatopsia (no color)
#A0A0A0

Design tokens & code

CSS
--color: #31b755;
/* rgb */ color: rgb(49, 183, 85);
/* oklch */ color: oklch(68.7% 0.179 148.0);
Tailwind
colors: {
  custom: {
    50: '#7dce87',
    500: '#31b755',
    950: '#000000',
  },
}
SCSS
$custom: #31b755;
$custom-light: #7dce87;
$custom-dark: #000000;
JSON
{
  "hex": "#31b755",
  "rgb": {
    "r": 49,
    "g": 183,
    "b": 85
  },
  "hsl": {
    "h": 136.119,
    "s": 57.759,
    "l": 45.49
  },
  "oklch": {
    "l": 0.68703,
    "c": 0.17882,
    "h": 148
  },
  "luminance": 0.35176
}

Semantic roles & 50–950 ramp

primary
#31B755
secondary
#C87CB3
accent
#47B8E1
background
#F8FCF8
surface
#EFF9F0
border
#CAD2CB
text
#0B140B
muted
#7C827C

Preview Lab

Preview with #31B755

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

Preview Lab → · Contrast checker → · Palette generator →

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