#31B060#31B060

#31B060 is a light, vivid green. Relative luminance 0.325; OKLCH L 67.0% C 0.160 H 151.3°. Best body text is #000000 at 7.51:1 contrast (WCAG AA passes).

Color values

HEX#31B060
RGBrgb(49, 176, 96)
HSLhsl(142, 56%, 44%)
HSVhsv(142, 72%, 69%)
CMYKcmyk(72.2%, 0%, 45.5%, 31%)
CIE-LABlab(63.79, -52.08, 31.27)
CIE-LCHlch(63.79, 60.75, 149.02°)
OKLaboklab(67.02% -0.1402 0.0768)
OKLCHoklch(67.02% 0.16 151.3)
XYZxyz(18.9017, 32.5460, 16.3499)
Luminance0.3255 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#31B060 #B03181
analogous
#42B031 #31B060 #31B0A0
triadic
#31B060 #6031B0 #B06031
tetradic
#31B060 #3142B0 #B03181 #B0A031
square
#31B060 #3142B0 #B03181 #B0A031
split-complementary
#31B060 #A031B0 #B03142
monochromatic
#16502C #248046 #31B060 #50CE7F #80DCA2

Accessibility & contrast

On white

2.80
#31B060 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.51
#31B060 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #31B060
7.51:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##31B060#FFFFFF#000000##000000
##31B0601.002.807.517.51
#FFFFFF2.801.0021.0021.00
#0000007.5121.001.001.00
##0000007.5121.001.001.00

Color blindness preview

Protanopia (red-blind)
#B1A15A
Deuteranopia (green-blind)
#A19666
Tritanopia (blue-blind)
#00AD9D
Achromatopsia (no color)
#9B9B9B

Design tokens & code

CSS
--color: #31b060;
/* rgb */ color: rgb(49, 176, 96);
/* oklch */ color: oklch(67.0% 0.160 151.3);
Tailwind
colors: {
  custom: {
    50: '#7bc98e',
    500: '#31b060',
    950: '#000000',
  },
}
SCSS
$custom: #31b060;
$custom-light: #7bc98e;
$custom-dark: #000000;
JSON
{
  "hex": "#31b060",
  "rgb": {
    "r": 49,
    "g": 176,
    "b": 96
  },
  "hsl": {
    "h": 142.205,
    "s": 56.444,
    "l": 44.118
  },
  "oklch": {
    "l": 0.67023,
    "c": 0.15987,
    "h": 151.3
  },
  "luminance": 0.32548
}

Semantic roles & 50–950 ramp

primary
#31B060
secondary
#C578A8
accent
#48A8E0
background
#F8FCF8
surface
#EFF8F0
border
#CAD1CB
text
#0B130C
muted
#7C827D

Preview Lab

Preview with #31B060

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

Preview Lab → · Contrast checker → · Palette generator →

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