#31B73C#31B73C

#31B73C is a light, vivid green. Relative luminance 0.348; OKLCH L 68.4% C 0.199 H 144.1°. Best body text is #000000 at 7.97:1 contrast (WCAG AA passes).

Color values

HEX#31B73C
RGBrgb(49, 183, 60)
HSLhsl(125, 58%, 45%)
HSVhsv(125, 73%, 72%)
CMYKcmyk(73.2%, 0%, 67.2%, 28.2%)
CIE-LABlab(65.63, -59.41, 50.51)
CIE-LCHlch(65.63, 77.98, 139.63°)
OKLaboklab(68.41% -0.1608 0.1165)
OKLCHoklch(68.41% 0.199 144.1)
XYZxyz(19.0145, 34.8440, 9.9976)
Luminance0.3485 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#31B73C #B731AC
analogous
#69B731 #31B73C #31B77F
triadic
#31B73C #3C31B7 #B73C31
tetradic
#31B73C #3169B7 #B731AC #B77F31
square
#31B73C #3169B7 #B731AC #B77F31
split-complementary
#31B73C #7F31B7 #B73169
monochromatic
#17561C #24872C #31B73C #54D15E #84DE8C

Accessibility & contrast

On white

2.64
#31B73C on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.97
#31B73C on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #31B73C
7.97:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##31B73C#FFFFFF#000000##000000
##31B73C1.002.647.977.97
#FFFFFF2.641.0021.0021.00
#0000007.9721.001.001.00
##0000007.9721.001.001.00

Color blindness preview

Protanopia (red-blind)
#BAA62B
Deuteranopia (green-blind)
#AB9B47
Tritanopia (blue-blind)
#00B29E
Achromatopsia (no color)
#9F9F9F

Design tokens & code

CSS
--color: #31b73c;
/* rgb */ color: rgb(49, 183, 60);
/* oklch */ color: oklch(68.4% 0.199 144.1);
Tailwind
colors: {
  custom: {
    50: '#7ece77',
    500: '#31b73c',
    950: '#000000',
  },
}
SCSS
$custom: #31b73c;
$custom-light: #7ece77;
$custom-dark: #000000;
JSON
{
  "hex": "#31b73c",
  "rgb": {
    "r": 49,
    "g": 183,
    "b": 60
  },
  "hsl": {
    "h": 124.925,
    "s": 57.759,
    "l": 45.49
  },
  "oklch": {
    "l": 0.68408,
    "c": 0.19855,
    "h": 144.1
  },
  "luminance": 0.34846
}

Semantic roles & 50–950 ramp

primary
#31B73C
secondary
#C87CC1
accent
#47D4E1
background
#F8FCF7
surface
#EFF9ED
border
#CAD2C8
text
#0B1409
muted
#7C827B

Preview Lab

Preview with #31B73C

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

Preview Lab → · Contrast checker → · Palette generator →

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