#31B759#31B759

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

Color values

HEX#31B759
RGBrgb(49, 183, 89)
HSLhsl(138, 58%, 45%)
HSVhsv(138, 73%, 72%)
CMYKcmyk(73.2%, 0%, 51.4%, 28.2%)
CIE-LABlab(65.93, -55.76, 37.52)
CIE-LCHlch(65.93, 67.21, 146.06°)
OKLaboklab(68.76% -0.15 0.0907)
OKLCHoklch(68.76% 0.175 148.8)
XYZxyz(20.0017, 35.2389, 15.1969)
Luminance0.3524 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#31B759 #B7318F
analogous
#4CB731 #31B759 #31B79C
triadic
#31B759 #5931B7 #B75931
tetradic
#31B759 #314CB7 #B7318F #B79C31
square
#31B759 #314CB7 #B7318F #B79C31
split-complementary
#31B759 #9C31B7 #B7314C
monochromatic
#17562A #248742 #31B759 #54D179 #84DE9F

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##31B759#FFFFFF#000000##000000
##31B7591.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)
#B9A751
Deuteranopia (green-blind)
#A99C60
Tritanopia (blue-blind)
#00B3A1
Achromatopsia (no color)
#A0A0A0

Design tokens & code

CSS
--color: #31b759;
/* rgb */ color: rgb(49, 183, 89);
/* oklch */ color: oklch(68.8% 0.175 148.8);
Tailwind
colors: {
  custom: {
    50: '#7cce8a',
    500: '#31b759',
    950: '#000000',
  },
}
SCSS
$custom: #31b759;
$custom-light: #7cce8a;
$custom-dark: #000000;
JSON
{
  "hex": "#31b759",
  "rgb": {
    "r": 49,
    "g": 183,
    "b": 89
  },
  "hsl": {
    "h": 137.91,
    "s": 57.759,
    "l": 45.49
  },
  "oklch": {
    "l": 0.68762,
    "c": 0.17531,
    "h": 148.8
  },
  "luminance": 0.35241
}

Semantic roles & 50–950 ramp

primary
#31B759
secondary
#C87CB1
accent
#47B3E1
background
#F8FCF8
surface
#EFF9F0
border
#CAD2CB
text
#0B140C
muted
#7C827D

Preview Lab

Preview with #31B759

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

Preview Lab → · Contrast checker → · Palette generator →

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