#31B654#31B654

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

Color values

HEX#31B654
RGBrgb(49, 182, 84)
HSLhsl(136, 58%, 45%)
HSVhsv(136, 73%, 71%)
CMYKcmyk(73.1%, 0%, 53.8%, 28.6%)
CIE-LABlab(65.55, -56.15, 39.52)
CIE-LCHlch(65.55, 68.66, 144.86°)
OKLaboklab(68.42% -0.1511 0.0949)
OKLCHoklch(68.42% 0.178 147.9)
XYZxyz(19.5933, 34.7467, 14.0600)
Luminance0.3475 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#31B654 #B63193
analogous
#51B631 #31B654 #31B696
triadic
#31B654 #5431B6 #B65431
tetradic
#31B654 #3151B6 #B63193 #B69631
square
#31B654 #3151B6 #B63193 #B69631
split-complementary
#31B654 #9631B6 #B63151
monochromatic
#175627 #24863E #31B654 #53D174 #84DE9B

Accessibility & contrast

On white

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

On black

7.95
#31B654 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #31B654
7.95:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##31B654#FFFFFF#000000##000000
##31B6541.002.647.957.95
#FFFFFF2.641.0021.0021.00
#0000007.9521.001.001.00
##0000007.9521.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #31b654;
/* rgb */ color: rgb(49, 182, 84);
/* oklch */ color: oklch(68.4% 0.178 147.9);
Tailwind
colors: {
  custom: {
    50: '#7ccd86',
    500: '#31b654',
    950: '#000000',
  },
}
SCSS
$custom: #31b654;
$custom-light: #7ccd86;
$custom-dark: #000000;
JSON
{
  "hex": "#31b654",
  "rgb": {
    "r": 49,
    "g": 182,
    "b": 84
  },
  "hsl": {
    "h": 135.789,
    "s": 57.576,
    "l": 45.294
  },
  "oklch": {
    "l": 0.68424,
    "c": 0.17843,
    "h": 147.9
  },
  "luminance": 0.34749
}

Semantic roles & 50–950 ramp

primary
#31B654
secondary
#C77CB3
accent
#47B8E1
background
#F8FCF8
surface
#EFF9EF
border
#CAD2CA
text
#0B140B
muted
#7C827C

Preview Lab

Preview with #31B654

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

Preview Lab → · Contrast checker → · Palette generator →

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