#31B83C#31B83C

#31B83C is a light, vivid green. Relative luminance 0.353; OKLCH L 68.7% C 0.200 H 144.1°. Best body text is #000000 at 8.05:1 contrast (WCAG AA passes).

Color values

HEX#31B83C
RGBrgb(49, 184, 60)
HSLhsl(125, 58%, 46%)
HSVhsv(125, 73%, 72%)
CMYKcmyk(73.4%, 0%, 67.4%, 27.8%)
CIE-LABlab(65.95, -59.74, 50.86)
CIE-LCHlch(65.95, 78.46, 139.59°)
OKLaboklab(68.68% -0.1617 0.1172)
OKLCHoklch(68.68% 0.2 144.1)
XYZxyz(19.2215, 35.2580, 10.0666)
Luminance0.3526 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#31B83C #B831AD
analogous
#69B831 #31B83C #31B87F
triadic
#31B83C #3C31B8 #B83C31
tetradic
#31B83C #3169B8 #B831AD #B87F31
square
#31B83C #3169B8 #B831AD #B87F31
split-complementary
#31B83C #7F31B8 #B83169
monochromatic
#17571C #24882C #31B83C #55D25F #85DE8C

Accessibility & contrast

On white

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

On black

8.05
#31B83C on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #31B83C
8.05:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##31B83C#FFFFFF#000000##000000
##31B83C1.002.618.058.05
#FFFFFF2.611.0021.0021.00
#0000008.0521.001.001.00
##0000008.0521.001.001.00

Color blindness preview

Protanopia (red-blind)
#BCA72B
Deuteranopia (green-blind)
#AC9C48
Tritanopia (blue-blind)
#00B39F
Achromatopsia (no color)
#A0A0A0

Design tokens & code

CSS
--color: #31b83c;
/* rgb */ color: rgb(49, 184, 60);
/* oklch */ color: oklch(68.7% 0.200 144.1);
Tailwind
colors: {
  custom: {
    50: '#7ece78',
    500: '#31b83c',
    950: '#000000',
  },
}
SCSS
$custom: #31b83c;
$custom-light: #7ece78;
$custom-dark: #000000;
JSON
{
  "hex": "#31b83c",
  "rgb": {
    "r": 49,
    "g": 184,
    "b": 60
  },
  "hsl": {
    "h": 124.889,
    "s": 57.94,
    "l": 45.686
  },
  "oklch": {
    "l": 0.68675,
    "c": 0.1997,
    "h": 144.1
  },
  "luminance": 0.3526
}

Semantic roles & 50–950 ramp

primary
#31B83C
secondary
#C87DC2
accent
#47D5E1
background
#F8FCF7
surface
#F0F9ED
border
#CBD2C8
text
#0B1409
muted
#7C827B

Preview Lab

Preview with #31B83C

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

Preview Lab → · Contrast checker → · Palette generator →

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