#31B360#31B360

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

Color values

HEX#31B360
RGBrgb(49, 179, 96)
HSLhsl(142, 57%, 45%)
HSVhsv(142, 73%, 70%)
CMYKcmyk(72.6%, 0%, 46.4%, 29.8%)
CIE-LABlab(64.75, -53.19, 32.50)
CIE-LCHlch(64.75, 62.33, 148.58°)
OKLaboklab(67.82% -0.1431 0.0797)
OKLCHoklch(67.82% 0.164 150.9)
XYZxyz(19.4964, 33.7355, 16.5482)
Luminance0.3374 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#31B360 #B33184
analogous
#43B331 #31B360 #31B3A1
triadic
#31B360 #6031B3 #B36031
tetradic
#31B360 #3143B3 #B33184 #B3A131
square
#31B360 #3143B3 #B33184 #B3A131
split-complementary
#31B360 #A131B3 #B33143
monochromatic
#17532C #248346 #31B360 #52D07F #82DDA3

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##31B360#FFFFFF#000000##000000
##31B3601.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)
#B4A45A
Deuteranopia (green-blind)
#A49966
Tritanopia (blue-blind)
#00B09F
Achromatopsia (no color)
#9D9D9D

Design tokens & code

CSS
--color: #31b360;
/* rgb */ color: rgb(49, 179, 96);
/* oklch */ color: oklch(67.8% 0.164 150.9);
Tailwind
colors: {
  custom: {
    50: '#7bcb8e',
    500: '#31b360',
    950: '#000000',
  },
}
SCSS
$custom: #31b360;
$custom-light: #7bcb8e;
$custom-dark: #000000;
JSON
{
  "hex": "#31b360",
  "rgb": {
    "r": 49,
    "g": 179,
    "b": 96
  },
  "hsl": {
    "h": 141.692,
    "s": 57.018,
    "l": 44.706
  },
  "oklch": {
    "l": 0.67816,
    "c": 0.16381,
    "h": 150.9
  },
  "luminance": 0.33738
}

Semantic roles & 50–950 ramp

primary
#31B360
secondary
#C67AAA
accent
#48A9E0
background
#F8FCF8
surface
#EFF9F0
border
#CAD2CB
text
#0B130C
muted
#7C827D

Preview Lab

Preview with #31B360

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

Preview Lab → · Contrast checker → · Palette generator →

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