#31AD52#31AD52

#31AD52 is a light, vivid green. Relative luminance 0.311; OKLCH L 66.0% C 0.169 H 148.1°. Best body text is #000000 at 7.23:1 contrast (WCAG AA passes).

Color values

HEX#31AD52
RGBrgb(49, 173, 82)
HSLhsl(136, 56%, 44%)
HSVhsv(136, 72%, 68%)
CMYKcmyk(71.7%, 0%, 52.6%, 32.2%)
CIE-LABlab(62.63, -53.23, 36.94)
CIE-LCHlch(62.63, 64.79, 145.24°)
OKLaboklab(66% -0.1433 0.089)
OKLCHoklch(66% 0.169 148.1)
XYZxyz(17.7318, 31.1473, 13.0585)
Luminance0.3115 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#31AD52 #AD318C
analogous
#4EAD31 #31AD52 #31AD90
triadic
#31AD52 #5231AD #AD5231
tetradic
#31AD52 #314EAD #AD318C #AD9031
square
#31AD52 #314EAD #AD318C #AD9031
split-complementary
#31AD52 #9031AD #AD314E
monochromatic
#164E25 #237D3B #31AD52 #4ECD70 #7EDA97

Accessibility & contrast

On white

2.90
#31AD52 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.23
#31AD52 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #31AD52
7.23:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##31AD52#FFFFFF#000000##000000
##31AD521.002.907.237.23
#FFFFFF2.901.0021.0021.00
#0000007.2321.001.001.00
##0000007.2321.001.001.00

Color blindness preview

Protanopia (red-blind)
#AF9E4A
Deuteranopia (green-blind)
#A09359
Tritanopia (blue-blind)
#00A998
Achromatopsia (no color)
#979797

Design tokens & code

CSS
--color: #31ad52;
/* rgb */ color: rgb(49, 173, 82);
/* oklch */ color: oklch(66.0% 0.169 148.1);
Tailwind
colors: {
  custom: {
    50: '#7bc684',
    500: '#31ad52',
    950: '#000000',
  },
}
SCSS
$custom: #31ad52;
$custom-light: #7bc684;
$custom-dark: #000000;
JSON
{
  "hex": "#31ad52",
  "rgb": {
    "r": 49,
    "g": 173,
    "b": 82
  },
  "hsl": {
    "h": 135.968,
    "s": 55.856,
    "l": 43.529
  },
  "oklch": {
    "l": 0.66001,
    "c": 0.16873,
    "h": 148.1
  },
  "luminance": 0.31149
}

Semantic roles & 50–950 ramp

primary
#31AD52
secondary
#C377AF
accent
#49B7DF
background
#F8FCF8
surface
#EFF8EF
border
#CAD1CA
text
#0B130B
muted
#7C827C

Preview Lab

Preview with #31AD52

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

Preview Lab → · Contrast checker → · Palette generator →

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