#31C948#31C948

#31C948 is a light, highly saturated green. Relative luminance 0.429; OKLCH L 73.3% C 0.211 H 145.1°. Best body text is #000000 at 9.58:1 contrast (WCAG AA passes).

Color values

HEX#31C948
RGBrgb(49, 201, 72)
HSLhsl(129, 61%, 49%)
HSVhsv(129, 76%, 79%)
CMYKcmyk(75.6%, 0%, 64.2%, 21.2%)
CIE-LABlab(71.48, -64.05, 51.90)
CIE-LCHlch(71.48, 82.44, 140.98°)
OKLaboklab(73.3% -0.1729 0.1207)
OKLCHoklch(73.3% 0.211 145.1)
XYZxyz(23.3213, 42.8914, 13.1794)
Luminance0.4289 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#31C948 #C931B2
analogous
#66C931 #31C948 #31C994
triadic
#31C948 #4831C9 #C94831
tetradic
#31C948 #3166C9 #C931B2 #C99431
square
#31C948 #3166C9 #C931B2 #C99431
split-complementary
#31C948 #9431C9 #C93166
monochromatic
#196725 #259836 #31C948 #5FD871 #90E49D

Accessibility & contrast

On white

2.19
#31C948 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

9.58
#31C948 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #31C948
9.58:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##31C948#FFFFFF#000000##000000
##31C9481.002.199.589.58
#FFFFFF2.191.0021.0021.00
#0000009.5821.001.001.00
##0000009.5821.001.001.00

Color blindness preview

Protanopia (red-blind)
#CCB638
Deuteranopia (green-blind)
#BBAA53
Tritanopia (blue-blind)
#00C4AE
Achromatopsia (no color)
#AFAFAF

Design tokens & code

CSS
--color: #31c948;
/* rgb */ color: rgb(49, 201, 72);
/* oklch */ color: oklch(73.3% 0.211 145.1);
Tailwind
colors: {
  custom: {
    50: '#81db80',
    500: '#31c948',
    950: '#000000',
  },
}
SCSS
$custom: #31c948;
$custom-light: #81db80;
$custom-dark: #000000;
JSON
{
  "hex": "#31c948",
  "rgb": {
    "r": 49,
    "g": 201,
    "b": 72
  },
  "hsl": {
    "h": 129.079,
    "s": 60.8,
    "l": 49.02
  },
  "oklch": {
    "l": 0.73299,
    "c": 0.21084,
    "h": 145.1
  },
  "luminance": 0.42894
}

Semantic roles & 50–950 ramp

primary
#31C948
secondary
#CF87C4
accent
#44CCE4
background
#F8FDF8
surface
#F0FBEF
border
#CBD4CA
text
#0C150B
muted
#7D837C

Preview Lab

Preview with #31C948

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

Preview Lab → · Contrast checker → · Palette generator →

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