#31B63A#31B63A

#31B63A is a light, vivid green. Relative luminance 0.344; OKLCH L 68.1% C 0.199 H 143.9°. Best body text is #000000 at 7.88:1 contrast (WCAG AA passes).

Color values

HEX#31B63A
RGBrgb(49, 182, 58)
HSLhsl(124, 58%, 45%)
HSVhsv(124, 73%, 71%)
CMYKcmyk(73.1%, 0%, 68.1%, 28.6%)
CIE-LABlab(65.29, -59.28, 50.96)
CIE-LCHlch(65.29, 78.17, 139.31°)
OKLaboklab(68.12% -0.1605 0.1172)
OKLCHoklch(68.12% 0.199 143.9)
XYZxyz(18.7571, 34.4122, 9.6559)
Luminance0.3441 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#31B63A #B631AD
analogous
#6BB631 #31B63A #31B67C
triadic
#31B63A #3A31B6 #B63A31
tetradic
#31B63A #316BB6 #B631AD #B67C31
square
#31B63A #316BB6 #B631AD #B67C31
split-complementary
#31B63A #7C31B6 #B6316B
monochromatic
#17561B #24862B #31B63A #53D15C #84DE8A

Accessibility & contrast

On white

2.66
#31B63A on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.88
#31B63A on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #31B63A
7.88:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##31B63A#FFFFFF#000000##000000
##31B63A1.002.667.887.88
#FFFFFF2.661.0021.0021.00
#0000007.8821.001.001.00
##0000007.8821.001.001.00

Color blindness preview

Protanopia (red-blind)
#BAA529
Deuteranopia (green-blind)
#AA9A46
Tritanopia (blue-blind)
#00B19D
Achromatopsia (no color)
#9E9E9E

Design tokens & code

CSS
--color: #31b63a;
/* rgb */ color: rgb(49, 182, 58);
/* oklch */ color: oklch(68.1% 0.199 143.9);
Tailwind
colors: {
  custom: {
    50: '#7ecd76',
    500: '#31b63a',
    950: '#000000',
  },
}
SCSS
$custom: #31b63a;
$custom-light: #7ecd76;
$custom-dark: #000000;
JSON
{
  "hex": "#31b63a",
  "rgb": {
    "r": 49,
    "g": 182,
    "b": 58
  },
  "hsl": {
    "h": 124.06,
    "s": 57.576,
    "l": 45.294
  },
  "oklch": {
    "l": 0.68122,
    "c": 0.19875,
    "h": 143.9
  },
  "luminance": 0.34414
}

Semantic roles & 50–950 ramp

primary
#31B63A
secondary
#C77CC2
accent
#47D6E1
background
#F8FCF7
surface
#EFF9ED
border
#CAD2C8
text
#0B1409
muted
#7C827B

Preview Lab

Preview with #31B63A

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

Preview Lab → · Contrast checker → · Palette generator →

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