#31CA78#31CA78

#31CA78 is a light, vivid green. Relative luminance 0.443; OKLCH L 74.2% C 0.172 H 154.2°. Best body text is #000000 at 9.85:1 contrast (WCAG AA passes).

Color values

HEX#31CA78
RGBrgb(49, 202, 120)
HSLhsl(148, 61%, 49%)
HSVhsv(148, 76%, 79%)
CMYKcmyk(75.7%, 0%, 40.6%, 20.8%)
CIE-LABlab(72.39, -57.37, 30.02)
CIE-LCHlch(72.39, 64.75, 152.38°)
OKLaboklab(74.25% -0.1545 0.0746)
OKLCHoklch(74.25% 0.172 154.2)
XYZxyz(25.7749, 44.2470, 24.9478)
Luminance0.4425 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#31CA78 #CA3183
analogous
#37CA31 #31CA78 #31CAC5
triadic
#31CA78 #7831CA #CA7831
tetradic
#31CA78 #3137CA #CA3183 #CAC531
square
#31CA78 #3137CA #CA3183 #CAC531
split-complementary
#31CA78 #C531CA #CA3137
monochromatic
#19673D #25995B #31CA78 #60D898 #91E4B8

Accessibility & contrast

On white

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

On black

9.85
#31CA78 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #31CA78
9.85:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##31CA78#FFFFFF#000000##000000
##31CA781.002.139.859.85
#FFFFFF2.131.0021.0021.00
#0000009.8521.001.001.00
##0000009.8521.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #31ca78;
/* rgb */ color: rgb(49, 202, 120);
/* oklch */ color: oklch(74.2% 0.172 154.2);
Tailwind
colors: {
  custom: {
    50: '#80dba0',
    500: '#31ca78',
    950: '#000000',
  },
}
SCSS
$custom: #31ca78;
$custom-light: #80dba0;
$custom-dark: #000000;
JSON
{
  "hex": "#31ca78",
  "rgb": {
    "r": 49,
    "g": 202,
    "b": 120
  },
  "hsl": {
    "h": 147.843,
    "s": 60.956,
    "l": 49.216
  },
  "oklch": {
    "l": 0.74248,
    "c": 0.17162,
    "h": 154.2
  },
  "luminance": 0.4425
}

Semantic roles & 50–950 ramp

primary
#31CA78
secondary
#CF88AE
accent
#449AE4
background
#F8FDF9
surface
#F0FBF2
border
#CBD4CC
text
#0C150E
muted
#7D837E

Preview Lab

Preview with #31CA78

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

Preview Lab → · Contrast checker → · Palette generator →

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