#31C939#31C939

#31C939 is a light, highly saturated green. Relative luminance 0.427; OKLCH L 73.2% C 0.221 H 143.5°. Best body text is #000000 at 9.54:1 contrast (WCAG AA passes).

Color values

HEX#31C939
RGBrgb(49, 201, 57)
HSLhsl(123, 61%, 49%)
HSVhsv(123, 76%, 79%)
CMYKcmyk(75.6%, 0%, 71.6%, 21.2%)
CIE-LABlab(71.36, -65.49, 57.74)
CIE-LCHlch(71.36, 87.30, 138.60°)
OKLaboklab(73.16% -0.1774 0.1313)
OKLCHoklch(73.16% 0.221 143.5)
XYZxyz(22.8903, 42.7190, 10.9093)
Luminance0.4272 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#31C939 #C931C1
analogous
#75C931 #31C939 #31C985
triadic
#31C939 #3931C9 #C93931
tetradic
#31C939 #3175C9 #C931C1 #C98531
square
#31C939 #3175C9 #C931C1 #C98531
split-complementary
#31C939 #8531C9 #C93175
monochromatic
#19671D #25982B #31C939 #5FD866 #90E495

Accessibility & contrast

On white

2.20
#31C939 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

9.54
#31C939 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #31C939
9.54:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##31C939#FFFFFF#000000##000000
##31C9391.002.209.549.54
#FFFFFF2.201.0021.0021.00
#0000009.5421.001.001.00
##0000009.5421.001.001.00

Color blindness preview

Protanopia (red-blind)
#CDB620
Deuteranopia (green-blind)
#BCAA48
Tritanopia (blue-blind)
#00C3AD
Achromatopsia (no color)
#AFAFAF

Design tokens & code

CSS
--color: #31c939;
/* rgb */ color: rgb(49, 201, 57);
/* oklch */ color: oklch(73.2% 0.221 143.5);
Tailwind
colors: {
  custom: {
    50: '#82db78',
    500: '#31c939',
    950: '#000000',
  },
}
SCSS
$custom: #31c939;
$custom-light: #82db78;
$custom-dark: #000000;
JSON
{
  "hex": "#31c939",
  "rgb": {
    "r": 49,
    "g": 201,
    "b": 57
  },
  "hsl": {
    "h": 123.158,
    "s": 60.8,
    "l": 49.02
  },
  "oklch": {
    "l": 0.73164,
    "c": 0.2207,
    "h": 143.5
  },
  "luminance": 0.42722
}

Semantic roles & 50–950 ramp

primary
#31C939
secondary
#CF87CB
accent
#44DCE4
background
#F8FDF7
surface
#F0FBEE
border
#CBD4C9
text
#0C1509
muted
#7D837B

Preview Lab

Preview with #31C939

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

Preview Lab → · Contrast checker → · Palette generator →

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