#31B75C#31B75C

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

Color values

HEX#31B75C
RGBrgb(49, 183, 92)
HSLhsl(139, 58%, 45%)
HSVhsv(139, 73%, 72%)
CMYKcmyk(73.2%, 0%, 49.7%, 28.2%)
CIE-LABlab(65.97, -55.30, 36.07)
CIE-LCHlch(65.97, 66.02, 146.88°)
OKLaboklab(68.81% -0.1487 0.0876)
OKLCHoklch(68.81% 0.173 149.5)
XYZxyz(20.1302, 35.2903, 15.8739)
Luminance0.3529 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#31B75C #B7318C
analogous
#49B731 #31B75C #31B79F
triadic
#31B75C #5C31B7 #B75C31
tetradic
#31B75C #3149B7 #B7318C #B79F31
square
#31B75C #3149B7 #B7318C #B79F31
split-complementary
#31B75C #9F31B7 #B73149
monochromatic
#17562B #248744 #31B75C #54D17C #84DEA1

Accessibility & contrast

On white

2.61
#31B75C on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.06
#31B75C on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #31B75C
8.06:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##31B75C#FFFFFF#000000##000000
##31B75C1.002.618.068.06
#FFFFFF2.611.0021.0021.00
#0000008.0621.001.001.00
##0000008.0621.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #31b75c;
/* rgb */ color: rgb(49, 183, 92);
/* oklch */ color: oklch(68.8% 0.173 149.5);
Tailwind
colors: {
  custom: {
    50: '#7cce8c',
    500: '#31b75c',
    950: '#000000',
  },
}
SCSS
$custom: #31b75c;
$custom-light: #7cce8c;
$custom-dark: #000000;
JSON
{
  "hex": "#31b75c",
  "rgb": {
    "r": 49,
    "g": 183,
    "b": 92
  },
  "hsl": {
    "h": 139.254,
    "s": 57.759,
    "l": 45.49
  },
  "oklch": {
    "l": 0.68808,
    "c": 0.17263,
    "h": 149.5
  },
  "luminance": 0.35293
}

Semantic roles & 50–950 ramp

primary
#31B75C
secondary
#C87CAF
accent
#47B0E1
background
#F8FCF8
surface
#EFF9F0
border
#CAD2CB
text
#0B140C
muted
#7C827D

Preview Lab

Preview with #31B75C

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

Preview Lab → · Contrast checker → · Palette generator →

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