#31B761#31B761

#31B761 is a light, vivid green. Relative luminance 0.354; OKLCH L 68.9% C 0.168 H 150.7°. Best body text is #000000 at 8.08:1 contrast (WCAG AA passes).

Color values

HEX#31B761
RGBrgb(49, 183, 97)
HSLhsl(141, 58%, 45%)
HSVhsv(141, 73%, 72%)
CMYKcmyk(73.2%, 0%, 47%, 28.2%)
CIE-LABlab(66.04, -54.49, 33.63)
CIE-LCHlch(66.04, 64.03, 148.32°)
OKLaboklab(68.89% -0.1466 0.0823)
OKLCHoklch(68.89% 0.168 150.7)
XYZxyz(20.3561, 35.3807, 17.0633)
Luminance0.3538 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#31B761 #B73187
analogous
#44B731 #31B761 #31B7A4
triadic
#31B761 #6131B7 #B76131
tetradic
#31B761 #3144B7 #B73187 #B7A431
square
#31B761 #3144B7 #B73187 #B7A431
split-complementary
#31B761 #A431B7 #B73144
monochromatic
#17562E #248747 #31B761 #54D181 #84DEA4

Accessibility & contrast

On white

2.60
#31B761 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.08
#31B761 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #31B761
8.08:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##31B761#FFFFFF#000000##000000
##31B7611.002.608.088.08
#FFFFFF2.601.0021.0021.00
#0000008.0821.001.001.00
##0000008.0821.001.001.00

Color blindness preview

Protanopia (red-blind)
#B8A75A
Deuteranopia (green-blind)
#A89C67
Tritanopia (blue-blind)
#00B4A3
Achromatopsia (no color)
#A0A0A0

Design tokens & code

CSS
--color: #31b761;
/* rgb */ color: rgb(49, 183, 97);
/* oklch */ color: oklch(68.9% 0.168 150.7);
Tailwind
colors: {
  custom: {
    50: '#7cce8f',
    500: '#31b761',
    950: '#000000',
  },
}
SCSS
$custom: #31b761;
$custom-light: #7cce8f;
$custom-dark: #000000;
JSON
{
  "hex": "#31b761",
  "rgb": {
    "r": 49,
    "g": 183,
    "b": 97
  },
  "hsl": {
    "h": 141.493,
    "s": 57.759,
    "l": 45.49
  },
  "oklch": {
    "l": 0.68888,
    "c": 0.16809,
    "h": 150.7
  },
  "luminance": 0.35383
}

Semantic roles & 50–950 ramp

primary
#31B761
secondary
#C87CAD
accent
#47AAE1
background
#F8FCF8
surface
#EFF9F0
border
#CAD2CB
text
#0B140C
muted
#7C827D

Preview Lab

Preview with #31B761

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

Preview Lab → · Contrast checker → · Palette generator →

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