#31B75E#31B75E

#31B75E is a light, vivid green. Relative luminance 0.353; OKLCH L 68.8% C 0.171 H 150.0°. Best body text is #000000 at 8.07:1 contrast (WCAG AA passes).

Color values

HEX#31B75E
RGBrgb(49, 183, 94)
HSLhsl(140, 58%, 45%)
HSVhsv(140, 73%, 72%)
CMYKcmyk(73.2%, 0%, 48.6%, 28.2%)
CIE-LABlab(66.00, -54.98, 35.10)
CIE-LCHlch(66.00, 65.23, 147.45°)
OKLaboklab(68.84% -0.1479 0.0855)
OKLCHoklch(68.84% 0.171 150)
XYZxyz(20.2188, 35.3258, 16.3405)
Luminance0.3533 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#31B75E #B7318A
analogous
#47B731 #31B75E #31B7A1
triadic
#31B75E #5E31B7 #B75E31
tetradic
#31B75E #3147B7 #B7318A #B7A131
square
#31B75E #3147B7 #B7318A #B7A131
split-complementary
#31B75E #A131B7 #B73147
monochromatic
#17562C #248745 #31B75E #54D17E #84DEA2

Accessibility & contrast

On white

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

On black

8.07
#31B75E on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #31B75E
8.07:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##31B75E#FFFFFF#000000##000000
##31B75E1.002.608.078.07
#FFFFFF2.601.0021.0021.00
#0000008.0721.001.001.00
##0000008.0721.001.001.00

Color blindness preview

Protanopia (red-blind)
#B8A757
Deuteranopia (green-blind)
#A89C64
Tritanopia (blue-blind)
#00B4A2
Achromatopsia (no color)
#A0A0A0

Design tokens & code

CSS
--color: #31b75e;
/* rgb */ color: rgb(49, 183, 94);
/* oklch */ color: oklch(68.8% 0.171 150.0);
Tailwind
colors: {
  custom: {
    50: '#7cce8d',
    500: '#31b75e',
    950: '#000000',
  },
}
SCSS
$custom: #31b75e;
$custom-light: #7cce8d;
$custom-dark: #000000;
JSON
{
  "hex": "#31b75e",
  "rgb": {
    "r": 49,
    "g": 183,
    "b": 94
  },
  "hsl": {
    "h": 140.149,
    "s": 57.759,
    "l": 45.49
  },
  "oklch": {
    "l": 0.68839,
    "c": 0.17083,
    "h": 150
  },
  "luminance": 0.35328
}

Semantic roles & 50–950 ramp

primary
#31B75E
secondary
#C87CAE
accent
#47ADE1
background
#F8FCF8
surface
#EFF9F0
border
#CAD2CB
text
#0B140C
muted
#7C827D

Preview Lab

Preview with #31B75E

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

Preview Lab → · Contrast checker → · Palette generator →

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