#31B46B#31B46B

#31B46B is a light, vivid green. Relative luminance 0.344; OKLCH L 68.3% C 0.155 H 153.9°. Best body text is #000000 at 7.87:1 contrast (WCAG AA passes).

Color values

HEX#31B46B
RGBrgb(49, 180, 107)
HSLhsl(147, 57%, 45%)
HSVhsv(147, 73%, 71%)
CMYKcmyk(72.8%, 0%, 40.6%, 29.4%)
CIE-LABlab(65.24, -51.61, 27.40)
CIE-LCHlch(65.24, 58.43, 152.04°)
OKLaboklab(68.28% -0.1391 0.0681)
OKLCHoklch(68.28% 0.155 153.9)
XYZxyz(20.2399, 34.3547, 19.4715)
Luminance0.3436 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#31B46B #B4317A
analogous
#39B431 #31B46B #31B4AD
triadic
#31B46B #6B31B4 #B46B31
tetradic
#31B46B #3139B4 #B4317A #B4AD31
square
#31B46B #3139B4 #B4317A #B4AD31
split-complementary
#31B46B #AD31B4 #B43139
monochromatic
#175432 #24844E #31B46B #52D08A #82DDAB

Accessibility & contrast

On white

2.67
#31B46B on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.87
#31B46B on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #31B46B
7.87:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##31B46B#FFFFFF#000000##000000
##31B46B1.002.677.877.87
#FFFFFF2.671.0021.0021.00
#0000007.8721.001.001.00
##0000007.8721.001.001.00

Color blindness preview

Protanopia (red-blind)
#B4A566
Deuteranopia (green-blind)
#A49A70
Tritanopia (blue-blind)
#00B2A2
Achromatopsia (no color)
#9E9E9E

Design tokens & code

CSS
--color: #31b46b;
/* rgb */ color: rgb(49, 180, 107);
/* oklch */ color: oklch(68.3% 0.155 153.9);
Tailwind
colors: {
  custom: {
    50: '#7bcb96',
    500: '#31b46b',
    950: '#000000',
  },
}
SCSS
$custom: #31b46b;
$custom-light: #7bcb96;
$custom-dark: #000000;
JSON
{
  "hex": "#31b46b",
  "rgb": {
    "r": 49,
    "g": 180,
    "b": 107
  },
  "hsl": {
    "h": 146.565,
    "s": 57.205,
    "l": 44.902
  },
  "oklch": {
    "l": 0.68278,
    "c": 0.15493,
    "h": 153.9
  },
  "luminance": 0.34357
}

Semantic roles & 50–950 ramp

primary
#31B46B
secondary
#C67BA5
accent
#479DE0
background
#F8FCF9
surface
#EFF9F2
border
#CAD2CC
text
#0B130D
muted
#7C827E

Preview Lab

Preview with #31B46B

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

Preview Lab → · Contrast checker → · Palette generator →

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