#31B932#31B932

#31B932 is a light, highly saturated green. Relative luminance 0.356; OKLCH L 68.9% C 0.207 H 143.0°. Best body text is #000000 at 8.12:1 contrast (WCAG AA passes).

Color values

HEX#31B932
RGBrgb(49, 185, 50)
HSLhsl(120, 58%, 46%)
HSVhsv(120, 74%, 73%)
CMYKcmyk(73.5%, 0%, 73%, 27.5%)
CIE-LABlab(66.20, -60.97, 55.01)
CIE-LCHlch(66.20, 82.12, 137.94°)
OKLaboklab(68.86% -0.1655 0.1247)
OKLCHoklch(68.86% 0.207 143)
XYZxyz(19.1901, 35.5790, 8.8731)
Luminance0.3558 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#31B932 #B931B8
analogous
#74B931 #31B932 #31B976
triadic
#31B932 #3231B9 #B93231
tetradic
#31B932 #3174B9 #B931B8 #B97631
square
#31B932 #3174B9 #B931B8 #B97631
split-complementary
#31B932 #7631B9 #B93174
monochromatic
#175818 #248925 #31B932 #55D256 #86DF86

Accessibility & contrast

On white

2.59
#31B932 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.12
#31B932 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #31B932
8.12:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##31B932#FFFFFF#000000##000000
##31B9321.002.598.128.12
#FFFFFF2.591.0021.0021.00
#0000008.1221.001.001.00
##0000008.1221.001.001.00

Color blindness preview

Protanopia (red-blind)
#BDA71A
Deuteranopia (green-blind)
#AE9D40
Tritanopia (blue-blind)
#00B49F
Achromatopsia (no color)
#A1A1A1

Design tokens & code

CSS
--color: #31b932;
/* rgb */ color: rgb(49, 185, 50);
/* oklch */ color: oklch(68.9% 0.207 143.0);
Tailwind
colors: {
  custom: {
    50: '#7fcf72',
    500: '#31b932',
    950: '#000000',
  },
}
SCSS
$custom: #31b932;
$custom-light: #7fcf72;
$custom-dark: #000000;
JSON
{
  "hex": "#31b932",
  "rgb": {
    "r": 49,
    "g": 185,
    "b": 50
  },
  "hsl": {
    "h": 120.441,
    "s": 58.12,
    "l": 45.882
  },
  "oklch": {
    "l": 0.68857,
    "c": 0.20721,
    "h": 143
  },
  "luminance": 0.35581
}

Semantic roles & 50–950 ramp

primary
#31B932
secondary
#C87DC8
accent
#46E0E1
background
#F8FCF7
surface
#F0F9ED
border
#CBD2C8
text
#0C1408
muted
#7D827B

Preview Lab

Preview with #31B932

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

Preview Lab → · Contrast checker → · Palette generator →

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