#31B848#31B848

#31B848 is a light, vivid green. Relative luminance 0.354; OKLCH L 68.8% C 0.191 H 145.7°. Best body text is #000000 at 8.08:1 contrast (WCAG AA passes).

Color values

HEX#31B848
RGBrgb(49, 184, 72)
HSLhsl(130, 58%, 46%)
HSVhsv(130, 73%, 72%)
CMYKcmyk(73.4%, 0%, 60.9%, 27.8%)
CIE-LABlab(66.06, -58.43, 45.78)
CIE-LCHlch(66.06, 74.22, 141.92°)
OKLaboklab(68.8% -0.1576 0.1076)
OKLCHoklch(68.8% 0.191 145.7)
XYZxyz(19.5754, 35.3996, 11.9308)
Luminance0.3540 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#31B848 #B831A1
analogous
#5DB831 #31B848 #31B88B
triadic
#31B848 #4831B8 #B84831
tetradic
#31B848 #315DB8 #B831A1 #B88B31
square
#31B848 #315DB8 #B831A1 #B88B31
split-complementary
#31B848 #8B31B8 #B8315D
monochromatic
#175722 #248835 #31B848 #55D26A #85DE94

Accessibility & contrast

On white

2.60
#31B848 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.08
#31B848 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #31B848
8.08:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##31B848#FFFFFF#000000##000000
##31B8481.002.608.088.08
#FFFFFF2.601.0021.0021.00
#0000008.0821.001.001.00
##0000008.0821.001.001.00

Color blindness preview

Protanopia (red-blind)
#BBA73C
Deuteranopia (green-blind)
#AB9C51
Tritanopia (blue-blind)
#00B3A0
Achromatopsia (no color)
#A1A1A1

Design tokens & code

CSS
--color: #31b848;
/* rgb */ color: rgb(49, 184, 72);
/* oklch */ color: oklch(68.8% 0.191 145.7);
Tailwind
colors: {
  custom: {
    50: '#7dce7f',
    500: '#31b848',
    950: '#000000',
  },
}
SCSS
$custom: #31b848;
$custom-light: #7dce7f;
$custom-dark: #000000;
JSON
{
  "hex": "#31b848",
  "rgb": {
    "r": 49,
    "g": 184,
    "b": 72
  },
  "hsl": {
    "h": 130.222,
    "s": 57.94,
    "l": 45.686
  },
  "oklch": {
    "l": 0.68801,
    "c": 0.19085,
    "h": 145.7
  },
  "luminance": 0.35402
}

Semantic roles & 50–950 ramp

primary
#31B848
secondary
#C87DBB
accent
#47C7E1
background
#F8FCF7
surface
#EFF9EE
border
#CAD2C9
text
#0B140A
muted
#7C827C

Preview Lab

Preview with #31B848

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

Preview Lab → · Contrast checker → · Palette generator →

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