#31AC52#31AC52

#31AC52 is a light, vivid green. Relative luminance 0.308; OKLCH L 65.7% C 0.167 H 148.2°. Best body text is #000000 at 7.15:1 contrast (WCAG AA passes).

Color values

HEX#31AC52
RGBrgb(49, 172, 82)
HSLhsl(136, 56%, 43%)
HSVhsv(136, 72%, 67%)
CMYKcmyk(71.5%, 0%, 52.3%, 32.5%)
CIE-LABlab(62.31, -52.87, 36.55)
CIE-LCHlch(62.31, 64.27, 145.35°)
OKLaboklab(65.73% -0.1423 0.0882)
OKLCHoklch(65.73% 0.167 148.2)
XYZxyz(17.5408, 30.7653, 12.9949)
Luminance0.3077 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#31AC52 #AC318B
analogous
#4DAC31 #31AC52 #31AC8F
triadic
#31AC52 #5231AC #AC5231
tetradic
#31AC52 #314DAC #AC318B #AC8F31
square
#31AC52 #314DAC #AC318B #AC8F31
split-complementary
#31AC52 #8F31AC #AC314D
monochromatic
#164D25 #237C3B #31AC52 #4ECC70 #7DDA96

Accessibility & contrast

On white

2.94
#31AC52 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.15
#31AC52 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #31AC52
7.15:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##31AC52#FFFFFF#000000##000000
##31AC521.002.947.157.15
#FFFFFF2.941.0021.0021.00
#0000007.1521.001.001.00
##0000007.1521.001.001.00

Color blindness preview

Protanopia (red-blind)
#AE9D4A
Deuteranopia (green-blind)
#9F9359
Tritanopia (blue-blind)
#00A897
Achromatopsia (no color)
#979797

Design tokens & code

CSS
--color: #31ac52;
/* rgb */ color: rgb(49, 172, 82);
/* oklch */ color: oklch(65.7% 0.167 148.2);
Tailwind
colors: {
  custom: {
    50: '#7ac684',
    500: '#31ac52',
    950: '#000000',
  },
}
SCSS
$custom: #31ac52;
$custom-light: #7ac684;
$custom-dark: #000000;
JSON
{
  "hex": "#31ac52",
  "rgb": {
    "r": 49,
    "g": 172,
    "b": 82
  },
  "hsl": {
    "h": 136.098,
    "s": 55.656,
    "l": 43.333
  },
  "oklch": {
    "l": 0.65734,
    "c": 0.16743,
    "h": 148.2
  },
  "luminance": 0.30767
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #31AC52

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

Preview Lab → · Contrast checker → · Palette generator →

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