#31CA5F#31CA5F

#31CA5F is a light, vivid green. Relative luminance 0.437; OKLCH L 73.8% C 0.194 H 148.5°. Best body text is #000000 at 9.74:1 contrast (WCAG AA passes).

Color values

HEX#31CA5F
RGBrgb(49, 202, 95)
HSLhsl(138, 61%, 49%)
HSVhsv(138, 76%, 79%)
CMYKcmyk(75.7%, 0%, 53%, 20.8%)
CIE-LABlab(72.04, -61.48, 42.08)
CIE-LCHlch(72.04, 74.50, 145.61°)
OKLaboklab(73.84% -0.1653 0.1012)
OKLCHoklch(73.84% 0.194 148.5)
XYZxyz(24.4508, 43.7174, 17.9739)
Luminance0.4372 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#31CA5F #CA319C
analogous
#50CA31 #31CA5F #31CAAC
triadic
#31CA5F #5F31CA #CA5F31
tetradic
#31CA5F #3150CA #CA319C #CAAC31
square
#31CA5F #3150CA #CA319C #CAAC31
split-complementary
#31CA5F #AC31CA #CA3150
monochromatic
#196731 #259948 #31CA5F #60D884 #91E4AA

Accessibility & contrast

On white

2.16
#31CA5F on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

9.74
#31CA5F on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #31CA5F
9.74:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##31CA5F#FFFFFF#000000##000000
##31CA5F1.002.169.749.74
#FFFFFF2.161.0021.0021.00
#0000009.7421.001.001.00
##0000009.7421.001.001.00

Color blindness preview

Protanopia (red-blind)
#CCB855
Deuteranopia (green-blind)
#BAAC67
Tritanopia (blue-blind)
#00C6B2
Achromatopsia (no color)
#B1B1B1

Design tokens & code

CSS
--color: #31ca5f;
/* rgb */ color: rgb(49, 202, 95);
/* oklch */ color: oklch(73.8% 0.194 148.5);
Tailwind
colors: {
  custom: {
    50: '#81db8f',
    500: '#31ca5f',
    950: '#000000',
  },
}
SCSS
$custom: #31ca5f;
$custom-light: #81db8f;
$custom-dark: #000000;
JSON
{
  "hex": "#31ca5f",
  "rgb": {
    "r": 49,
    "g": 202,
    "b": 95
  },
  "hsl": {
    "h": 138.039,
    "s": 60.956,
    "l": 49.216
  },
  "oklch": {
    "l": 0.7384,
    "c": 0.19381,
    "h": 148.5
  },
  "luminance": 0.4372
}

Semantic roles & 50–950 ramp

primary
#31CA5F
secondary
#CF88BA
accent
#44B4E4
background
#F8FDF8
surface
#F0FBF0
border
#CBD4CB
text
#0C150C
muted
#7D837D

Preview Lab

Preview with #31CA5F

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

Preview Lab → · Contrast checker → · Palette generator →

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