#31B843#31B843

#31B843 is a light, vivid green. Relative luminance 0.353; OKLCH L 68.7% C 0.195 H 144.9°. Best body text is #000000 at 8.07:1 contrast (WCAG AA passes).

Color values

HEX#31B843
RGBrgb(49, 184, 67)
HSLhsl(128, 58%, 46%)
HSVhsv(128, 73%, 72%)
CMYKcmyk(73.4%, 0%, 63.6%, 27.8%)
CIE-LABlab(66.01, -59.01, 47.95)
CIE-LCHlch(66.01, 76.03, 140.90°)
OKLaboklab(68.75% -0.1594 0.1118)
OKLCHoklch(68.75% 0.195 144.9)
XYZxyz(19.4189, 35.3370, 11.1064)
Luminance0.3534 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#31B843 #B831A6
analogous
#62B831 #31B843 #31B886
triadic
#31B843 #4331B8 #B84331
tetradic
#31B843 #3162B8 #B831A6 #B88631
square
#31B843 #3162B8 #B831A6 #B88631
split-complementary
#31B843 #8631B8 #B83162
monochromatic
#175720 #248831 #31B843 #55D265 #85DE91

Accessibility & contrast

On white

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

On black

8.07
#31B843 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #31B843
8.07:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##31B843#FFFFFF#000000##000000
##31B8431.002.608.078.07
#FFFFFF2.601.0021.0021.00
#0000008.0721.001.001.00
##0000008.0721.001.001.00

Color blindness preview

Protanopia (red-blind)
#BBA735
Deuteranopia (green-blind)
#AC9C4D
Tritanopia (blue-blind)
#00B39F
Achromatopsia (no color)
#A0A0A0

Design tokens & code

CSS
--color: #31b843;
/* rgb */ color: rgb(49, 184, 67);
/* oklch */ color: oklch(68.7% 0.195 144.9);
Tailwind
colors: {
  custom: {
    50: '#7ece7c',
    500: '#31b843',
    950: '#000000',
  },
}
SCSS
$custom: #31b843;
$custom-light: #7ece7c;
$custom-dark: #000000;
JSON
{
  "hex": "#31b843",
  "rgb": {
    "r": 49,
    "g": 184,
    "b": 67
  },
  "hsl": {
    "h": 128,
    "s": 57.94,
    "l": 45.686
  },
  "oklch": {
    "l": 0.68745,
    "c": 0.19468,
    "h": 144.9
  },
  "luminance": 0.35339
}

Semantic roles & 50–950 ramp

primary
#31B843
secondary
#C87DBE
accent
#47CDE1
background
#F8FCF7
surface
#EFF9EE
border
#CAD2C9
text
#0B140A
muted
#7C827C

Preview Lab

Preview with #31B843

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

Preview Lab → · Contrast checker → · Palette generator →

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