#31B651#31B651

#31B651 is a light, vivid green. Relative luminance 0.347; OKLCH L 68.4% C 0.181 H 147.3°. Best body text is #000000 at 7.94:1 contrast (WCAG AA passes).

Color values

HEX#31B651
RGBrgb(49, 182, 81)
HSLhsl(134, 58%, 45%)
HSVhsv(134, 73%, 71%)
CMYKcmyk(73.1%, 0%, 55.5%, 28.6%)
CIE-LABlab(65.52, -56.57, 40.93)
CIE-LCHlch(65.52, 69.82, 144.12°)
OKLaboklab(68.38% -0.1523 0.0978)
OKLCHoklch(68.38% 0.181 147.3)
XYZxyz(19.4783, 34.7007, 13.4543)
Luminance0.3470 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#31B651 #B63196
analogous
#53B631 #31B651 #31B693
triadic
#31B651 #5131B6 #B65131
tetradic
#31B651 #3153B6 #B63196 #B69331
square
#31B651 #3153B6 #B63196 #B69331
split-complementary
#31B651 #9331B6 #B63153
monochromatic
#175626 #24863C #31B651 #53D172 #84DE99

Accessibility & contrast

On white

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

On black

7.94
#31B651 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #31B651
7.94:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##31B651#FFFFFF#000000##000000
##31B6511.002.647.947.94
#FFFFFF2.641.0021.0021.00
#0000007.9421.001.001.00
##0000007.9421.001.001.00

Color blindness preview

Protanopia (red-blind)
#B8A648
Deuteranopia (green-blind)
#A99B59
Tritanopia (blue-blind)
#00B29F
Achromatopsia (no color)
#9F9F9F

Design tokens & code

CSS
--color: #31b651;
/* rgb */ color: rgb(49, 182, 81);
/* oklch */ color: oklch(68.4% 0.181 147.3);
Tailwind
colors: {
  custom: {
    50: '#7dcd84',
    500: '#31b651',
    950: '#000000',
  },
}
SCSS
$custom: #31b651;
$custom-light: #7dcd84;
$custom-dark: #000000;
JSON
{
  "hex": "#31b651",
  "rgb": {
    "r": 49,
    "g": 182,
    "b": 81
  },
  "hsl": {
    "h": 134.436,
    "s": 57.576,
    "l": 45.294
  },
  "oklch": {
    "l": 0.68383,
    "c": 0.18102,
    "h": 147.3
  },
  "luminance": 0.34703
}

Semantic roles & 50–950 ramp

primary
#31B651
secondary
#C77CB5
accent
#47BCE1
background
#F8FCF8
surface
#EFF9EF
border
#CAD2CA
text
#0B140B
muted
#7C827C

Preview Lab

Preview with #31B651

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

Preview Lab → · Contrast checker → · Palette generator →

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