#31B54C#31B54C

#31B54C is a light, vivid green. Relative luminance 0.342; OKLCH L 68.1% C 0.184 H 146.5°. Best body text is #000000 at 7.84:1 contrast (WCAG AA passes).

Color values

HEX#31B54C
RGBrgb(49, 181, 76)
HSLhsl(132, 57%, 45%)
HSVhsv(132, 73%, 71%)
CMYKcmyk(72.9%, 0%, 58%, 29%)
CIE-LABlab(65.14, -56.90, 42.86)
CIE-LCHlch(65.14, 71.23, 143.01°)
OKLaboklab(68.05% -0.1533 0.1016)
OKLCHoklch(68.05% 0.184 146.5)
XYZxyz(19.0936, 34.2204, 12.4350)
Luminance0.3422 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#31B54C #B5319A
analogous
#58B531 #31B54C #31B58E
triadic
#31B54C #4C31B5 #B54C31
tetradic
#31B54C #3158B5 #B5319A #B58E31
square
#31B54C #3158B5 #B5319A #B58E31
split-complementary
#31B54C #8E31B5 #B53158
monochromatic
#175524 #248538 #31B54C #53D06C #83DD95

Accessibility & contrast

On white

2.68
#31B54C on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.84
#31B54C on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #31B54C
7.84:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##31B54C#FFFFFF#000000##000000
##31B54C1.002.687.847.84
#FFFFFF2.681.0021.0021.00
#0000007.8421.001.001.00
##0000007.8421.001.001.00

Color blindness preview

Protanopia (red-blind)
#B7A542
Deuteranopia (green-blind)
#A89A54
Tritanopia (blue-blind)
#00B19E
Achromatopsia (no color)
#9E9E9E

Design tokens & code

CSS
--color: #31b54c;
/* rgb */ color: rgb(49, 181, 76);
/* oklch */ color: oklch(68.1% 0.184 146.5);
Tailwind
colors: {
  custom: {
    50: '#7dcc81',
    500: '#31b54c',
    950: '#000000',
  },
}
SCSS
$custom: #31b54c;
$custom-light: #7dcc81;
$custom-dark: #000000;
JSON
{
  "hex": "#31b54c",
  "rgb": {
    "r": 49,
    "g": 181,
    "b": 76
  },
  "hsl": {
    "h": 132.273,
    "s": 57.391,
    "l": 45.098
  },
  "oklch": {
    "l": 0.68051,
    "c": 0.18397,
    "h": 146.5
  },
  "luminance": 0.34223
}

Semantic roles & 50–950 ramp

primary
#31B54C
secondary
#C77BB7
accent
#47C1E1
background
#F8FCF8
surface
#EFF9EF
border
#CAD2CA
text
#0B130A
muted
#7C827C

Preview Lab

Preview with #31B54C

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

Preview Lab → · Contrast checker → · Palette generator →

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