#31B93B#31B93B

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

Color values

HEX#31B93B
RGBrgb(49, 185, 59)
HSLhsl(124, 58%, 46%)
HSVhsv(124, 74%, 73%)
CMYKcmyk(73.5%, 0%, 68.1%, 27.5%)
CIE-LABlab(66.26, -60.17, 51.60)
CIE-LCHlch(66.26, 79.27, 139.38°)
OKLaboklab(68.93% -0.1629 0.1187)
OKLCHoklch(68.93% 0.202 143.9)
XYZxyz(19.4037, 35.6645, 9.9981)
Luminance0.3567 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#31B93B #B931AF
analogous
#6BB931 #31B93B #31B97F
triadic
#31B93B #3B31B9 #B93B31
tetradic
#31B93B #316BB9 #B931AF #B97F31
square
#31B93B #316BB9 #B931AF #B97F31
split-complementary
#31B93B #7F31B9 #B9316B
monochromatic
#17581C #24892C #31B93B #55D25E #86DF8C

Accessibility & contrast

On white

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

On black

8.13
#31B93B on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #31B93B
8.13:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##31B93B#FFFFFF#000000##000000
##31B93B1.002.588.138.13
#FFFFFF2.581.0021.0021.00
#0000008.1321.001.001.00
##0000008.1321.001.001.00

Color blindness preview

Protanopia (red-blind)
#BDA829
Deuteranopia (green-blind)
#AD9D47
Tritanopia (blue-blind)
#00B49F
Achromatopsia (no color)
#A1A1A1

Design tokens & code

CSS
--color: #31b93b;
/* rgb */ color: rgb(49, 185, 59);
/* oklch */ color: oklch(68.9% 0.202 143.9);
Tailwind
colors: {
  custom: {
    50: '#7ecf77',
    500: '#31b93b',
    950: '#000000',
  },
}
SCSS
$custom: #31b93b;
$custom-light: #7ecf77;
$custom-dark: #000000;
JSON
{
  "hex": "#31b93b",
  "rgb": {
    "r": 49,
    "g": 185,
    "b": 59
  },
  "hsl": {
    "h": 124.412,
    "s": 58.12,
    "l": 45.882
  },
  "oklch": {
    "l": 0.68933,
    "c": 0.20153,
    "h": 143.9
  },
  "luminance": 0.35667
}

Semantic roles & 50–950 ramp

primary
#31B93B
secondary
#C87DC3
accent
#46D6E1
background
#F8FCF7
surface
#F0F9ED
border
#CBD2C8
text
#0B1409
muted
#7C827B

Preview Lab

Preview with #31B93B

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

Preview Lab → · Contrast checker → · Palette generator →

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