#31BA4D#31BA4D

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

Color values

HEX#31BA4D
RGBrgb(49, 186, 77)
HSLhsl(132, 58%, 46%)
HSVhsv(132, 74%, 73%)
CMYKcmyk(73.7%, 0%, 58.6%, 27.1%)
CIE-LABlab(66.75, -58.48, 44.28)
CIE-LCHlch(66.75, 73.36, 142.87°)
OKLaboklab(69.39% -0.1576 0.1048)
OKLCHoklch(69.39% 0.189 146.4)
XYZxyz(20.1636, 36.3043, 12.9645)
Luminance0.3631 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#31BA4D #BA319E
analogous
#59BA31 #31BA4D #31BA91
triadic
#31BA4D #4D31BA #BA4D31
tetradic
#31BA4D #3159BA #BA319E #BA9131
square
#31BA4D #3159BA #BA319E #BA9131
split-complementary
#31BA4D #9131BA #BA3159
monochromatic
#175925 #248A39 #31BA4D #56D26F #86DF98

Accessibility & contrast

On white

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

On black

8.26
#31BA4D on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #31BA4D
8.26:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##31BA4D#FFFFFF#000000##000000
##31BA4D1.002.548.268.26
#FFFFFF2.541.0021.0021.00
#0000008.2621.001.001.00
##0000008.2621.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #31ba4d;
/* rgb */ color: rgb(49, 186, 77);
/* oklch */ color: oklch(69.4% 0.189 146.4);
Tailwind
colors: {
  custom: {
    50: '#7ed082',
    500: '#31ba4d',
    950: '#000000',
  },
}
SCSS
$custom: #31ba4d;
$custom-light: #7ed082;
$custom-dark: #000000;
JSON
{
  "hex": "#31ba4d",
  "rgb": {
    "r": 49,
    "g": 186,
    "b": 77
  },
  "hsl": {
    "h": 132.263,
    "s": 58.298,
    "l": 46.078
  },
  "oklch": {
    "l": 0.69392,
    "c": 0.18927,
    "h": 146.4
  },
  "luminance": 0.36307
}

Semantic roles & 50–950 ramp

primary
#31BA4D
secondary
#C97EB9
accent
#46C2E2
background
#F8FCF8
surface
#EFF9EF
border
#CAD2CA
text
#0B140B
muted
#7C827C

Preview Lab

Preview with #31BA4D

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

Preview Lab → · Contrast checker → · Palette generator →

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