#31AB48#31AB48

#31AB48 is a light, vivid green. Relative luminance 0.302; OKLCH L 65.3% C 0.175 H 146.3°. Best body text is #000000 at 7.05:1 contrast (WCAG AA passes).

Color values

HEX#31AB48
RGBrgb(49, 171, 72)
HSLhsl(131, 55%, 43%)
HSVhsv(131, 71%, 67%)
CMYKcmyk(71.3%, 0%, 57.9%, 32.9%)
CIE-LABlab(61.86, -53.92, 40.90)
CIE-LCHlch(61.86, 67.68, 142.82°)
OKLaboklab(65.33% -0.1454 0.0971)
OKLCHoklch(65.33% 0.175 146.3)
XYZxyz(16.9980, 30.2448, 11.0716)
Luminance0.3025 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#31AB48 #AB3194
analogous
#57AB31 #31AB48 #31AB85
triadic
#31AB48 #4831AB #AB4831
tetradic
#31AB48 #3157AB #AB3194 #AB8531
square
#31AB48 #3157AB #AB3194 #AB8531
split-complementary
#31AB48 #8531AB #AB3157
monochromatic
#164C20 #237B34 #31AB48 #4DCC65 #7DDA8E

Accessibility & contrast

On white

2.98
#31AB48 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.05
#31AB48 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #31AB48
7.05:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##31AB48#FFFFFF#000000##000000
##31AB481.002.987.057.05
#FFFFFF2.981.0021.0021.00
#0000007.0521.001.001.00
##0000007.0521.001.001.00

Color blindness preview

Protanopia (red-blind)
#AD9C3E
Deuteranopia (green-blind)
#9F9250
Tritanopia (blue-blind)
#00A795
Achromatopsia (no color)
#959595

Design tokens & code

CSS
--color: #31ab48;
/* rgb */ color: rgb(49, 171, 72);
/* oklch */ color: oklch(65.3% 0.175 146.3);
Tailwind
colors: {
  custom: {
    50: '#7ac57e',
    500: '#31ab48',
    950: '#000000',
  },
}
SCSS
$custom: #31ab48;
$custom-light: #7ac57e;
$custom-dark: #000000;
JSON
{
  "hex": "#31ab48",
  "rgb": {
    "r": 49,
    "g": 171,
    "b": 72
  },
  "hsl": {
    "h": 131.311,
    "s": 55.455,
    "l": 43.137
  },
  "oklch": {
    "l": 0.65327,
    "c": 0.17485,
    "h": 146.3
  },
  "luminance": 0.30247
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #31AB48

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

Preview Lab → · Contrast checker → · Palette generator →

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