#31C237#31C237

#31C237 is a light, highly saturated green. Relative luminance 0.395; OKLCH L 71.3% C 0.214 H 143.4°. Best body text is #000000 at 8.90:1 contrast (WCAG AA passes).

Color values

HEX#31C237
RGBrgb(49, 194, 55)
HSLhsl(122, 60%, 48%)
HSVhsv(122, 75%, 76%)
CMYKcmyk(74.7%, 0%, 71.6%, 23.9%)
CIE-LABlab(69.12, -63.44, 56.16)
CIE-LCHlch(69.12, 84.73, 138.48°)
OKLaboklab(71.3% -0.1719 0.1278)
OKLCHoklch(71.3% 0.214 143.4)
XYZxyz(21.2466, 39.5099, 10.1201)
Luminance0.3951 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#31C237 #C231BC
analogous
#73C231 #31C237 #31C280
triadic
#31C237 #3731C2 #C23731
tetradic
#31C237 #3173C2 #C231BC #C28031
square
#31C237 #3173C2 #C231BC #C28031
split-complementary
#31C237 #8031C2 #C23173
monochromatic
#18601B #259129 #31C237 #5BD660 #8CE28F

Accessibility & contrast

On white

2.36
#31C237 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.90
#31C237 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #31C237
8.90:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##31C237#FFFFFF#000000##000000
##31C2371.002.368.908.90
#FFFFFF2.361.0021.0021.00
#0000008.9021.001.001.00
##0000008.9021.001.001.00

Color blindness preview

Protanopia (red-blind)
#C6B020
Deuteranopia (green-blind)
#B6A445
Tritanopia (blue-blind)
#00BCA7
Achromatopsia (no color)
#A9A9A9

Design tokens & code

CSS
--color: #31c237;
/* rgb */ color: rgb(49, 194, 55);
/* oklch */ color: oklch(71.3% 0.214 143.4);
Tailwind
colors: {
  custom: {
    50: '#80d676',
    500: '#31c237',
    950: '#000000',
  },
}
SCSS
$custom: #31c237;
$custom-light: #80d676;
$custom-dark: #000000;
JSON
{
  "hex": "#31c237",
  "rgb": {
    "r": 49,
    "g": 194,
    "b": 55
  },
  "hsl": {
    "h": 122.483,
    "s": 59.671,
    "l": 47.647
  },
  "oklch": {
    "l": 0.71295,
    "c": 0.21422,
    "h": 143.4
  },
  "luminance": 0.39512
}

Semantic roles & 50–950 ramp

primary
#31C237
secondary
#CC83C9
accent
#45DCE3
background
#F8FDF7
surface
#F0FAED
border
#CBD3C8
text
#0C1409
muted
#7D837B

Preview Lab

Preview with #31C237

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

Preview Lab → · Contrast checker → · Palette generator →

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