#31C25D#31C25D

#31C25D is a light, vivid green. Relative luminance 0.400; OKLCH L 71.7% C 0.186 H 148.7°. Best body text is #000000 at 9.01:1 contrast (WCAG AA passes).

Color values

HEX#31C25D
RGBrgb(49, 194, 93)
HSLhsl(138, 60%, 48%)
HSVhsv(138, 75%, 76%)
CMYKcmyk(74.7%, 0%, 52.1%, 23.9%)
CIE-LABlab(69.49, -59.03, 39.93)
CIE-LCHlch(69.49, 71.26, 145.93°)
OKLaboklab(71.72% -0.1587 0.0963)
OKLCHoklch(71.72% 0.186 148.7)
XYZxyz(22.5324, 40.0242, 16.8917)
Luminance0.4003 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#31C25D #C23196
analogous
#4DC231 #31C25D #31C2A6
triadic
#31C25D #5D31C2 #C25D31
tetradic
#31C25D #314DC2 #C23196 #C2A631
square
#31C25D #314DC2 #C23196 #C2A631
split-complementary
#31C25D #A631C2 #C2314D
monochromatic
#18602E #259146 #31C25D #5BD680 #8CE2A6

Accessibility & contrast

On white

2.33
#31C25D on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

9.01
#31C25D on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #31C25D
9.01:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##31C25D#FFFFFF#000000##000000
##31C25D1.002.339.019.01
#FFFFFF2.331.0021.0021.00
#0000009.0121.001.001.00
##0000009.0121.001.001.00

Color blindness preview

Protanopia (red-blind)
#C4B154
Deuteranopia (green-blind)
#B3A565
Tritanopia (blue-blind)
#00BEAB
Achromatopsia (no color)
#AAAAAA

Design tokens & code

CSS
--color: #31c25d;
/* rgb */ color: rgb(49, 194, 93);
/* oklch */ color: oklch(71.7% 0.186 148.7);
Tailwind
colors: {
  custom: {
    50: '#7fd68d',
    500: '#31c25d',
    950: '#000000',
  },
}
SCSS
$custom: #31c25d;
$custom-light: #7fd68d;
$custom-dark: #000000;
JSON
{
  "hex": "#31c25d",
  "rgb": {
    "r": 49,
    "g": 194,
    "b": 93
  },
  "hsl": {
    "h": 138.207,
    "s": 59.671,
    "l": 47.647
  },
  "oklch": {
    "l": 0.71718,
    "c": 0.18565,
    "h": 148.7
  },
  "luminance": 0.40027
}

Semantic roles & 50–950 ramp

primary
#31C25D
secondary
#CC83B6
accent
#45B3E3
background
#F8FDF8
surface
#F0FAF0
border
#CBD3CB
text
#0C140C
muted
#7D837D

Preview Lab

Preview with #31C25D

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

Preview Lab → · Contrast checker → · Palette generator →

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