#31AC51#31AC51

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

Color values

HEX#31AC51
RGBrgb(49, 172, 81)
HSLhsl(136, 56%, 43%)
HSVhsv(136, 72%, 67%)
CMYKcmyk(71.5%, 0%, 52.9%, 32.5%)
CIE-LABlab(62.30, -53.02, 37.03)
CIE-LCHlch(62.30, 64.67, 145.07°)
OKLaboklab(65.72% -0.1428 0.0892)
OKLCHoklch(65.72% 0.168 148)
XYZxyz(17.5030, 30.7501, 12.7959)
Luminance0.3075 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#31AC51 #AC318C
analogous
#4EAC31 #31AC51 #31AC8E
triadic
#31AC51 #5131AC #AC5131
tetradic
#31AC51 #314EAC #AC318C #AC8E31
square
#31AC51 #314EAC #AC318C #AC8E31
split-complementary
#31AC51 #8E31AC #AC314E
monochromatic
#164D24 #237C3B #31AC51 #4ECC6F #7DDA95

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##31AC51#FFFFFF#000000##000000
##31AC511.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)
#AE9D49
Deuteranopia (green-blind)
#9F9358
Tritanopia (blue-blind)
#00A897
Achromatopsia (no color)
#979797

Design tokens & code

CSS
--color: #31ac51;
/* rgb */ color: rgb(49, 172, 81);
/* oklch */ color: oklch(65.7% 0.168 148.0);
Tailwind
colors: {
  custom: {
    50: '#7ac684',
    500: '#31ac51',
    950: '#000000',
  },
}
SCSS
$custom: #31ac51;
$custom-light: #7ac684;
$custom-dark: #000000;
JSON
{
  "hex": "#31ac51",
  "rgb": {
    "r": 49,
    "g": 172,
    "b": 81
  },
  "hsl": {
    "h": 135.61,
    "s": 55.656,
    "l": 43.333
  },
  "oklch": {
    "l": 0.65719,
    "c": 0.16833,
    "h": 148
  },
  "luminance": 0.30752
}

Semantic roles & 50–950 ramp

primary
#31AC51
secondary
#C376AF
accent
#49B8DF
background
#F8FCF8
surface
#EFF8EF
border
#CAD1CA
text
#0B130B
muted
#7C827C

Preview Lab

Preview with #31AC51

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

Preview Lab → · Contrast checker → · Palette generator →

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