#31B659#31B659

#31B659 is a light, vivid green. Relative luminance 0.348; OKLCH L 68.5% C 0.174 H 148.9°. Best body text is #000000 at 7.97:1 contrast (WCAG AA passes).

Color values

HEX#31B659
RGBrgb(49, 182, 89)
HSLhsl(138, 58%, 45%)
HSVhsv(138, 73%, 71%)
CMYKcmyk(73.1%, 0%, 51.1%, 28.6%)
CIE-LABlab(65.61, -55.40, 37.13)
CIE-LCHlch(65.61, 66.69, 146.17°)
OKLaboklab(68.5% -0.149 0.0898)
OKLCHoklch(68.5% 0.174 148.9)
XYZxyz(19.7962, 34.8279, 15.1284)
Luminance0.3483 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#31B659 #B6318E
analogous
#4BB631 #31B659 #31B69B
triadic
#31B659 #5931B6 #B65931
tetradic
#31B659 #314BB6 #B6318E #B69B31
square
#31B659 #314BB6 #B6318E #B69B31
split-complementary
#31B659 #9B31B6 #B6314B
monochromatic
#17562A #248641 #31B659 #53D179 #84DE9F

Accessibility & contrast

On white

2.64
#31B659 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.97
#31B659 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #31B659
7.97:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##31B659#FFFFFF#000000##000000
##31B6591.002.647.977.97
#FFFFFF2.641.0021.0021.00
#0000007.9721.001.001.00
##0000007.9721.001.001.00

Color blindness preview

Protanopia (red-blind)
#B8A651
Deuteranopia (green-blind)
#A89B60
Tritanopia (blue-blind)
#00B2A0
Achromatopsia (no color)
#9F9F9F

Design tokens & code

CSS
--color: #31b659;
/* rgb */ color: rgb(49, 182, 89);
/* oklch */ color: oklch(68.5% 0.174 148.9);
Tailwind
colors: {
  custom: {
    50: '#7ccd8a',
    500: '#31b659',
    950: '#000000',
  },
}
SCSS
$custom: #31b659;
$custom-light: #7ccd8a;
$custom-dark: #000000;
JSON
{
  "hex": "#31b659",
  "rgb": {
    "r": 49,
    "g": 182,
    "b": 89
  },
  "hsl": {
    "h": 138.045,
    "s": 57.576,
    "l": 45.294
  },
  "oklch": {
    "l": 0.68497,
    "c": 0.17403,
    "h": 148.9
  },
  "luminance": 0.3483
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #31B659

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

Preview Lab → · Contrast checker → · Palette generator →

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