#31B661#31B661

#31B661 is a light, vivid green. Relative luminance 0.350; OKLCH L 68.6% C 0.167 H 150.8°. Best body text is #000000 at 7.99:1 contrast (WCAG AA passes).

Color values

HEX#31B661
RGBrgb(49, 182, 97)
HSLhsl(142, 58%, 45%)
HSVhsv(142, 73%, 71%)
CMYKcmyk(73.1%, 0%, 46.7%, 28.6%)
CIE-LABlab(65.72, -54.12, 33.22)
CIE-LCHlch(65.72, 63.51, 148.46°)
OKLaboklab(68.63% -0.1456 0.0814)
OKLCHoklch(68.63% 0.167 150.8)
XYZxyz(20.1505, 34.9696, 16.9948)
Luminance0.3497 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#31B661 #B63186
analogous
#43B631 #31B661 #31B6A3
triadic
#31B661 #6131B6 #B66131
tetradic
#31B661 #3143B6 #B63186 #B6A331
square
#31B661 #3143B6 #B63186 #B6A331
split-complementary
#31B661 #A331B6 #B63143
monochromatic
#17562E #248647 #31B661 #53D181 #84DEA4

Accessibility & contrast

On white

2.63
#31B661 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.99
#31B661 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #31B661
7.99:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##31B661#FFFFFF#000000##000000
##31B6611.002.637.997.99
#FFFFFF2.631.0021.0021.00
#0000007.9921.001.001.00
##0000007.9921.001.001.00

Color blindness preview

Protanopia (red-blind)
#B7A65A
Deuteranopia (green-blind)
#A79B67
Tritanopia (blue-blind)
#00B3A2
Achromatopsia (no color)
#A0A0A0

Design tokens & code

CSS
--color: #31b661;
/* rgb */ color: rgb(49, 182, 97);
/* oklch */ color: oklch(68.6% 0.167 150.8);
Tailwind
colors: {
  custom: {
    50: '#7ccd8f',
    500: '#31b661',
    950: '#000000',
  },
}
SCSS
$custom: #31b661;
$custom-light: #7ccd8f;
$custom-dark: #000000;
JSON
{
  "hex": "#31b661",
  "rgb": {
    "r": 49,
    "g": 182,
    "b": 97
  },
  "hsl": {
    "h": 141.654,
    "s": 57.576,
    "l": 45.294
  },
  "oklch": {
    "l": 0.68625,
    "c": 0.1668,
    "h": 150.8
  },
  "luminance": 0.34972
}

Semantic roles & 50–950 ramp

primary
#31B661
secondary
#C77CAC
accent
#47A9E1
background
#F8FCF8
surface
#EFF9F0
border
#CAD2CB
text
#0B140C
muted
#7C827D

Preview Lab

Preview with #31B661

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

Preview Lab → · Contrast checker → · Palette generator →

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