#31B846#31B846

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

Color values

HEX#31B846
RGBrgb(49, 184, 70)
HSLhsl(129, 58%, 46%)
HSVhsv(129, 73%, 72%)
CMYKcmyk(73.4%, 0%, 62%, 27.8%)
CIE-LABlab(66.04, -58.66, 46.65)
CIE-LCHlch(66.04, 74.95, 141.51°)
OKLaboklab(68.78% -0.1583 0.1093)
OKLCHoklch(68.78% 0.192 145.4)
XYZxyz(19.5112, 35.3739, 11.5927)
Luminance0.3538 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#31B846 #B831A3
analogous
#60B831 #31B846 #31B889
triadic
#31B846 #4631B8 #B84631
tetradic
#31B846 #3160B8 #B831A3 #B88931
square
#31B846 #3160B8 #B831A3 #B88931
split-complementary
#31B846 #8931B8 #B83160
monochromatic
#175721 #248834 #31B846 #55D268 #85DE93

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##31B846#FFFFFF#000000##000000
##31B8461.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)
#BBA739
Deuteranopia (green-blind)
#AB9C50
Tritanopia (blue-blind)
#00B3A0
Achromatopsia (no color)
#A0A0A0

Design tokens & code

CSS
--color: #31b846;
/* rgb */ color: rgb(49, 184, 70);
/* oklch */ color: oklch(68.8% 0.192 145.4);
Tailwind
colors: {
  custom: {
    50: '#7dce7e',
    500: '#31b846',
    950: '#000000',
  },
}
SCSS
$custom: #31b846;
$custom-light: #7dce7e;
$custom-dark: #000000;
JSON
{
  "hex": "#31b846",
  "rgb": {
    "r": 49,
    "g": 184,
    "b": 70
  },
  "hsl": {
    "h": 129.333,
    "s": 57.94,
    "l": 45.686
  },
  "oklch": {
    "l": 0.68778,
    "c": 0.1924,
    "h": 145.4
  },
  "luminance": 0.35376
}

Semantic roles & 50–950 ramp

primary
#31B846
secondary
#C87DBC
accent
#47C9E1
background
#F8FCF7
surface
#EFF9EE
border
#CAD2C9
text
#0B140A
muted
#7C827C

Preview Lab

Preview with #31B846

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

Preview Lab → · Contrast checker → · Palette generator →

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