#31C935#31C935

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

Color values

HEX#31C935
RGBrgb(49, 201, 53)
HSLhsl(122, 61%, 49%)
HSVhsv(122, 76%, 79%)
CMYKcmyk(75.6%, 0%, 73.6%, 21.2%)
CIE-LABlab(71.34, -65.81, 59.15)
CIE-LCHlch(71.34, 88.48, 138.05°)
OKLaboklab(73.13% -0.1785 0.1338)
OKLCHoklch(73.13% 0.223 143.1)
XYZxyz(22.7944, 42.6806, 10.4043)
Luminance0.4268 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#31C935 #C931C5
analogous
#79C931 #31C935 #31C981
triadic
#31C935 #3531C9 #C93531
tetradic
#31C935 #3179C9 #C931C5 #C98131
square
#31C935 #3179C9 #C931C5 #C98131
split-complementary
#31C935 #8131C9 #C93179
monochromatic
#19671B #259828 #31C935 #5FD862 #90E493

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##31C935#FFFFFF#000000##000000
##31C9351.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)
#CDB618
Deuteranopia (green-blind)
#BCAA45
Tritanopia (blue-blind)
#00C3AC
Achromatopsia (no color)
#AFAFAF

Design tokens & code

CSS
--color: #31c935;
/* rgb */ color: rgb(49, 201, 53);
/* oklch */ color: oklch(73.1% 0.223 143.1);
Tailwind
colors: {
  custom: {
    50: '#82db76',
    500: '#31c935',
    950: '#000000',
  },
}
SCSS
$custom: #31c935;
$custom-light: #82db76;
$custom-dark: #000000;
JSON
{
  "hex": "#31c935",
  "rgb": {
    "r": 49,
    "g": 201,
    "b": 53
  },
  "hsl": {
    "h": 121.579,
    "s": 60.8,
    "l": 49.02
  },
  "oklch": {
    "l": 0.73134,
    "c": 0.22302,
    "h": 143.1
  },
  "luminance": 0.42683
}

Semantic roles & 50–950 ramp

primary
#31C935
secondary
#CF87CD
accent
#44E0E4
background
#F8FDF7
surface
#F0FBED
border
#CBD4C8
text
#0C1509
muted
#7D837B

Preview Lab

Preview with #31C935

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

Preview Lab → · Contrast checker → · Palette generator →

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