#31BA4F#31BA4F

#31BA4F is a light, vivid green. Relative luminance 0.363; OKLCH L 69.4% C 0.188 H 146.7°. Best body text is #000000 at 8.27:1 contrast (WCAG AA passes).

Color values

HEX#31BA4F
RGBrgb(49, 186, 79)
HSLhsl(133, 58%, 46%)
HSVhsv(133, 74%, 73%)
CMYKcmyk(73.7%, 0%, 57.5%, 27.1%)
CIE-LABlab(66.77, -58.23, 43.37)
CIE-LCHlch(66.77, 72.61, 143.32°)
OKLaboklab(69.42% -0.1568 0.103)
OKLCHoklch(69.42% 0.188 146.7)
XYZxyz(20.2353, 36.3330, 13.3421)
Luminance0.3634 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#31BA4F #BA319C
analogous
#57BA31 #31BA4F #31BA93
triadic
#31BA4F #4F31BA #BA4F31
tetradic
#31BA4F #3157BA #BA319C #BA9331
square
#31BA4F #3157BA #BA319C #BA9331
split-complementary
#31BA4F #9331BA #BA3157
monochromatic
#175926 #248A3A #31BA4F #56D271 #86DF9A

Accessibility & contrast

On white

2.54
#31BA4F on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.27
#31BA4F on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #31BA4F
8.27:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##31BA4F#FFFFFF#000000##000000
##31BA4F1.002.548.278.27
#FFFFFF2.541.0021.0021.00
#0000008.2721.001.001.00
##0000008.2721.001.001.00

Color blindness preview

Protanopia (red-blind)
#BCA944
Deuteranopia (green-blind)
#AD9E58
Tritanopia (blue-blind)
#00B6A2
Achromatopsia (no color)
#A2A2A2

Design tokens & code

CSS
--color: #31ba4f;
/* rgb */ color: rgb(49, 186, 79);
/* oklch */ color: oklch(69.4% 0.188 146.7);
Tailwind
colors: {
  custom: {
    50: '#7ed083',
    500: '#31ba4f',
    950: '#000000',
  },
}
SCSS
$custom: #31ba4f;
$custom-light: #7ed083;
$custom-dark: #000000;
JSON
{
  "hex": "#31ba4f",
  "rgb": {
    "r": 49,
    "g": 186,
    "b": 79
  },
  "hsl": {
    "h": 133.139,
    "s": 58.298,
    "l": 46.078
  },
  "oklch": {
    "l": 0.69417,
    "c": 0.18764,
    "h": 146.7
  },
  "luminance": 0.36335
}

Semantic roles & 50–950 ramp

primary
#31BA4F
secondary
#C97EB8
accent
#46C0E2
background
#F8FCF8
surface
#EFF9EF
border
#CAD2CA
text
#0B140B
muted
#7C827C

Preview Lab

Preview with #31BA4F

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

Preview Lab → · Contrast checker → · Palette generator →

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