#31B862#31B862

#31B862 is a light, vivid green. Relative luminance 0.358; OKLCH L 69.2% C 0.168 H 150.8°. Best body text is #000000 at 8.16:1 contrast (WCAG AA passes).

Color values

HEX#31B862
RGBrgb(49, 184, 98)
HSLhsl(142, 58%, 46%)
HSVhsv(142, 73%, 72%)
CMYKcmyk(73.4%, 0%, 46.7%, 27.8%)
CIE-LABlab(66.38, -54.69, 33.54)
CIE-LCHlch(66.38, 64.15, 148.48°)
OKLaboklab(69.17% -0.1471 0.0821)
OKLCHoklch(69.17% 0.168 150.8)
XYZxyz(20.6100, 35.8134, 17.3794)
Luminance0.3582 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#31B862 #B83187
analogous
#43B831 #31B862 #31B8A5
triadic
#31B862 #6231B8 #B86231
tetradic
#31B862 #3143B8 #B83187 #B8A531
square
#31B862 #3143B8 #B83187 #B8A531
split-complementary
#31B862 #A531B8 #B83143
monochromatic
#17572F #248848 #31B862 #55D282 #85DEA5

Accessibility & contrast

On white

2.57
#31B862 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.16
#31B862 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #31B862
8.16:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##31B862#FFFFFF#000000##000000
##31B8621.002.578.168.16
#FFFFFF2.571.0021.0021.00
#0000008.1621.001.001.00
##0000008.1621.001.001.00

Color blindness preview

Protanopia (red-blind)
#B9A85B
Deuteranopia (green-blind)
#A99D68
Tritanopia (blue-blind)
#00B5A3
Achromatopsia (no color)
#A1A1A1

Design tokens & code

CSS
--color: #31b862;
/* rgb */ color: rgb(49, 184, 98);
/* oklch */ color: oklch(69.2% 0.168 150.8);
Tailwind
colors: {
  custom: {
    50: '#7cce90',
    500: '#31b862',
    950: '#000000',
  },
}
SCSS
$custom: #31b862;
$custom-light: #7cce90;
$custom-dark: #000000;
JSON
{
  "hex": "#31b862",
  "rgb": {
    "r": 49,
    "g": 184,
    "b": 98
  },
  "hsl": {
    "h": 141.778,
    "s": 57.94,
    "l": 45.686
  },
  "oklch": {
    "l": 0.69168,
    "c": 0.16848,
    "h": 150.8
  },
  "luminance": 0.35816
}

Semantic roles & 50–950 ramp

primary
#31B862
secondary
#C87DAD
accent
#47A9E1
background
#F8FCF8
surface
#EFF9F0
border
#CAD2CB
text
#0B140C
muted
#7C827D

Preview Lab

Preview with #31B862

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

Preview Lab → · Contrast checker → · Palette generator →

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