#31C652#31C652

#31C652 is a light, vivid green. Relative luminance 0.416; OKLCH L 72.6% C 0.200 H 146.6°. Best body text is #000000 at 9.33:1 contrast (WCAG AA passes).

Color values

HEX#31C652
RGBrgb(49, 198, 82)
HSLhsl(133, 60%, 48%)
HSVhsv(133, 75%, 78%)
CMYKcmyk(75.3%, 0%, 58.6%, 22.4%)
CIE-LABlab(70.63, -61.90, 46.50)
CIE-LCHlch(70.63, 77.42, 143.08°)
OKLaboklab(72.62% -0.1667 0.11)
OKLCHoklch(72.62% 0.2 146.6)
XYZxyz(22.9820, 41.6476, 14.8086)
Luminance0.4165 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#31C652 #C631A5
analogous
#5AC631 #31C652 #31C69C
triadic
#31C652 #5231C6 #C65231
tetradic
#31C652 #315AC6 #C631A5 #C69C31
square
#31C652 #315AC6 #C631A5 #C69C31
split-complementary
#31C652 #9C31C6 #C6315A
monochromatic
#196429 #25953E #31C652 #5DD778 #8EE3A1

Accessibility & contrast

On white

2.25
#31C652 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

9.33
#31C652 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #31C652
9.33:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##31C652#FFFFFF#000000##000000
##31C6521.002.259.339.33
#FFFFFF2.251.0021.0021.00
#0000009.3321.001.001.00
##0000009.3321.001.001.00

Color blindness preview

Protanopia (red-blind)
#C9B446
Deuteranopia (green-blind)
#B8A85B
Tritanopia (blue-blind)
#00C1AD
Achromatopsia (no color)
#ADADAD

Design tokens & code

CSS
--color: #31c652;
/* rgb */ color: rgb(49, 198, 82);
/* oklch */ color: oklch(72.6% 0.200 146.6);
Tailwind
colors: {
  custom: {
    50: '#80d986',
    500: '#31c652',
    950: '#000000',
  },
}
SCSS
$custom: #31c652;
$custom-light: #80d986;
$custom-dark: #000000;
JSON
{
  "hex": "#31c652",
  "rgb": {
    "r": 49,
    "g": 198,
    "b": 82
  },
  "hsl": {
    "h": 133.289,
    "s": 60.324,
    "l": 48.431
  },
  "oklch": {
    "l": 0.72622,
    "c": 0.19972,
    "h": 146.6
  },
  "luminance": 0.4165
}

Semantic roles & 50–950 ramp

primary
#31C652
secondary
#CE85BE
accent
#44C0E3
background
#F8FDF8
surface
#F0FBF0
border
#CBD4CB
text
#0C150B
muted
#7D837C

Preview Lab

Preview with #31C652

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

Preview Lab → · Contrast checker → · Palette generator →

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