#31B652#31B652

#31B652 is a light, vivid green. Relative luminance 0.347; OKLCH L 68.4% C 0.180 H 147.5°. Best body text is #000000 at 7.94:1 contrast (WCAG AA passes).

Color values

HEX#31B652
RGBrgb(49, 182, 82)
HSLhsl(135, 58%, 45%)
HSVhsv(135, 73%, 71%)
CMYKcmyk(73.1%, 0%, 54.9%, 28.6%)
CIE-LABlab(65.53, -56.43, 40.46)
CIE-LCHlch(65.53, 69.44, 144.36°)
OKLaboklab(68.4% -0.1519 0.0968)
OKLCHoklch(68.4% 0.18 147.5)
XYZxyz(19.5161, 34.7158, 13.6533)
Luminance0.3472 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#31B652 #B63195
analogous
#53B631 #31B652 #31B694
triadic
#31B652 #5231B6 #B65231
tetradic
#31B652 #3153B6 #B63195 #B69431
square
#31B652 #3153B6 #B63195 #B69431
split-complementary
#31B652 #9431B6 #B63153
monochromatic
#175627 #24863C #31B652 #53D173 #84DE9A

Accessibility & contrast

On white

2.64
#31B652 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.94
#31B652 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #31B652
7.94:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##31B652#FFFFFF#000000##000000
##31B6521.002.647.947.94
#FFFFFF2.641.0021.0021.00
#0000007.9421.001.001.00
##0000007.9421.001.001.00

Color blindness preview

Protanopia (red-blind)
#B8A649
Deuteranopia (green-blind)
#A99B5A
Tritanopia (blue-blind)
#00B2A0
Achromatopsia (no color)
#9F9F9F

Design tokens & code

CSS
--color: #31b652;
/* rgb */ color: rgb(49, 182, 82);
/* oklch */ color: oklch(68.4% 0.180 147.5);
Tailwind
colors: {
  custom: {
    50: '#7dcd85',
    500: '#31b652',
    950: '#000000',
  },
}
SCSS
$custom: #31b652;
$custom-light: #7dcd85;
$custom-dark: #000000;
JSON
{
  "hex": "#31b652",
  "rgb": {
    "r": 49,
    "g": 182,
    "b": 82
  },
  "hsl": {
    "h": 134.887,
    "s": 57.576,
    "l": 45.294
  },
  "oklch": {
    "l": 0.68396,
    "c": 0.18016,
    "h": 147.5
  },
  "luminance": 0.34718
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #31B652

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

Preview Lab → · Contrast checker → · Palette generator →

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