#31B363#31B363

#31B363 is a light, vivid green. Relative luminance 0.338; OKLCH L 67.9% C 0.161 H 151.7°. Best body text is #000000 at 7.76:1 contrast (WCAG AA passes).

Color values

HEX#31B363
RGBrgb(49, 179, 99)
HSLhsl(143, 57%, 45%)
HSVhsv(143, 73%, 70%)
CMYKcmyk(72.6%, 0%, 44.7%, 29.8%)
CIE-LABlab(64.80, -52.68, 31.00)
CIE-LCHlch(64.80, 61.12, 149.52°)
OKLaboklab(67.87% -0.1418 0.0763)
OKLCHoklch(67.87% 0.161 151.7)
XYZxyz(19.6372, 33.7918, 17.2895)
Luminance0.3379 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#31B363 #B33181
analogous
#40B331 #31B363 #31B3A4
triadic
#31B363 #6331B3 #B36331
tetradic
#31B363 #3140B3 #B33181 #B3A431
square
#31B363 #3140B3 #B33181 #B3A431
split-complementary
#31B363 #A431B3 #B33140
monochromatic
#17532E #248348 #31B363 #52D082 #82DDA5

Accessibility & contrast

On white

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

On black

7.76
#31B363 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #31B363
7.76:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##31B363#FFFFFF#000000##000000
##31B3631.002.717.767.76
#FFFFFF2.711.0021.0021.00
#0000007.7621.001.001.00
##0000007.7621.001.001.00

Color blindness preview

Protanopia (red-blind)
#B4A45D
Deuteranopia (green-blind)
#A49969
Tritanopia (blue-blind)
#00B0A0
Achromatopsia (no color)
#9D9D9D

Design tokens & code

CSS
--color: #31b363;
/* rgb */ color: rgb(49, 179, 99);
/* oklch */ color: oklch(67.9% 0.161 151.7);
Tailwind
colors: {
  custom: {
    50: '#7bcb90',
    500: '#31b363',
    950: '#000000',
  },
}
SCSS
$custom: #31b363;
$custom-light: #7bcb90;
$custom-dark: #000000;
JSON
{
  "hex": "#31b363",
  "rgb": {
    "r": 49,
    "g": 179,
    "b": 99
  },
  "hsl": {
    "h": 143.077,
    "s": 57.018,
    "l": 44.706
  },
  "oklch": {
    "l": 0.67868,
    "c": 0.16103,
    "h": 151.7
  },
  "luminance": 0.33794
}

Semantic roles & 50–950 ramp

primary
#31B363
secondary
#C67AA9
accent
#48A6E0
background
#F8FCF8
surface
#EFF9F0
border
#CAD2CB
text
#0B130D
muted
#7C827D

Preview Lab

Preview with #31B363

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

Preview Lab → · Contrast checker → · Palette generator →

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