#31C428#31C428

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

Color values

HEX#31C428
RGBrgb(49, 196, 40)
HSLhsl(117, 66%, 46%)
HSVhsv(117, 80%, 77%)
CMYKcmyk(75%, 0%, 79.6%, 23.1%)
CIE-LABlab(69.67, -65.15, 61.71)
CIE-LCHlch(69.67, 89.74, 136.55°)
OKLaboklab(71.73% -0.1772 0.1374)
OKLCHoklch(71.73% 0.224 142.2)
XYZxyz(21.3883, 40.2836, 8.6554)
Luminance0.4029 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#31C428 #BB28C4
analogous
#7FC428 #31C428 #28C46D
triadic
#31C428 #2831C4 #C42831
tetradic
#31C428 #287FC4 #BB28C4 #C46D28
square
#31C428 #287FC4 #BB28C4 #C46D28
split-complementary
#31C428 #6D28C4 #C4287F
monochromatic
#185E13 #24911E #31C428 #56DB4E #87E581

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##31C428#FFFFFF#000000##000000
##31C4281.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)
#B8A63B
Tritanopia (blue-blind)
#00BEA7
Achromatopsia (no color)
#AAAAAA

Design tokens & code

CSS
--color: #31c428;
/* rgb */ color: rgb(49, 196, 40);
/* oklch */ color: oklch(71.7% 0.224 142.2);
Tailwind
colors: {
  custom: {
    50: '#82d76f',
    500: '#31c428',
    950: '#000000',
  },
}
SCSS
$custom: #31c428;
$custom-light: #82d76f;
$custom-dark: #000000;
JSON
{
  "hex": "#31c428",
  "rgb": {
    "r": 49,
    "g": 196,
    "b": 40
  },
  "hsl": {
    "h": 116.538,
    "s": 66.102,
    "l": 46.275
  },
  "oklch": {
    "l": 0.71725,
    "c": 0.22424,
    "h": 142.2
  },
  "luminance": 0.40286
}

Semantic roles & 50–950 ramp

primary
#31C428
secondary
#C97ACE
accent
#3FE9DF
background
#F8FDF7
surface
#F0FAED
border
#CBD3C8
text
#0C1508
muted
#7D837B

Preview Lab

Preview with #31C428

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

Preview Lab → · Contrast checker → · Palette generator →

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