#31B967#31B967

#31B967 is a light, vivid green. Relative luminance 0.363; OKLCH L 69.5% C 0.165 H 152.0°. Best body text is #000000 at 8.27:1 contrast (WCAG AA passes).

Color values

HEX#31B967
RGBrgb(49, 185, 103)
HSLhsl(144, 58%, 46%)
HSVhsv(144, 74%, 73%)
CMYKcmyk(73.5%, 0%, 44.3%, 27.5%)
CIE-LABlab(66.77, -54.20, 31.47)
CIE-LCHlch(66.77, 62.67, 149.86°)
OKLaboklab(69.52% -0.1459 0.0775)
OKLCHoklch(69.52% 0.165 152)
XYZxyz(21.0619, 36.3277, 18.7313)
Luminance0.3633 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#31B967 #B93183
analogous
#3FB931 #31B967 #31B9AB
triadic
#31B967 #6731B9 #B96731
tetradic
#31B967 #313FB9 #B93183 #B9AB31
square
#31B967 #313FB9 #B93183 #B9AB31
split-complementary
#31B967 #AB31B9 #B9313F
monochromatic
#175831 #24894C #31B967 #55D287 #86DFA9

Accessibility & contrast

On white

2.54
#31B967 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.27
#31B967 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #31B967
8.27:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##31B967#FFFFFF#000000##000000
##31B9671.002.548.278.27
#FFFFFF2.541.0021.0021.00
#0000008.2721.001.001.00
##0000008.2721.001.001.00

Color blindness preview

Protanopia (red-blind)
#B9A961
Deuteranopia (green-blind)
#A99E6D
Tritanopia (blue-blind)
#00B6A5
Achromatopsia (no color)
#A2A2A2

Design tokens & code

CSS
--color: #31b967;
/* rgb */ color: rgb(49, 185, 103);
/* oklch */ color: oklch(69.5% 0.165 152.0);
Tailwind
colors: {
  custom: {
    50: '#7dcf93',
    500: '#31b967',
    950: '#000000',
  },
}
SCSS
$custom: #31b967;
$custom-light: #7dcf93;
$custom-dark: #000000;
JSON
{
  "hex": "#31b967",
  "rgb": {
    "r": 49,
    "g": 185,
    "b": 103
  },
  "hsl": {
    "h": 143.824,
    "s": 58.12,
    "l": 45.882
  },
  "oklch": {
    "l": 0.69517,
    "c": 0.16519,
    "h": 152
  },
  "luminance": 0.3633
}

Semantic roles & 50–950 ramp

primary
#31B967
secondary
#C87DAB
accent
#46A4E1
background
#F8FCF9
surface
#EFF9F1
border
#CAD2CB
text
#0B140D
muted
#7C827E

Preview Lab

Preview with #31B967

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

Preview Lab → · Contrast checker → · Palette generator →

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