#31C938#31C938

#31C938 is a light, highly saturated green. Relative luminance 0.427; OKLCH L 73.2% C 0.221 H 143.4°. Best body text is #000000 at 9.54:1 contrast (WCAG AA passes).

Color values

HEX#31C938
RGBrgb(49, 201, 56)
HSLhsl(123, 61%, 49%)
HSVhsv(123, 76%, 79%)
CMYKcmyk(75.6%, 0%, 72.1%, 21.2%)
CIE-LABlab(71.36, -65.57, 58.09)
CIE-LCHlch(71.36, 87.60, 138.46°)
OKLaboklab(73.16% -0.1777 0.1319)
OKLCHoklch(73.16% 0.221 143.4)
XYZxyz(22.8656, 42.7091, 10.7792)
Luminance0.4271 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#31C938 #C931C2
analogous
#76C931 #31C938 #31C984
triadic
#31C938 #3831C9 #C93831
tetradic
#31C938 #3176C9 #C931C2 #C98431
square
#31C938 #3176C9 #C931C2 #C98431
split-complementary
#31C938 #8431C9 #C93176
monochromatic
#19671D #25982A #31C938 #5FD865 #90E494

Accessibility & contrast

On white

2.20
#31C938 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

9.54
#31C938 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #31C938
9.54:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##31C938#FFFFFF#000000##000000
##31C9381.002.209.549.54
#FFFFFF2.201.0021.0021.00
#0000009.5421.001.001.00
##0000009.5421.001.001.00

Color blindness preview

Protanopia (red-blind)
#CDB61F
Deuteranopia (green-blind)
#BCAA47
Tritanopia (blue-blind)
#00C3AD
Achromatopsia (no color)
#AFAFAF

Design tokens & code

CSS
--color: #31c938;
/* rgb */ color: rgb(49, 201, 56);
/* oklch */ color: oklch(73.2% 0.221 143.4);
Tailwind
colors: {
  custom: {
    50: '#82db77',
    500: '#31c938',
    950: '#000000',
  },
}
SCSS
$custom: #31c938;
$custom-light: #82db77;
$custom-dark: #000000;
JSON
{
  "hex": "#31c938",
  "rgb": {
    "r": 49,
    "g": 201,
    "b": 56
  },
  "hsl": {
    "h": 122.763,
    "s": 60.8,
    "l": 49.02
  },
  "oklch": {
    "l": 0.73156,
    "c": 0.2213,
    "h": 143.4
  },
  "luminance": 0.42712
}

Semantic roles & 50–950 ramp

primary
#31C938
secondary
#CF87CB
accent
#44DDE4
background
#F8FDF7
surface
#F0FBEE
border
#CBD4C9
text
#0C1509
muted
#7D837B

Preview Lab

Preview with #31C938

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

Preview Lab → · Contrast checker → · Palette generator →

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