#31B662#31B662

#31B662 is a light, vivid green. Relative luminance 0.350; OKLCH L 68.6% C 0.166 H 151.1°. Best body text is #000000 at 8.00:1 contrast (WCAG AA passes).

Color values

HEX#31B662
RGBrgb(49, 182, 98)
HSLhsl(142, 58%, 45%)
HSVhsv(142, 73%, 71%)
CMYKcmyk(73.1%, 0%, 46.2%, 28.6%)
CIE-LABlab(65.74, -53.96, 32.73)
CIE-LCHlch(65.74, 63.11, 148.76°)
OKLaboklab(68.64% -0.1452 0.0803)
OKLCHoklch(68.64% 0.166 151.1)
XYZxyz(20.1975, 34.9884, 17.2419)
Luminance0.3499 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#31B662 #B63185
analogous
#43B631 #31B662 #31B6A4
triadic
#31B662 #6231B6 #B66231
tetradic
#31B662 #3143B6 #B63185 #B6A431
square
#31B662 #3143B6 #B63185 #B6A431
split-complementary
#31B662 #A431B6 #B63143
monochromatic
#17562E #248648 #31B662 #53D182 #84DEA5

Accessibility & contrast

On white

2.63
#31B662 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.00
#31B662 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #31B662
8.00:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##31B662#FFFFFF#000000##000000
##31B6621.002.638.008.00
#FFFFFF2.631.0021.0021.00
#0000008.0021.001.001.00
##0000008.0021.001.001.00

Color blindness preview

Protanopia (red-blind)
#B7A65C
Deuteranopia (green-blind)
#A79B68
Tritanopia (blue-blind)
#00B3A2
Achromatopsia (no color)
#A0A0A0

Design tokens & code

CSS
--color: #31b662;
/* rgb */ color: rgb(49, 182, 98);
/* oklch */ color: oklch(68.6% 0.166 151.1);
Tailwind
colors: {
  custom: {
    50: '#7ccd90',
    500: '#31b662',
    950: '#000000',
  },
}
SCSS
$custom: #31b662;
$custom-light: #7ccd90;
$custom-dark: #000000;
JSON
{
  "hex": "#31b662",
  "rgb": {
    "r": 49,
    "g": 182,
    "b": 98
  },
  "hsl": {
    "h": 142.105,
    "s": 57.576,
    "l": 45.294
  },
  "oklch": {
    "l": 0.68641,
    "c": 0.16588,
    "h": 151.1
  },
  "luminance": 0.34991
}

Semantic roles & 50–950 ramp

primary
#31B662
secondary
#C77CAB
accent
#47A8E1
background
#F8FCF8
surface
#EFF9F0
border
#CAD2CB
text
#0B140C
muted
#7C827D

Preview Lab

Preview with #31B662

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

Preview Lab → · Contrast checker → · Palette generator →

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