#31C427#31C427

#31C427 is a light, highly saturated green. Relative luminance 0.403; OKLCH L 71.7% C 0.225 H 142.2°. Best body text is #000000 at 9.06:1 contrast (WCAG AA passes).

Color values

HEX#31C427
RGBrgb(49, 196, 39)
HSLhsl(116, 67%, 46%)
HSVhsv(116, 80%, 77%)
CMYKcmyk(75%, 0%, 80.1%, 23.1%)
CIE-LABlab(69.67, -65.21, 62.00)
CIE-LCHlch(69.67, 89.98, 136.44°)
OKLaboklab(71.72% -0.1774 0.1378)
OKLCHoklch(71.72% 0.225 142.2)
XYZxyz(21.3715, 40.2768, 8.5669)
Luminance0.4028 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#31C427 #BA27C4
analogous
#7FC427 #31C427 #27C46B
triadic
#31C427 #2731C4 #C42731
tetradic
#31C427 #277FC4 #BA27C4 #C46B27
square
#31C427 #277FC4 #BA27C4 #C46B27
split-complementary
#31C427 #6B27C4 #C4277F
monochromatic
#175E13 #24911D #31C427 #56DC4D #86E680

Accessibility & contrast

On white

2.32
#31C427 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

9.06
#31C427 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #31C427
9.06:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##31C427#FFFFFF#000000##000000
##31C4271.002.329.069.06
#FFFFFF2.321.0021.0021.00
#0000009.0621.001.001.00
##0000009.0621.001.001.00

Color blindness preview

Protanopia (red-blind)
#C9B100
Deuteranopia (green-blind)
#B8A63A
Tritanopia (blue-blind)
#00BEA7
Achromatopsia (no color)
#AAAAAA

Design tokens & code

CSS
--color: #31c427;
/* rgb */ color: rgb(49, 196, 39);
/* oklch */ color: oklch(71.7% 0.225 142.2);
Tailwind
colors: {
  custom: {
    50: '#82d76f',
    500: '#31c427',
    950: '#000000',
  },
}
SCSS
$custom: #31c427;
$custom-light: #82d76f;
$custom-dark: #000000;
JSON
{
  "hex": "#31c427",
  "rgb": {
    "r": 49,
    "g": 196,
    "b": 39
  },
  "hsl": {
    "h": 116.178,
    "s": 66.809,
    "l": 46.078
  },
  "oklch": {
    "l": 0.7172,
    "c": 0.22469,
    "h": 142.2
  },
  "luminance": 0.40279
}

Semantic roles & 50–950 ramp

primary
#31C427
secondary
#C979CE
accent
#3EEADF
background
#F8FDF7
surface
#F0FAED
border
#CBD3C8
text
#0C1508
muted
#7D837B

Preview Lab

Preview with #31C427

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

Preview Lab → · Contrast checker → · Palette generator →

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