#31B26C#31B26C

#31B26C is a light, vivid green. Relative luminance 0.336; OKLCH L 67.8% C 0.151 H 154.6°. Best body text is #000000 at 7.72:1 contrast (WCAG AA passes).

Color values

HEX#31B26C
RGBrgb(49, 178, 108)
HSLhsl(147, 57%, 45%)
HSVhsv(147, 72%, 70%)
CMYKcmyk(72.5%, 0%, 39.3%, 30.2%)
CIE-LABlab(64.62, -50.65, 26.05)
CIE-LCHlch(64.62, 56.96, 152.79°)
OKLaboklab(67.77% -0.1367 0.065)
OKLCHoklch(67.77% 0.151 154.6)
XYZxyz(19.8920, 33.5742, 19.6166)
Luminance0.3358 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#31B26C #B23177
analogous
#37B231 #31B26C #31B2AD
triadic
#31B26C #6C31B2 #B26C31
tetradic
#31B26C #3137B2 #B23177 #B2AD31
square
#31B26C #3137B2 #B23177 #B2AD31
split-complementary
#31B26C #AD31B2 #B23137
monochromatic
#175232 #24824F #31B26C #51CF8B #81DCAB

Accessibility & contrast

On white

2.72
#31B26C on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.72
#31B26C on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #31B26C
7.72:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##31B26C#FFFFFF#000000##000000
##31B26C1.002.727.727.72
#FFFFFF2.721.0021.0021.00
#0000007.7221.001.001.00
##0000007.7221.001.001.00

Color blindness preview

Protanopia (red-blind)
#B2A367
Deuteranopia (green-blind)
#A29871
Tritanopia (blue-blind)
#00B0A0
Achromatopsia (no color)
#9D9D9D

Design tokens & code

CSS
--color: #31b26c;
/* rgb */ color: rgb(49, 178, 108);
/* oklch */ color: oklch(67.8% 0.151 154.6);
Tailwind
colors: {
  custom: {
    50: '#7bca96',
    500: '#31b26c',
    950: '#000000',
  },
}
SCSS
$custom: #31b26c;
$custom-light: #7bca96;
$custom-dark: #000000;
JSON
{
  "hex": "#31b26c",
  "rgb": {
    "r": 49,
    "g": 178,
    "b": 108
  },
  "hsl": {
    "h": 147.442,
    "s": 56.828,
    "l": 44.51
  },
  "oklch": {
    "l": 0.67772,
    "c": 0.15136,
    "h": 154.6
  },
  "luminance": 0.33576
}

Semantic roles & 50–950 ramp

primary
#31B26C
secondary
#C579A3
accent
#489AE0
background
#F8FCF9
surface
#EFF8F2
border
#CAD1CC
text
#0B130D
muted
#7C827E

Preview Lab

Preview with #31B26C

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

Preview Lab → · Contrast checker → · Palette generator →

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