#31BA59#31BA59

#31BA59 is a light, vivid green. Relative luminance 0.365; OKLCH L 69.6% C 0.179 H 148.6°. Best body text is #000000 at 8.30:1 contrast (WCAG AA passes).

Color values

HEX#31BA59
RGBrgb(49, 186, 89)
HSLhsl(138, 58%, 46%)
HSVhsv(138, 74%, 73%)
CMYKcmyk(73.7%, 0%, 52.2%, 27.1%)
CIE-LABlab(66.89, -56.82, 38.70)
CIE-LCHlch(66.89, 68.75, 145.74°)
OKLaboklab(69.55% -0.1529 0.0934)
OKLCHoklch(69.55% 0.179 148.6)
XYZxyz(20.6271, 36.4897, 15.4054)
Luminance0.3649 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#31BA59 #BA3192
analogous
#4DBA31 #31BA59 #31BA9D
triadic
#31BA59 #5931BA #BA5931
tetradic
#31BA59 #314DBA #BA3192 #BA9D31
square
#31BA59 #314DBA #BA3192 #BA9D31
split-complementary
#31BA59 #9D31BA #BA314D
monochromatic
#17592B #248A42 #31BA59 #56D27A #86DFA0

Accessibility & contrast

On white

2.53
#31BA59 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.30
#31BA59 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #31BA59
8.30:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##31BA59#FFFFFF#000000##000000
##31BA591.002.538.308.30
#FFFFFF2.531.0021.0021.00
#0000008.3021.001.001.00
##0000008.3021.001.001.00

Color blindness preview

Protanopia (red-blind)
#BCAA51
Deuteranopia (green-blind)
#AC9E60
Tritanopia (blue-blind)
#00B6A4
Achromatopsia (no color)
#A3A3A3

Design tokens & code

CSS
--color: #31ba59;
/* rgb */ color: rgb(49, 186, 89);
/* oklch */ color: oklch(69.6% 0.179 148.6);
Tailwind
colors: {
  custom: {
    50: '#7dd08a',
    500: '#31ba59',
    950: '#000000',
  },
}
SCSS
$custom: #31ba59;
$custom-light: #7dd08a;
$custom-dark: #000000;
JSON
{
  "hex": "#31ba59",
  "rgb": {
    "r": 49,
    "g": 186,
    "b": 89
  },
  "hsl": {
    "h": 137.518,
    "s": 58.298,
    "l": 46.078
  },
  "oklch": {
    "l": 0.69554,
    "c": 0.17912,
    "h": 148.6
  },
  "luminance": 0.36492
}

Semantic roles & 50–950 ramp

primary
#31BA59
secondary
#C97EB3
accent
#46B4E2
background
#F8FCF8
surface
#EFF9F0
border
#CAD2CB
text
#0B140C
muted
#7C827D

Preview Lab

Preview with #31BA59

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

Preview Lab → · Contrast checker → · Palette generator →

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