#31B849#31B849

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

Color values

HEX#31B849
RGBrgb(49, 184, 73)
HSLhsl(131, 58%, 46%)
HSVhsv(131, 73%, 72%)
CMYKcmyk(73.4%, 0%, 60.3%, 27.8%)
CIE-LABlab(66.07, -58.30, 45.33)
CIE-LCHlch(66.07, 73.85, 142.13°)
OKLaboklab(68.81% -0.1572 0.1068)
OKLCHoklch(68.81% 0.19 145.8)
XYZxyz(19.6083, 35.4128, 12.1040)
Luminance0.3542 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#31B849 #B831A0
analogous
#5CB831 #31B849 #31B88C
triadic
#31B849 #4931B8 #B84931
tetradic
#31B849 #315CB8 #B831A0 #B88C31
square
#31B849 #315CB8 #B831A0 #B88C31
split-complementary
#31B849 #8C31B8 #B8315C
monochromatic
#175723 #248836 #31B849 #55D26B #85DE95

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##31B849#FFFFFF#000000##000000
##31B8491.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)
#BBA73D
Deuteranopia (green-blind)
#AB9C52
Tritanopia (blue-blind)
#00B3A0
Achromatopsia (no color)
#A1A1A1

Design tokens & code

CSS
--color: #31b849;
/* rgb */ color: rgb(49, 184, 73);
/* oklch */ color: oklch(68.8% 0.190 145.8);
Tailwind
colors: {
  custom: {
    50: '#7dce7f',
    500: '#31b849',
    950: '#000000',
  },
}
SCSS
$custom: #31b849;
$custom-light: #7dce7f;
$custom-dark: #000000;
JSON
{
  "hex": "#31b849",
  "rgb": {
    "r": 49,
    "g": 184,
    "b": 73
  },
  "hsl": {
    "h": 130.667,
    "s": 57.94,
    "l": 45.686
  },
  "oklch": {
    "l": 0.68813,
    "c": 0.19005,
    "h": 145.8
  },
  "luminance": 0.35415
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #31B849

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

Preview Lab → · Contrast checker → · Palette generator →

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