#31B937#31B937

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

Color values

HEX#31B937
RGBrgb(49, 185, 55)
HSLhsl(123, 58%, 46%)
HSVhsv(123, 74%, 73%)
CMYKcmyk(73.5%, 0%, 70.3%, 27.5%)
CIE-LABlab(66.23, -60.54, 53.16)
CIE-LCHlch(66.23, 80.57, 138.72°)
OKLaboklab(68.9% -0.1641 0.1215)
OKLCHoklch(68.9% 0.204 143.5)
XYZxyz(19.3039, 35.6245, 9.4726)
Luminance0.3563 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#31B937 #B931B3
analogous
#6FB931 #31B937 #31B97B
triadic
#31B937 #3731B9 #B93731
tetradic
#31B937 #316FB9 #B931B3 #B97B31
square
#31B937 #316FB9 #B931B3 #B97B31
split-complementary
#31B937 #7B31B9 #B9316F
monochromatic
#17581A #248929 #31B937 #55D25B #86DF8A

Accessibility & contrast

On white

2.58
#31B937 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.13
#31B937 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #31B937
8.13:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##31B937#FFFFFF#000000##000000
##31B9371.002.588.138.13
#FFFFFF2.581.0021.0021.00
#0000008.1321.001.001.00
##0000008.1321.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #31b937;
/* rgb */ color: rgb(49, 185, 55);
/* oklch */ color: oklch(68.9% 0.204 143.5);
Tailwind
colors: {
  custom: {
    50: '#7ecf75',
    500: '#31b937',
    950: '#000000',
  },
}
SCSS
$custom: #31b937;
$custom-light: #7ecf75;
$custom-dark: #000000;
JSON
{
  "hex": "#31b937",
  "rgb": {
    "r": 49,
    "g": 185,
    "b": 55
  },
  "hsl": {
    "h": 122.647,
    "s": 58.12,
    "l": 45.882
  },
  "oklch": {
    "l": 0.68897,
    "c": 0.20416,
    "h": 143.5
  },
  "luminance": 0.35627
}

Semantic roles & 50–950 ramp

primary
#31B937
secondary
#C87DC5
accent
#46DBE1
background
#F8FCF7
surface
#F0F9ED
border
#CBD2C8
text
#0C1409
muted
#7D827B

Preview Lab

Preview with #31B937

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

Preview Lab → · Contrast checker → · Palette generator →

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