#31B362#31B362

#31B362 is a light, vivid green. Relative luminance 0.338; OKLCH L 67.8% C 0.162 H 151.4°. Best body text is #000000 at 7.75:1 contrast (WCAG AA passes).

Color values

HEX#31B362
RGBrgb(49, 179, 98)
HSLhsl(143, 57%, 45%)
HSVhsv(143, 73%, 70%)
CMYKcmyk(72.6%, 0%, 45.3%, 29.8%)
CIE-LABlab(64.78, -52.85, 31.50)
CIE-LCHlch(64.78, 61.53, 149.20°)
OKLaboklab(67.85% -0.1422 0.0774)
OKLCHoklch(67.85% 0.162 151.4)
XYZxyz(19.5897, 33.7728, 17.0393)
Luminance0.3377 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#31B362 #B33182
analogous
#41B331 #31B362 #31B3A3
triadic
#31B362 #6231B3 #B36231
tetradic
#31B362 #3141B3 #B33182 #B3A331
square
#31B362 #3141B3 #B33182 #B3A331
split-complementary
#31B362 #A331B3 #B33141
monochromatic
#17532D #248348 #31B362 #52D081 #82DDA4

Accessibility & contrast

On white

2.71
#31B362 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.75
#31B362 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #31B362
7.75:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##31B362#FFFFFF#000000##000000
##31B3621.002.717.757.75
#FFFFFF2.711.0021.0021.00
#0000007.7521.001.001.00
##0000007.7521.001.001.00

Color blindness preview

Protanopia (red-blind)
#B4A45C
Deuteranopia (green-blind)
#A49968
Tritanopia (blue-blind)
#00B09F
Achromatopsia (no color)
#9D9D9D

Design tokens & code

CSS
--color: #31b362;
/* rgb */ color: rgb(49, 179, 98);
/* oklch */ color: oklch(67.8% 0.162 151.4);
Tailwind
colors: {
  custom: {
    50: '#7bcb90',
    500: '#31b362',
    950: '#000000',
  },
}
SCSS
$custom: #31b362;
$custom-light: #7bcb90;
$custom-dark: #000000;
JSON
{
  "hex": "#31b362",
  "rgb": {
    "r": 49,
    "g": 179,
    "b": 98
  },
  "hsl": {
    "h": 142.615,
    "s": 57.018,
    "l": 44.706
  },
  "oklch": {
    "l": 0.6785,
    "c": 0.16196,
    "h": 151.4
  },
  "luminance": 0.33775
}

Semantic roles & 50–950 ramp

primary
#31B362
secondary
#C67AA9
accent
#48A7E0
background
#F8FCF8
surface
#EFF9F0
border
#CAD2CB
text
#0B130C
muted
#7C827D

Preview Lab

Preview with #31B362

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

Preview Lab → · Contrast checker → · Palette generator →

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