#31B952#31B952

#31B952 is a light, vivid green. Relative luminance 0.360; OKLCH L 69.2% C 0.184 H 147.3°. Best body text is #000000 at 8.19:1 contrast (WCAG AA passes).

Color values

HEX#31B952
RGBrgb(49, 185, 82)
HSLhsl(135, 58%, 46%)
HSVhsv(135, 74%, 73%)
CMYKcmyk(73.5%, 0%, 55.7%, 27.5%)
CIE-LABlab(66.49, -57.48, 41.61)
CIE-LCHlch(66.49, 70.96, 144.10°)
OKLaboklab(69.19% -0.1547 0.0994)
OKLCHoklch(69.19% 0.184 147.3)
XYZxyz(20.1371, 35.9578, 13.8603)
Luminance0.3596 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#31B952 #B93198
analogous
#54B931 #31B952 #31B996
triadic
#31B952 #5231B9 #B95231
tetradic
#31B952 #3154B9 #B93198 #B99631
square
#31B952 #3154B9 #B93198 #B99631
split-complementary
#31B952 #9631B9 #B93154
monochromatic
#175827 #24893D #31B952 #55D273 #86DF9B

Accessibility & contrast

On white

2.56
#31B952 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.19
#31B952 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #31B952
8.19:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##31B952#FFFFFF#000000##000000
##31B9521.002.568.198.19
#FFFFFF2.561.0021.0021.00
#0000008.1921.001.001.00
##0000008.1921.001.001.00

Color blindness preview

Protanopia (red-blind)
#BBA848
Deuteranopia (green-blind)
#AB9D5A
Tritanopia (blue-blind)
#00B5A2
Achromatopsia (no color)
#A2A2A2

Design tokens & code

CSS
--color: #31b952;
/* rgb */ color: rgb(49, 185, 82);
/* oklch */ color: oklch(69.2% 0.184 147.3);
Tailwind
colors: {
  custom: {
    50: '#7dcf85',
    500: '#31b952',
    950: '#000000',
  },
}
SCSS
$custom: #31b952;
$custom-light: #7dcf85;
$custom-dark: #000000;
JSON
{
  "hex": "#31b952",
  "rgb": {
    "r": 49,
    "g": 185,
    "b": 82
  },
  "hsl": {
    "h": 134.559,
    "s": 58.12,
    "l": 45.882
  },
  "oklch": {
    "l": 0.69192,
    "c": 0.18389,
    "h": 147.3
  },
  "luminance": 0.3596
}

Semantic roles & 50–950 ramp

primary
#31B952
secondary
#C87DB6
accent
#46BCE1
background
#F8FCF8
surface
#EFF9EF
border
#CAD2CA
text
#0B140B
muted
#7C827C

Preview Lab

Preview with #31B952

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

Preview Lab → · Contrast checker → · Palette generator →

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