#31B54F#31B54F

#31B54F is a light, vivid green. Relative luminance 0.343; OKLCH L 68.1% C 0.181 H 147.0°. Best body text is #000000 at 7.85:1 contrast (WCAG AA passes).

Color values

HEX#31B54F
RGBrgb(49, 181, 79)
HSLhsl(134, 57%, 45%)
HSVhsv(134, 73%, 71%)
CMYKcmyk(72.9%, 0%, 56.4%, 29%)
CIE-LABlab(65.17, -56.50, 41.47)
CIE-LCHlch(65.17, 70.09, 143.72°)
OKLaboklab(68.09% -0.1522 0.0988)
OKLCHoklch(68.09% 0.181 147)
XYZxyz(19.2004, 34.2630, 12.9972)
Luminance0.3427 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#31B54F #B53197
analogous
#55B531 #31B54F #31B591
triadic
#31B54F #4F31B5 #B54F31
tetradic
#31B54F #3155B5 #B53197 #B59131
square
#31B54F #3155B5 #B53197 #B59131
split-complementary
#31B54F #9131B5 #B53155
monochromatic
#175525 #24853A #31B54F #53D06F #83DD98

Accessibility & contrast

On white

2.67
#31B54F on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.85
#31B54F on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #31B54F
7.85:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##31B54F#FFFFFF#000000##000000
##31B54F1.002.677.857.85
#FFFFFF2.671.0021.0021.00
#0000007.8521.001.001.00
##0000007.8521.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #31b54f;
/* rgb */ color: rgb(49, 181, 79);
/* oklch */ color: oklch(68.1% 0.181 147.0);
Tailwind
colors: {
  custom: {
    50: '#7ccc83',
    500: '#31b54f',
    950: '#000000',
  },
}
SCSS
$custom: #31b54f;
$custom-light: #7ccc83;
$custom-dark: #000000;
JSON
{
  "hex": "#31b54f",
  "rgb": {
    "r": 49,
    "g": 181,
    "b": 79
  },
  "hsl": {
    "h": 133.636,
    "s": 57.391,
    "l": 45.098
  },
  "oklch": {
    "l": 0.6809,
    "c": 0.18146,
    "h": 147
  },
  "luminance": 0.34265
}

Semantic roles & 50–950 ramp

primary
#31B54F
secondary
#C77BB6
accent
#47BEE1
background
#F8FCF8
surface
#EFF9EF
border
#CAD2CA
text
#0B130B
muted
#7C827C

Preview Lab

Preview with #31B54F

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

Preview Lab → · Contrast checker → · Palette generator →

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