#31B364#31B364

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

Color values

HEX#31B364
RGBrgb(49, 179, 100)
HSLhsl(144, 57%, 45%)
HSVhsv(144, 73%, 70%)
CMYKcmyk(72.6%, 0%, 44.1%, 29.8%)
CIE-LABlab(64.81, -52.50, 30.50)
CIE-LCHlch(64.81, 60.72, 149.84°)
OKLaboklab(67.88% -0.1413 0.0752)
OKLCHoklch(67.88% 0.16 152)
XYZxyz(19.6853, 33.8110, 17.5428)
Luminance0.3381 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#31B364 #B33180
analogous
#3FB331 #31B364 #31B3A5
triadic
#31B364 #6431B3 #B36431
tetradic
#31B364 #313FB3 #B33180 #B3A531
square
#31B364 #313FB3 #B33180 #B3A531
split-complementary
#31B364 #A531B3 #B3313F
monochromatic
#17532E #248349 #31B364 #52D083 #82DDA5

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##31B364#FFFFFF#000000##000000
##31B3641.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)
#B3A45E
Deuteranopia (green-blind)
#A49969
Tritanopia (blue-blind)
#00B0A0
Achromatopsia (no color)
#9D9D9D

Design tokens & code

CSS
--color: #31b364;
/* rgb */ color: rgb(49, 179, 100);
/* oklch */ color: oklch(67.9% 0.160 152.0);
Tailwind
colors: {
  custom: {
    50: '#7bcb91',
    500: '#31b364',
    950: '#000000',
  },
}
SCSS
$custom: #31b364;
$custom-light: #7bcb91;
$custom-dark: #000000;
JSON
{
  "hex": "#31b364",
  "rgb": {
    "r": 49,
    "g": 179,
    "b": 100
  },
  "hsl": {
    "h": 143.538,
    "s": 57.018,
    "l": 44.706
  },
  "oklch": {
    "l": 0.67885,
    "c": 0.16011,
    "h": 152
  },
  "luminance": 0.33813
}

Semantic roles & 50–950 ramp

primary
#31B364
secondary
#C67AA8
accent
#48A4E0
background
#F8FCF8
surface
#EFF9F0
border
#CAD2CB
text
#0B130D
muted
#7C827D

Preview Lab

Preview with #31B364

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

Preview Lab → · Contrast checker → · Palette generator →

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