#31B832#31B832

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

Color values

HEX#31B832
RGBrgb(49, 184, 50)
HSLhsl(120, 58%, 46%)
HSVhsv(120, 73%, 72%)
CMYKcmyk(73.4%, 0%, 72.8%, 27.8%)
CIE-LABlab(65.87, -60.65, 54.68)
CIE-LCHlch(65.87, 81.66, 137.96°)
OKLaboklab(68.59% -0.1646 0.124)
OKLCHoklch(68.59% 0.206 143)
XYZxyz(18.9817, 35.1621, 8.8036)
Luminance0.3516 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#31B832 #B831B7
analogous
#74B831 #31B832 #31B875
triadic
#31B832 #3231B8 #B83231
tetradic
#31B832 #3174B8 #B831B7 #B87531
square
#31B832 #3174B8 #B831B7 #B87531
split-complementary
#31B832 #7531B8 #B83174
monochromatic
#175718 #248825 #31B832 #55D256 #85DE86

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##31B832#FFFFFF#000000##000000
##31B8321.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)
#BCA61A
Deuteranopia (green-blind)
#AD9C40
Tritanopia (blue-blind)
#00B39E
Achromatopsia (no color)
#A0A0A0

Design tokens & code

CSS
--color: #31b832;
/* rgb */ color: rgb(49, 184, 50);
/* oklch */ color: oklch(68.6% 0.206 143.0);
Tailwind
colors: {
  custom: {
    50: '#7ecf72',
    500: '#31b832',
    950: '#000000',
  },
}
SCSS
$custom: #31b832;
$custom-light: #7ecf72;
$custom-dark: #000000;
JSON
{
  "hex": "#31b832",
  "rgb": {
    "r": 49,
    "g": 184,
    "b": 50
  },
  "hsl": {
    "h": 120.444,
    "s": 57.94,
    "l": 45.686
  },
  "oklch": {
    "l": 0.68589,
    "c": 0.2061,
    "h": 143
  },
  "luminance": 0.35164
}

Semantic roles & 50–950 ramp

primary
#31B832
secondary
#C87DC7
accent
#47E0E1
background
#F8FCF7
surface
#F0F9ED
border
#CBD2C8
text
#0C1408
muted
#7D827B

Preview Lab

Preview with #31B832

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

Preview Lab → · Contrast checker → · Palette generator →

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