#31B852#31B852

#31B852 is a light, vivid green. Relative luminance 0.355; OKLCH L 68.9% C 0.183 H 147.4°. Best body text is #000000 at 8.11:1 contrast (WCAG AA passes).

Color values

HEX#31B852
RGBrgb(49, 184, 82)
HSLhsl(135, 58%, 46%)
HSVhsv(135, 73%, 72%)
CMYKcmyk(73.4%, 0%, 55.4%, 27.8%)
CIE-LABlab(66.17, -57.13, 41.23)
CIE-LCHlch(66.17, 70.45, 144.18°)
OKLaboklab(68.93% -0.1538 0.0985)
OKLCHoklch(68.93% 0.183 147.4)
XYZxyz(19.9286, 35.5409, 13.7908)
Luminance0.3554 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#31B852 #B83197
analogous
#53B831 #31B852 #31B895
triadic
#31B852 #5231B8 #B85231
tetradic
#31B852 #3153B8 #B83197 #B89531
square
#31B852 #3153B8 #B83197 #B89531
split-complementary
#31B852 #9531B8 #B83153
monochromatic
#175727 #24883C #31B852 #55D273 #85DE9B

Accessibility & contrast

On white

2.59
#31B852 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.11
#31B852 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #31B852
8.11:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##31B852#FFFFFF#000000##000000
##31B8521.002.598.118.11
#FFFFFF2.591.0021.0021.00
#0000008.1121.001.001.00
##0000008.1121.001.001.00

Color blindness preview

Protanopia (red-blind)
#BAA748
Deuteranopia (green-blind)
#AA9D5A
Tritanopia (blue-blind)
#00B4A1
Achromatopsia (no color)
#A1A1A1

Design tokens & code

CSS
--color: #31b852;
/* rgb */ color: rgb(49, 184, 82);
/* oklch */ color: oklch(68.9% 0.183 147.4);
Tailwind
colors: {
  custom: {
    50: '#7dce85',
    500: '#31b852',
    950: '#000000',
  },
}
SCSS
$custom: #31b852;
$custom-light: #7dce85;
$custom-dark: #000000;
JSON
{
  "hex": "#31b852",
  "rgb": {
    "r": 49,
    "g": 184,
    "b": 82
  },
  "hsl": {
    "h": 134.667,
    "s": 57.94,
    "l": 45.686
  },
  "oklch": {
    "l": 0.68927,
    "c": 0.18266,
    "h": 147.4
  },
  "luminance": 0.35543
}

Semantic roles & 50–950 ramp

primary
#31B852
secondary
#C87DB6
accent
#47BBE1
background
#F8FCF8
surface
#EFF9EF
border
#CAD2CA
text
#0B140B
muted
#7C827C

Preview Lab

Preview with #31B852

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

Preview Lab → · Contrast checker → · Palette generator →

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