#31C25F#31C25F

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

Color values

HEX#31C25F
RGBrgb(49, 194, 95)
HSLhsl(139, 60%, 48%)
HSVhsv(139, 75%, 76%)
CMYKcmyk(74.7%, 0%, 51%, 23.9%)
CIE-LABlab(69.51, -58.73, 38.98)
CIE-LCHlch(69.51, 70.48, 146.43°)
OKLaboklab(71.75% -0.1579 0.0943)
OKLCHoklch(71.75% 0.184 149.2)
XYZxyz(22.6221, 40.0601, 17.3644)
Luminance0.4006 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#31C25F #C23194
analogous
#4CC231 #31C25F #31C2A7
triadic
#31C25F #5F31C2 #C25F31
tetradic
#31C25F #314CC2 #C23194 #C2A731
square
#31C25F #314CC2 #C23194 #C2A731
split-complementary
#31C25F #A731C2 #C2314C
monochromatic
#18602F #259147 #31C25F #5BD682 #8CE2A7

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##31C25F#FFFFFF#000000##000000
##31C25F1.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)
#C4B157
Deuteranopia (green-blind)
#B3A566
Tritanopia (blue-blind)
#00BEAB
Achromatopsia (no color)
#AAAAAA

Design tokens & code

CSS
--color: #31c25f;
/* rgb */ color: rgb(49, 194, 95);
/* oklch */ color: oklch(71.7% 0.184 149.2);
Tailwind
colors: {
  custom: {
    50: '#7fd68e',
    500: '#31c25f',
    950: '#000000',
  },
}
SCSS
$custom: #31c25f;
$custom-light: #7fd68e;
$custom-dark: #000000;
JSON
{
  "hex": "#31c25f",
  "rgb": {
    "r": 49,
    "g": 194,
    "b": 95
  },
  "hsl": {
    "h": 139.034,
    "s": 59.671,
    "l": 47.647
  },
  "oklch": {
    "l": 0.71748,
    "c": 0.18389,
    "h": 149.2
  },
  "luminance": 0.40063
}

Semantic roles & 50–950 ramp

primary
#31C25F
secondary
#CC83B5
accent
#45B1E3
background
#F8FDF8
surface
#F0FAF0
border
#CBD3CB
text
#0C140C
muted
#7D837D

Preview Lab

Preview with #31C25F

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

Preview Lab → · Contrast checker → · Palette generator →

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