#31B936#31B936

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

Color values

HEX#31B936
RGBrgb(49, 185, 54)
HSLhsl(122, 58%, 46%)
HSVhsv(122, 74%, 73%)
CMYKcmyk(73.5%, 0%, 70.8%, 27.5%)
CIE-LABlab(66.22, -60.63, 53.54)
CIE-LCHlch(66.22, 80.89, 138.56°)
OKLaboklab(68.89% -0.1644 0.1222)
OKLCHoklch(68.89% 0.205 143.4)
XYZxyz(19.2802, 35.6150, 9.3476)
Luminance0.3562 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#31B936 #B931B4
analogous
#70B931 #31B936 #31B97A
triadic
#31B936 #3631B9 #B93631
tetradic
#31B936 #3170B9 #B931B4 #B97A31
square
#31B936 #3170B9 #B931B4 #B97A31
split-complementary
#31B936 #7A31B9 #B93170
monochromatic
#17581A #248928 #31B936 #55D25A #86DF89

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##31B936#FFFFFF#000000##000000
##31B9361.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)
#BDA721
Deuteranopia (green-blind)
#AD9D43
Tritanopia (blue-blind)
#00B49F
Achromatopsia (no color)
#A1A1A1

Design tokens & code

CSS
--color: #31b936;
/* rgb */ color: rgb(49, 185, 54);
/* oklch */ color: oklch(68.9% 0.205 143.4);
Tailwind
colors: {
  custom: {
    50: '#7ecf74',
    500: '#31b936',
    950: '#000000',
  },
}
SCSS
$custom: #31b936;
$custom-light: #7ecf74;
$custom-dark: #000000;
JSON
{
  "hex": "#31b936",
  "rgb": {
    "r": 49,
    "g": 185,
    "b": 54
  },
  "hsl": {
    "h": 122.206,
    "s": 58.12,
    "l": 45.882
  },
  "oklch": {
    "l": 0.68889,
    "c": 0.20478,
    "h": 143.4
  },
  "luminance": 0.35617
}

Semantic roles & 50–950 ramp

primary
#31B936
secondary
#C87DC6
accent
#46DCE1
background
#F8FCF7
surface
#F0F9ED
border
#CBD2C8
text
#0C1409
muted
#7D827B

Preview Lab

Preview with #31B936

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

Preview Lab → · Contrast checker → · Palette generator →

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