#31B974#31B974

#31B974 is a light, vivid green. Relative luminance 0.366; OKLCH L 69.8% C 0.153 H 155.9°. Best body text is #000000 at 8.32:1 contrast (WCAG AA passes).

Color values

HEX#31B974
RGBrgb(49, 185, 116)
HSLhsl(150, 58%, 46%)
HSVhsv(150, 74%, 73%)
CMYKcmyk(73.5%, 0%, 37.3%, 27.5%)
CIE-LABlab(66.98, -51.78, 24.94)
CIE-LCHlch(66.98, 57.48, 154.28°)
OKLaboklab(69.76% -0.1399 0.0625)
OKLCHoklch(69.76% 0.153 155.9)
XYZxyz(21.7659, 36.6093, 22.4388)
Luminance0.3661 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#31B974 #B93176
analogous
#32B931 #31B974 #31B9B8
triadic
#31B974 #7431B9 #B97431
tetradic
#31B974 #3132B9 #B93176 #B9B831
square
#31B974 #3132B9 #B93176 #B9B831
split-complementary
#31B974 #B831B9 #B93132
monochromatic
#175837 #248956 #31B974 #55D293 #86DFB2

Accessibility & contrast

On white

2.52
#31B974 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.32
#31B974 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #31B974
8.32:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##31B974#FFFFFF#000000##000000
##31B9741.002.528.328.32
#FFFFFF2.521.0021.0021.00
#0000008.3221.001.001.00
##0000008.3221.001.001.00

Color blindness preview

Protanopia (red-blind)
#B8AA6F
Deuteranopia (green-blind)
#A89E79
Tritanopia (blue-blind)
#00B7A7
Achromatopsia (no color)
#A3A3A3

Design tokens & code

CSS
--color: #31b974;
/* rgb */ color: rgb(49, 185, 116);
/* oklch */ color: oklch(69.8% 0.153 155.9);
Tailwind
colors: {
  custom: {
    50: '#7ccf9c',
    500: '#31b974',
    950: '#000000',
  },
}
SCSS
$custom: #31b974;
$custom-light: #7ccf9c;
$custom-dark: #000000;
JSON
{
  "hex": "#31b974",
  "rgb": {
    "r": 49,
    "g": 185,
    "b": 116
  },
  "hsl": {
    "h": 149.559,
    "s": 58.12,
    "l": 45.882
  },
  "oklch": {
    "l": 0.69762,
    "c": 0.15323,
    "h": 155.9
  },
  "luminance": 0.36612
}

Semantic roles & 50–950 ramp

primary
#31B974
secondary
#C87DA3
accent
#4695E1
background
#F8FCF9
surface
#EFF9F2
border
#CAD2CC
text
#0B140E
muted
#7C827E

Preview Lab

Preview with #31B974

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

Preview Lab → · Contrast checker → · Palette generator →

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