#31B93C#31B93C

#31B93C is a light, highly saturated green. Relative luminance 0.357; OKLCH L 68.9% C 0.201 H 144.0°. Best body text is #000000 at 8.14:1 contrast (WCAG AA passes).

Color values

HEX#31B93C
RGBrgb(49, 185, 60)
HSLhsl(125, 58%, 46%)
HSVhsv(125, 74%, 73%)
CMYKcmyk(73.5%, 0%, 67.6%, 27.5%)
CIE-LABlab(66.27, -60.07, 51.20)
CIE-LCHlch(66.27, 78.93, 139.56°)
OKLaboklab(68.94% -0.1626 0.118)
OKLCHoklch(68.94% 0.201 144)
XYZxyz(19.4299, 35.6749, 10.1360)
Luminance0.3568 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#31B93C #B931AE
analogous
#6AB931 #31B93C #31B980
triadic
#31B93C #3C31B9 #B93C31
tetradic
#31B93C #316AB9 #B931AE #B98031
square
#31B93C #316AB9 #B931AE #B98031
split-complementary
#31B93C #8031B9 #B9316A
monochromatic
#17581D #24892C #31B93C #55D25F #86DF8D

Accessibility & contrast

On white

2.58
#31B93C on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.14
#31B93C on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #31B93C
8.14:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##31B93C#FFFFFF#000000##000000
##31B93C1.002.588.148.14
#FFFFFF2.581.0021.0021.00
#0000008.1421.001.001.00
##0000008.1421.001.001.00

Color blindness preview

Protanopia (red-blind)
#BDA82B
Deuteranopia (green-blind)
#AD9D48
Tritanopia (blue-blind)
#00B4A0
Achromatopsia (no color)
#A1A1A1

Design tokens & code

CSS
--color: #31b93c;
/* rgb */ color: rgb(49, 185, 60);
/* oklch */ color: oklch(68.9% 0.201 144.0);
Tailwind
colors: {
  custom: {
    50: '#7ecf78',
    500: '#31b93c',
    950: '#000000',
  },
}
SCSS
$custom: #31b93c;
$custom-light: #7ecf78;
$custom-dark: #000000;
JSON
{
  "hex": "#31b93c",
  "rgb": {
    "r": 49,
    "g": 185,
    "b": 60
  },
  "hsl": {
    "h": 124.853,
    "s": 58.12,
    "l": 45.882
  },
  "oklch": {
    "l": 0.68942,
    "c": 0.20086,
    "h": 144
  },
  "luminance": 0.35677
}

Semantic roles & 50–950 ramp

primary
#31B93C
secondary
#C87DC2
accent
#46D5E1
background
#F8FCF7
surface
#F0F9EE
border
#CBD2C9
text
#0B1409
muted
#7C827B

Preview Lab

Preview with #31B93C

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

Preview Lab → · Contrast checker → · Palette generator →

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