#31BA3B#31BA3B

#31BA3B is a light, highly saturated green. Relative luminance 0.361; OKLCH L 69.2% C 0.203 H 143.9°. Best body text is #000000 at 8.22:1 contrast (WCAG AA passes).

Color values

HEX#31BA3B
RGBrgb(49, 186, 59)
HSLhsl(124, 58%, 46%)
HSVhsv(124, 74%, 73%)
CMYKcmyk(73.7%, 0%, 68.3%, 27.1%)
CIE-LABlab(66.58, -60.50, 51.95)
CIE-LCHlch(66.58, 79.74, 139.35°)
OKLaboklab(69.2% -0.1638 0.1194)
OKLCHoklch(69.2% 0.203 143.9)
XYZxyz(19.6137, 36.0843, 10.0681)
Luminance0.3609 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#31BA3B #BA31B0
analogous
#6BBA31 #31BA3B #31BA7F
triadic
#31BA3B #3B31BA #BA3B31
tetradic
#31BA3B #316BBA #BA31B0 #BA7F31
square
#31BA3B #316BBA #BA31B0 #BA7F31
split-complementary
#31BA3B #7F31BA #BA316B
monochromatic
#17591C #248A2C #31BA3B #56D25F #86DF8D

Accessibility & contrast

On white

2.56
#31BA3B on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.22
#31BA3B on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #31BA3B
8.22:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##31BA3B#FFFFFF#000000##000000
##31BA3B1.002.568.228.22
#FFFFFF2.561.0021.0021.00
#0000008.2221.001.001.00
##0000008.2221.001.001.00

Color blindness preview

Protanopia (red-blind)
#BEA829
Deuteranopia (green-blind)
#AE9E47
Tritanopia (blue-blind)
#00B5A0
Achromatopsia (no color)
#A2A2A2

Design tokens & code

CSS
--color: #31ba3b;
/* rgb */ color: rgb(49, 186, 59);
/* oklch */ color: oklch(69.2% 0.203 143.9);
Tailwind
colors: {
  custom: {
    50: '#7ed077',
    500: '#31ba3b',
    950: '#000000',
  },
}
SCSS
$custom: #31ba3b;
$custom-light: #7ed077;
$custom-dark: #000000;
JSON
{
  "hex": "#31ba3b",
  "rgb": {
    "r": 49,
    "g": 186,
    "b": 59
  },
  "hsl": {
    "h": 124.38,
    "s": 58.298,
    "l": 46.078
  },
  "oklch": {
    "l": 0.692,
    "c": 0.20268,
    "h": 143.9
  },
  "luminance": 0.36087
}

Semantic roles & 50–950 ramp

primary
#31BA3B
secondary
#C97EC3
accent
#46D6E2
background
#F8FCF7
surface
#F0F9ED
border
#CBD2C8
text
#0C1409
muted
#7D827B

Preview Lab

Preview with #31BA3B

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

Preview Lab → · Contrast checker → · Palette generator →

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