#31B762#31B762

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

Color values

HEX#31B762
RGBrgb(49, 183, 98)
HSLhsl(142, 58%, 45%)
HSVhsv(142, 73%, 72%)
CMYKcmyk(73.2%, 0%, 46.4%, 28.2%)
CIE-LABlab(66.06, -54.32, 33.13)
CIE-LCHlch(66.06, 63.63, 148.62°)
OKLaboklab(68.91% -0.1461 0.0812)
OKLCHoklch(68.91% 0.167 150.9)
XYZxyz(20.4030, 35.3994, 17.3104)
Luminance0.3540 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#31B762 #B73186
analogous
#43B731 #31B762 #31B7A5
triadic
#31B762 #6231B7 #B76231
tetradic
#31B762 #3143B7 #B73186 #B7A531
square
#31B762 #3143B7 #B73186 #B7A531
split-complementary
#31B762 #A531B7 #B73143
monochromatic
#17562E #248748 #31B762 #54D182 #84DEA5

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##31B762#FFFFFF#000000##000000
##31B7621.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)
#B8A75B
Deuteranopia (green-blind)
#A89C68
Tritanopia (blue-blind)
#00B4A3
Achromatopsia (no color)
#A1A1A1

Design tokens & code

CSS
--color: #31b762;
/* rgb */ color: rgb(49, 183, 98);
/* oklch */ color: oklch(68.9% 0.167 150.9);
Tailwind
colors: {
  custom: {
    50: '#7cce90',
    500: '#31b762',
    950: '#000000',
  },
}
SCSS
$custom: #31b762;
$custom-light: #7cce90;
$custom-dark: #000000;
JSON
{
  "hex": "#31b762",
  "rgb": {
    "r": 49,
    "g": 183,
    "b": 98
  },
  "hsl": {
    "h": 141.94,
    "s": 57.759,
    "l": 45.49
  },
  "oklch": {
    "l": 0.68905,
    "c": 0.16718,
    "h": 150.9
  },
  "luminance": 0.35402
}

Semantic roles & 50–950 ramp

primary
#31B762
secondary
#C87CAC
accent
#47A9E1
background
#F8FCF8
surface
#EFF9F0
border
#CAD2CB
text
#0B140C
muted
#7C827D

Preview Lab

Preview with #31B762

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

Preview Lab → · Contrast checker → · Palette generator →

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