#31AC48#31AC48

#31AC48 is a light, vivid green. Relative luminance 0.306; OKLCH L 65.6% C 0.176 H 146.2°. Best body text is #000000 at 7.13:1 contrast (WCAG AA passes).

Color values

HEX#31AC48
RGBrgb(49, 172, 72)
HSLhsl(131, 56%, 43%)
HSVhsv(131, 72%, 67%)
CMYKcmyk(71.5%, 0%, 58.1%, 32.5%)
CIE-LABlab(62.19, -54.28, 41.28)
CIE-LCHlch(62.19, 68.19, 142.74°)
OKLaboklab(65.6% -0.1464 0.0979)
OKLCHoklch(65.6% 0.176 146.2)
XYZxyz(17.1876, 30.6240, 11.1348)
Luminance0.3063 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#31AC48 #AC3195
analogous
#57AC31 #31AC48 #31AC85
triadic
#31AC48 #4831AC #AC4831
tetradic
#31AC48 #3157AC #AC3195 #AC8531
square
#31AC48 #3157AC #AC3195 #AC8531
split-complementary
#31AC48 #8531AC #AC3157
monochromatic
#164D20 #237C34 #31AC48 #4ECC65 #7DDA8F

Accessibility & contrast

On white

2.95
#31AC48 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.13
#31AC48 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #31AC48
7.13:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##31AC48#FFFFFF#000000##000000
##31AC481.002.957.137.13
#FFFFFF2.951.0021.0021.00
#0000007.1321.001.001.00
##0000007.1321.001.001.00

Color blindness preview

Protanopia (red-blind)
#AE9C3E
Deuteranopia (green-blind)
#A09250
Tritanopia (blue-blind)
#00A896
Achromatopsia (no color)
#969696

Design tokens & code

CSS
--color: #31ac48;
/* rgb */ color: rgb(49, 172, 72);
/* oklch */ color: oklch(65.6% 0.176 146.2);
Tailwind
colors: {
  custom: {
    50: '#7bc67e',
    500: '#31ac48',
    950: '#000000',
  },
}
SCSS
$custom: #31ac48;
$custom-light: #7bc67e;
$custom-dark: #000000;
JSON
{
  "hex": "#31ac48",
  "rgb": {
    "r": 49,
    "g": 172,
    "b": 72
  },
  "hsl": {
    "h": 131.22,
    "s": 55.656,
    "l": 43.333
  },
  "oklch": {
    "l": 0.65595,
    "c": 0.17611,
    "h": 146.2
  },
  "luminance": 0.30626
}

Semantic roles & 50–950 ramp

primary
#31AC48
secondary
#C376B4
accent
#49C3DF
background
#F8FCF7
surface
#EFF8EE
border
#CAD1C9
text
#0B130A
muted
#7C827C

Preview Lab

Preview with #31AC48

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

Preview Lab → · Contrast checker → · Palette generator →

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