#31CA7C#31CA7C

#31CA7C is a light, vivid green. Relative luminance 0.443; OKLCH L 74.3% C 0.168 H 155.4°. Best body text is #000000 at 9.87:1 contrast (WCAG AA passes).

Color values

HEX#31CA7C
RGBrgb(49, 202, 124)
HSLhsl(149, 61%, 49%)
HSVhsv(149, 76%, 79%)
CMYKcmyk(75.7%, 0%, 38.6%, 20.8%)
CIE-LABlab(72.46, -56.62, 28.03)
CIE-LCHlch(72.46, 63.18, 153.66°)
OKLaboklab(74.32% -0.1527 0.07)
OKLCHoklch(74.32% 0.168 155.4)
XYZxyz(26.0227, 44.3462, 26.2531)
Luminance0.4435 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#31CA7C #CA317F
analogous
#32CA31 #31CA7C #31CAC9
triadic
#31CA7C #7C31CA #CA7C31
tetradic
#31CA7C #3132CA #CA317F #CAC931
square
#31CA7C #3132CA #CA317F #CAC931
split-complementary
#31CA7C #C931CA #CA3132
monochromatic
#196740 #25995E #31CA7C #60D89B #91E4BA

Accessibility & contrast

On white

2.13
#31CA7C on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

9.87
#31CA7C on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #31CA7C
9.87:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##31CA7C#FFFFFF#000000##000000
##31CA7C1.002.139.879.87
#FFFFFF2.131.0021.0021.00
#0000009.8721.001.001.00
##0000009.8721.001.001.00

Color blindness preview

Protanopia (red-blind)
#C9B977
Deuteranopia (green-blind)
#B7AD81
Tritanopia (blue-blind)
#00C8B6
Achromatopsia (no color)
#B2B2B2

Design tokens & code

CSS
--color: #31ca7c;
/* rgb */ color: rgb(49, 202, 124);
/* oklch */ color: oklch(74.3% 0.168 155.4);
Tailwind
colors: {
  custom: {
    50: '#80dba2',
    500: '#31ca7c',
    950: '#000000',
  },
}
SCSS
$custom: #31ca7c;
$custom-light: #80dba2;
$custom-dark: #000000;
JSON
{
  "hex": "#31ca7c",
  "rgb": {
    "r": 49,
    "g": 202,
    "b": 124
  },
  "hsl": {
    "h": 149.412,
    "s": 60.956,
    "l": 49.216
  },
  "oklch": {
    "l": 0.74324,
    "c": 0.16801,
    "h": 155.4
  },
  "luminance": 0.44349
}

Semantic roles & 50–950 ramp

primary
#31CA7C
secondary
#CF88AC
accent
#4495E4
background
#F8FDFA
surface
#F0FBF3
border
#CBD4CD
text
#0C150F
muted
#7D837F

Preview Lab

Preview with #31CA7C

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

Preview Lab → · Contrast checker → · Palette generator →

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