#31D062#31D062

#31D062 is a light, vivid green. Relative luminance 0.466; OKLCH L 75.4% C 0.199 H 148.6°. Best body text is #000000 at 10.33:1 contrast (WCAG AA passes).

Color values

HEX#31D062
RGBrgb(49, 208, 98)
HSLhsl(138, 63%, 50%)
HSVhsv(138, 76%, 82%)
CMYKcmyk(76.4%, 0%, 52.9%, 18.4%)
CIE-LABlab(73.96, -63.08, 42.98)
CIE-LCHlch(73.96, 76.34, 145.73°)
OKLaboklab(75.44% -0.1695 0.1034)
OKLCHoklch(75.44% 0.199 148.6)
XYZxyz(26.0250, 46.6435, 19.1844)
Luminance0.4665 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#31D062 #D0319F
analogous
#4FD031 #31D062 #31D0B2
triadic
#31D062 #6231D0 #D06231
tetradic
#31D062 #314FD0 #D0319F #D0B231
square
#31D062 #314FD0 #D0319F #D0B231
split-complementary
#31D062 #B231D0 #D0314F
monochromatic
#196E33 #249F4A #31D062 #63DB88 #95E7AE

Accessibility & contrast

On white

2.03
#31D062 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

10.33
#31D062 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #31D062
10.33:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##31D062#FFFFFF#000000##000000
##31D0621.002.0310.3310.33
#FFFFFF2.031.0021.0021.00
#00000010.3321.001.001.00
##00000010.3321.001.001.00

Color blindness preview

Protanopia (red-blind)
#D2BD58
Deuteranopia (green-blind)
#C0B16A
Tritanopia (blue-blind)
#00CCB7
Achromatopsia (no color)
#B6B6B6

Design tokens & code

CSS
--color: #31d062;
/* rgb */ color: rgb(49, 208, 98);
/* oklch */ color: oklch(75.4% 0.199 148.6);
Tailwind
colors: {
  custom: {
    50: '#82e091',
    500: '#31d062',
    950: '#000000',
  },
}
SCSS
$custom: #31d062;
$custom-light: #82e091;
$custom-dark: #000000;
JSON
{
  "hex": "#31d062",
  "rgb": {
    "r": 49,
    "g": 208,
    "b": 98
  },
  "hsl": {
    "h": 138.491,
    "s": 62.846,
    "l": 50.392
  },
  "oklch": {
    "l": 0.75444,
    "c": 0.19858,
    "h": 148.6
  },
  "luminance": 0.46647
}

Semantic roles & 50–950 ramp

primary
#31D062
secondary
#D28BBC
accent
#42B3E6
background
#F8FDF9
surface
#F0FBF1
border
#CBD4CB
text
#0C150D
muted
#7D837E

Preview Lab

Preview with #31D062

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

Preview Lab → · Contrast checker → · Palette generator →

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