#31B831#31B831

#31B831 is a light, highly saturated green. Relative luminance 0.352; OKLCH L 68.6% C 0.207 H 142.9°. Best body text is #000000 at 8.03:1 contrast (WCAG AA passes).

Color values

HEX#31B831
RGBrgb(49, 184, 49)
HSLhsl(120, 58%, 46%)
HSVhsv(120, 73%, 72%)
CMYKcmyk(73.4%, 0%, 73.4%, 27.8%)
CIE-LABlab(65.87, -60.73, 55.04)
CIE-LCHlch(65.87, 81.96, 137.81°)
OKLaboklab(68.58% -0.1649 0.1247)
OKLCHoklch(68.58% 0.207 142.9)
XYZxyz(18.9603, 35.1536, 8.6912)
Luminance0.3516 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#31B831 #B831B8
analogous
#74B831 #31B831 #31B874
triadic
#31B831 #3131B8 #B83131
tetradic
#31B831 #3174B8 #B831B8 #B87431
square
#31B831 #3174B8 #B831B8 #B87431
split-complementary
#31B831 #7431B8 #B83174
monochromatic
#175717 #248824 #31B831 #55D255 #85DE85

Accessibility & contrast

On white

2.61
#31B831 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.03
#31B831 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #31B831
8.03:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##31B831#FFFFFF#000000##000000
##31B8311.002.618.038.03
#FFFFFF2.611.0021.0021.00
#0000008.0321.001.001.00
##0000008.0321.001.001.00

Color blindness preview

Protanopia (red-blind)
#BCA618
Deuteranopia (green-blind)
#AD9C3F
Tritanopia (blue-blind)
#00B39E
Achromatopsia (no color)
#A0A0A0

Design tokens & code

CSS
--color: #31b831;
/* rgb */ color: rgb(49, 184, 49);
/* oklch */ color: oklch(68.6% 0.207 142.9);
Tailwind
colors: {
  custom: {
    50: '#7ecf72',
    500: '#31b831',
    950: '#000000',
  },
}
SCSS
$custom: #31b831;
$custom-light: #7ecf72;
$custom-dark: #000000;
JSON
{
  "hex": "#31b831",
  "rgb": {
    "r": 49,
    "g": 184,
    "b": 49
  },
  "hsl": {
    "h": 120,
    "s": 57.94,
    "l": 45.686
  },
  "oklch": {
    "l": 0.68582,
    "c": 0.20669,
    "h": 142.9
  },
  "luminance": 0.35156
}

Semantic roles & 50–950 ramp

primary
#31B831
secondary
#C87DC8
accent
#47E1E1
background
#F8FCF7
surface
#F0F9ED
border
#CBD2C8
text
#0C1408
muted
#7D827B

Preview Lab

Preview with #31B831

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

Preview Lab → · Contrast checker → · Palette generator →

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