#31C25C#31C25C

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

Color values

HEX#31C25C
RGBrgb(49, 194, 92)
HSLhsl(138, 60%, 48%)
HSVhsv(138, 75%, 76%)
CMYKcmyk(74.7%, 0%, 52.6%, 23.9%)
CIE-LABlab(69.47, -59.17, 40.40)
CIE-LCHlch(69.47, 71.65, 145.68°)
OKLaboklab(71.7% -0.1591 0.0973)
OKLCHoklch(71.7% 0.187 148.6)
XYZxyz(22.4884, 40.0066, 16.6600)
Luminance0.4001 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#31C25C #C23197
analogous
#4EC231 #31C25C #31C2A4
triadic
#31C25C #5C31C2 #C25C31
tetradic
#31C25C #314EC2 #C23197 #C2A431
square
#31C25C #314EC2 #C23197 #C2A431
split-complementary
#31C25C #A431C2 #C2314E
monochromatic
#18602E #259145 #31C25C #5BD67F #8CE2A5

Accessibility & contrast

On white

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

On black

9.00
#31C25C on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #31C25C
9.00:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##31C25C#FFFFFF#000000##000000
##31C25C1.002.339.009.00
#FFFFFF2.331.0021.0021.00
#0000009.0021.001.001.00
##0000009.0021.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #31c25c;
/* rgb */ color: rgb(49, 194, 92);
/* oklch */ color: oklch(71.7% 0.187 148.6);
Tailwind
colors: {
  custom: {
    50: '#7fd68c',
    500: '#31c25c',
    950: '#000000',
  },
}
SCSS
$custom: #31c25c;
$custom-light: #7fd68c;
$custom-dark: #000000;
JSON
{
  "hex": "#31c25c",
  "rgb": {
    "r": 49,
    "g": 194,
    "b": 92
  },
  "hsl": {
    "h": 137.793,
    "s": 59.671,
    "l": 47.647
  },
  "oklch": {
    "l": 0.71704,
    "c": 0.18651,
    "h": 148.6
  },
  "luminance": 0.40009
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #31C25C

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

Preview Lab → · Contrast checker → · Palette generator →

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