#31C239#31C239

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

Color values

HEX#31C239
RGBrgb(49, 194, 57)
HSLhsl(123, 60%, 48%)
HSVhsv(123, 75%, 76%)
CMYKcmyk(74.7%, 0%, 70.6%, 23.9%)
CIE-LABlab(69.13, -63.27, 55.42)
CIE-LCHlch(69.13, 84.11, 138.78°)
OKLaboklab(71.31% -0.1714 0.1265)
OKLCHoklch(71.31% 0.213 143.6)
XYZxyz(21.2956, 39.5295, 10.3777)
Luminance0.3953 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#31C239 #C231BA
analogous
#72C231 #31C239 #31C281
triadic
#31C239 #3931C2 #C23931
tetradic
#31C239 #3172C2 #C231BA #C28131
square
#31C239 #3172C2 #C231BA #C28131
split-complementary
#31C239 #8131C2 #C23172
monochromatic
#18601C #25912B #31C239 #5BD661 #8CE290

Accessibility & contrast

On white

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

On black

8.91
#31C239 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #31C239
8.91:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##31C239#FFFFFF#000000##000000
##31C2391.002.368.918.91
#FFFFFF2.361.0021.0021.00
#0000008.9121.001.001.00
##0000008.9121.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #31c239;
/* rgb */ color: rgb(49, 194, 57);
/* oklch */ color: oklch(71.3% 0.213 143.6);
Tailwind
colors: {
  custom: {
    50: '#80d677',
    500: '#31c239',
    950: '#000000',
  },
}
SCSS
$custom: #31c239;
$custom-light: #80d677;
$custom-dark: #000000;
JSON
{
  "hex": "#31c239",
  "rgb": {
    "r": 49,
    "g": 194,
    "b": 57
  },
  "hsl": {
    "h": 123.31,
    "s": 59.671,
    "l": 47.647
  },
  "oklch": {
    "l": 0.71311,
    "c": 0.21299,
    "h": 143.6
  },
  "luminance": 0.39532
}

Semantic roles & 50–950 ramp

primary
#31C239
secondary
#CC83C8
accent
#45DAE3
background
#F8FDF7
surface
#F0FAEE
border
#CBD3C9
text
#0C1409
muted
#7D837B

Preview Lab

Preview with #31C239

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

Preview Lab → · Contrast checker → · Palette generator →

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