#31AC59#31AC59

#31AC59 is a light, vivid green. Relative luminance 0.309; OKLCH L 65.8% C 0.161 H 149.9°. Best body text is #000000 at 7.18:1 contrast (WCAG AA passes).

Color values

HEX#31AC59
RGBrgb(49, 172, 89)
HSLhsl(140, 56%, 43%)
HSVhsv(140, 72%, 67%)
CMYKcmyk(71.5%, 0%, 48.3%, 32.5%)
CIE-LABlab(62.40, -51.77, 33.12)
CIE-LCHlch(62.40, 61.46, 147.39°)
OKLaboklab(65.84% -0.1393 0.0808)
OKLCHoklch(65.84% 0.161 149.9)
XYZxyz(17.8209, 30.8773, 14.4700)
Luminance0.3088 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#31AC59 #AC3184
analogous
#46AC31 #31AC59 #31AC96
triadic
#31AC59 #5931AC #AC5931
tetradic
#31AC59 #3146AC #AC3184 #AC9631
square
#31AC59 #3146AC #AC3184 #AC9631
split-complementary
#31AC59 #9631AC #AC3146
monochromatic
#164D28 #237C40 #31AC59 #4ECC77 #7DDA9B

Accessibility & contrast

On white

2.93
#31AC59 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.18
#31AC59 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #31AC59
7.18:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##31AC59#FFFFFF#000000##000000
##31AC591.002.937.187.18
#FFFFFF2.931.0021.0021.00
#0000007.1821.001.001.00
##0000007.1821.001.001.00

Color blindness preview

Protanopia (red-blind)
#AD9D52
Deuteranopia (green-blind)
#9E935F
Tritanopia (blue-blind)
#00A998
Achromatopsia (no color)
#979797

Design tokens & code

CSS
--color: #31ac59;
/* rgb */ color: rgb(49, 172, 89);
/* oklch */ color: oklch(65.8% 0.161 149.9);
Tailwind
colors: {
  custom: {
    50: '#7ac689',
    500: '#31ac59',
    950: '#000000',
  },
}
SCSS
$custom: #31ac59;
$custom-light: #7ac689;
$custom-dark: #000000;
JSON
{
  "hex": "#31ac59",
  "rgb": {
    "r": 49,
    "g": 172,
    "b": 89
  },
  "hsl": {
    "h": 139.512,
    "s": 55.656,
    "l": 43.333
  },
  "oklch": {
    "l": 0.65843,
    "c": 0.16108,
    "h": 149.9
  },
  "luminance": 0.30879
}

Semantic roles & 50–950 ramp

primary
#31AC59
secondary
#C376AA
accent
#49AEDF
background
#F8FCF8
surface
#EFF8F0
border
#CAD1CB
text
#0A130C
muted
#7C827D

Preview Lab

Preview with #31AC59

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

Preview Lab → · Contrast checker → · Palette generator →

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