#31B758#31B758

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

Color values

HEX#31B758
RGBrgb(49, 183, 88)
HSLhsl(137, 58%, 45%)
HSVhsv(137, 73%, 72%)
CMYKcmyk(73.2%, 0%, 51.9%, 28.2%)
CIE-LABlab(65.92, -55.91, 38.00)
CIE-LCHlch(65.92, 67.60, 145.80°)
OKLaboklab(68.75% -0.1504 0.0917)
OKLCHoklch(68.75% 0.176 148.6)
XYZxyz(19.9600, 35.2222, 14.9773)
Luminance0.3523 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#31B758 #B73190
analogous
#4DB731 #31B758 #31B79B
triadic
#31B758 #5831B7 #B75831
tetradic
#31B758 #314DB7 #B73190 #B79B31
square
#31B758 #314DB7 #B73190 #B79B31
split-complementary
#31B758 #9B31B7 #B7314D
monochromatic
#17562A #248741 #31B758 #54D178 #84DE9E

Accessibility & contrast

On white

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

On black

8.05
#31B758 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #31B758
8.05:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##31B758#FFFFFF#000000##000000
##31B7581.002.618.058.05
#FFFFFF2.611.0021.0021.00
#0000008.0521.001.001.00
##0000008.0521.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #31b758;
/* rgb */ color: rgb(49, 183, 88);
/* oklch */ color: oklch(68.7% 0.176 148.6);
Tailwind
colors: {
  custom: {
    50: '#7dce89',
    500: '#31b758',
    950: '#000000',
  },
}
SCSS
$custom: #31b758;
$custom-light: #7dce89;
$custom-dark: #000000;
JSON
{
  "hex": "#31b758",
  "rgb": {
    "r": 49,
    "g": 183,
    "b": 88
  },
  "hsl": {
    "h": 137.463,
    "s": 57.759,
    "l": 45.49
  },
  "oklch": {
    "l": 0.68747,
    "c": 0.1762,
    "h": 148.6
  },
  "luminance": 0.35225
}

Semantic roles & 50–950 ramp

primary
#31B758
secondary
#C87CB2
accent
#47B4E1
background
#F8FCF8
surface
#EFF9F0
border
#CAD2CB
text
#0B140C
muted
#7C827D

Preview Lab

Preview with #31B758

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

Preview Lab → · Contrast checker → · Palette generator →

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