#31B73A#31B73A

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

Color values

HEX#31B73A
RGBrgb(49, 183, 58)
HSLhsl(124, 58%, 45%)
HSVhsv(124, 73%, 72%)
CMYKcmyk(73.2%, 0%, 68.3%, 28.2%)
CIE-LABlab(65.61, -59.61, 51.31)
CIE-LCHlch(65.61, 78.65, 139.28°)
OKLaboklab(68.39% -0.1614 0.118)
OKLCHoklch(68.39% 0.2 143.8)
XYZxyz(18.9626, 34.8233, 9.7244)
Luminance0.3483 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#31B73A #B731AE
analogous
#6BB731 #31B73A #31B77D
triadic
#31B73A #3A31B7 #B73A31
tetradic
#31B73A #316BB7 #B731AE #B77D31
square
#31B73A #316BB7 #B731AE #B77D31
split-complementary
#31B73A #7D31B7 #B7316B
monochromatic
#17561B #24872B #31B73A #54D15C #84DE8A

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##31B73A#FFFFFF#000000##000000
##31B73A1.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)
#BBA628
Deuteranopia (green-blind)
#AB9B46
Tritanopia (blue-blind)
#00B29E
Achromatopsia (no color)
#9F9F9F

Design tokens & code

CSS
--color: #31b73a;
/* rgb */ color: rgb(49, 183, 58);
/* oklch */ color: oklch(68.4% 0.200 143.8);
Tailwind
colors: {
  custom: {
    50: '#7ece76',
    500: '#31b73a',
    950: '#000000',
  },
}
SCSS
$custom: #31b73a;
$custom-light: #7ece76;
$custom-dark: #000000;
JSON
{
  "hex": "#31b73a",
  "rgb": {
    "r": 49,
    "g": 183,
    "b": 58
  },
  "hsl": {
    "h": 124.03,
    "s": 57.759,
    "l": 45.49
  },
  "oklch": {
    "l": 0.68389,
    "c": 0.19991,
    "h": 143.8
  },
  "luminance": 0.34825
}

Semantic roles & 50–950 ramp

primary
#31B73A
secondary
#C87CC2
accent
#47D7E1
background
#F8FCF7
surface
#F0F9ED
border
#CBD2C8
text
#0B1409
muted
#7C827B

Preview Lab

Preview with #31B73A

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

Preview Lab → · Contrast checker → · Palette generator →

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